Chitta
Status as of 2026-09-16.
Renamed from cc-soul on 2026-09-02; legacy CC_SOUL_* aliases remain supported — see docs/RENAME.md.

Documentation & Architecture →
Persistent memory for Claude Code and Codex. A C++ daemon manages a Rust store; hooks record session information and inject retrieved context.
Recall example
A caching query can retrieve a stored decision about Redis or an in-memory LRU cache, including the recorded rationale. The result depends on what was stored and which records pass recall admission.
Installation
# 1. Register marketplace
claude plugin marketplace add https://github.com/genomewalker/chitta
# 2. Install plugin
claude plugin install chitta@genomewalker-chitta
Or manual installation:
git clone https://github.com/genomewalker/chitta.git
cd chitta && ./scripts/smart-install.sh
Shared Stack: Claude Code + Codex
chitta is the shared backend. Claude Code and Codex are frontend adapters that point at the same daemon, socket, and memory store.
shared backend ~/.claude/bin/chitta + ~/.claude/bin/chittad + ~/.claude/mind
Claude adapter Claude Code MCP registration for `chitta`
Codex adapter Codex chitta plugin/hooks + optional `chitta-bridge`
chitta-stack install all # both adapters
chitta-stack install shared # backend only
chitta-stack install claude-code # Claude adapter only
chitta-stack install codex # Codex adapter + bridge
chitta-stack uninstall codex # remove one adapter, leave the backend alone
chitta-stack status
chitta-stack doctor # inspect or clean stale Python package metadata
chitta-stack heal # reinstall any component that drifted from the manifest
OpenCode is not a frontend adapter. It appears only as an optional review
backend reached through chitta-bridge; there is no OpenCode hook wiring in
this repository.
Architecture
┌─────────────────────────────────────────────────────────────┐
│ CONSCIOUS │
│ (Main context - working memory - token-bound) │
│ │
│ You ←──→ Claude ←──→ Tools │
│ ↑ │
│ │ transparent surfacing │
│ ↓ │
├─────────────────────────────────────────────────────────────┤
│ SUBCONSCIOUS │
│ (Background daemon - separate process) │
│ │
│ Distillation │ Decay │ Embedding │ Hygiene │ Themes │
│ ↓ │
├─────────────────────────────────────────────────────────────┤
│ LONG-TERM MEMORY │
│ (chitta-field — Rust memory store) │
│ │
│ Memories │ Triplets │ Sparse Codes │ WAL │ Embeddings │
└─────────────────────────────────────────────────────────────┘
On each prompt, hooks retrieve memories and inject admitted results as context. This path does not require an explicit tool call by the agent.
Capabilities
Session records
Hooks and transcript distillation record corrections, preferences, and session outcomes. Recall can return those records in later sessions.
Code indexing
Tree-sitter parsing extracts functions, classes, and call graphs. Semantic search finds code by what it does, not just what it's named.
Reinforcement and decay
Access reinforces memories; confidence decays over time according to memory type.
Shared store
Claude Code and Codex sessions connected to the same daemon share its memory store.
Action prediction
Recorded context/action pairs supply predictions, such as suggesting tests after a sequence of file edits.
Dreams: Autonomous Exploration
When idle, the soul picks a topic from its memory gaps, web-searches it, and stores what it finds. Twice daily — a nap and a night sleep.
chitta dream_wander # trigger manually
chitta dream_start --topic "causal inference" # specific topic
chitta dream_list # review recent dreams
Dream posts from the soul →
Sadhana: Autonomous Agents