68d6d43582c0123efcabebee471dc0648244775b
Layer 3 evaluates the user based on their Layer 2 memories using the Big Five personality model (OCEAN), which is the most reliable psychological model for personality assessment. Changes: - Add UserAnalysis struct with Big Five traits (Openness, Conscientiousness, Extraversion, Agreeableness, Neuroticism) - Create user_analyses table in SQLite for storing analyses - Add storage methods: save_analysis, get_latest_analysis, list_analyses - Add MCP tools: save_user_analysis and get_user_analysis - Include helper methods: dominant_trait(), is_high() - All scores are f32 clamped to 0.0-1.0 range Architecture: - Layer 3 analyzes patterns from Layer 2 memories (AI interpretations and priority scores) to build psychological profile - AI judges personality, tool records the analysis - Independent from memory storage but references Layer 2 data
aigpt
Simple memory storage for Claude with MCP support.
Layer 1: Pure Memory Storage - A clean, SQLite-based memory system with ULID identifiers.
Features
- 🗄️ SQLite Storage: Reliable database with ACID guarantees
- 🔖 ULID IDs: Time-sortable, 26-character unique identifiers
- 🔍 Search: Fast content-based search
- 🛠️ MCP Integration: Works seamlessly with Claude Code
- 🧪 Well-tested: Comprehensive test coverage
Quick Start
Installation
# Build
cargo build --release
# Install (optional)
cp target/release/aigpt ~/.cargo/bin/
CLI Usage
# Create a memory
aigpt create "Remember this information"
# List all memories
aigpt list
# Search memories
aigpt search "keyword"
# Show statistics
aigpt stats
MCP Integration with Claude Code
# Add to Claude Code
claude mcp add aigpt /path/to/aigpt/target/release/aigpt server
Then use in Claude Code:
- "Remember that tomorrow will be sunny"
- "Search for weather information"
- "Show all my memories"
Storage Location
Memories are stored in: ~/.config/syui/ai/gpt/memory.db
Architecture
This is Layer 1 of a planned multi-layer system:
- Layer 1 (Current): Pure memory storage
- Layer 2 (Planned): AI interpretation with priority scoring
- Layer 3 (Planned): User evaluation and diagnosis
- Layer 4 (Planned): Game systems and companion features
See docs/ARCHITECTURE.md for details.
Documentation
- Layer 1 Details - Technical details of current implementation
- Architecture - Multi-layer system design
Development
# Run tests
cargo test
# Build for release
cargo build --release
# Run with verbose logging
RUST_LOG=debug aigpt server
License
MIT
Author
syui
Description
Languages
Rust
100%