chitta brain architecture
Persistent Memory Architecture for Claude Code
Watch ideas flow through the mind — ● inbound ● inter-module
Hierarchical Memory
3-tier system: SSL wisdom → Episodes → Full turns
9.2K memories
SSL v0.2
RLM Exploration
Recursive Language Model REPL for dynamic memory navigation
soul.*
sandbox
VakYantra
ONNX embedder with HNSW vector search
768-dim
~5ms
Knowledge Graph
DuckPGQ graph queries with 500K+ relationships
502K edges
PGQL
Code Intelligence
Tree-sitter symbols with call graphs & semantic search
1.3K symbols
BM25
Sadhana Agents
Autonomous sense-think-act loops with persistent goals
haiku/opus
async
Hook System
Session, prompt, tool, and stop event handlers
6 hooks
<80ms
Theme Manager
Auto-clustering & thematic organization of memories
HDBSCAN
auto
Anticipation
Predict user actions & pre-load relevant context
calibrated
gated
Narrative Engine
Track work mode, momentum, and session continuity
modes
ledger
Live Mind Activation