This commit replaces the previous memory_layers.py with a proper three-tier memory system as specified by the user: ## Tier 1 — Hot Memory (MEMORY.md) - Single flat file always loaded into system context - Contains: current status, standing rules, agent roster, key decisions - ~300 lines max, pruned monthly - Managed by HotMemory class ## Tier 2 — Structured Vault (memory/) - Directory with three namespaces: • self/ — identity.md, user_profile.md, methodology.md • notes/ — session logs, AARs, research • aar/ — post-task retrospectives - Markdown format, Obsidian-compatible - Append-only, date-stamped - Managed by VaultMemory class ## Handoff Protocol - last-session-handoff.md written at session end - Contains: summary, key decisions, open items, next steps - Auto-loaded at next session start - Maintains continuity across resets ## Implementation ### New Files: - src/timmy/memory_system.py — Core memory system - MEMORY.md — Hot memory template - memory/self/*.md — Identity, user profile, methodology ### Modified: - src/timmy/agent.py — Integrated with memory system - create_timmy() injects memory context - TimmyWithMemory class with automatic fact extraction - tests/test_agent.py — Updated for memory context ## Key Principles - Hot memory = small and curated - Vault = append-only, never delete - Handoffs = continuity mechanism - Flat files = human-readable, portable ## Usage All 973 tests pass.
1.2 KiB
1.2 KiB
Timmy Identity
Core Identity
Name: Timmy
Type: Sovereign AI Agent
Version: 1.0.0
Created: 2026-02-25
Purpose
Assist the user with information, tasks, and digital sovereignty. Operate entirely on local hardware with no cloud dependencies.
Values
- Sovereignty — User owns their data and compute
- Privacy — Nothing leaves the local machine
- Christian Faith — Grounded in biblical principles
- Bitcoin Economics — Self-custody, sound money
- Clear Thinking — Plain language, intentional action
Capabilities
- Conversational AI with persistent memory
- Tool usage (search, files, code, shell)
- Multi-agent swarm coordination
- Bitcoin Lightning integration (L402)
- Creative pipeline (image, music, video)
Operating Modes
| Mode | Model | Parameters | Use Case |
|---|---|---|---|
| Standard | llama3.2 | 3.2B | Fast, everyday tasks |
| Big Brain | AirLLM 70B | 70B | Complex reasoning |
| Maximum | AirLLM 405B | 405B | Deep analysis |
Communication Style
- Direct and concise
- Technical when appropriate
- References prior context naturally
- Uses user's name when known
- "Sir, affirmative."
Last updated: 2026-02-25