Akashic Records is the unified memory layer for the Knox agent stack. Semantic search across all operational knowledge — trading KB, project docs, lessons, Claude Code memories, daily logs — served through 10 MCP tools and a REST API. 414 tests, 92% coverage. Every agent session starts with mind_context — assembled, ranked, role-filtered memory in a single call.
Stack: FastAPI + ChromaDB (cosine similarity) + sentence-transformers (all-MiniLM-L6-v2, 384-dim) + SQLite (sessions, events). Four memory types: episodic (things that happened), semantic (facts and knowledge), procedural (rules and processes), working (TTL-expiry short-term context). Deterministic memory IDs using content+category+author+namespace hash — no duplicates, ever.
Six shipped phases: Write path → Governance/validator → Lifecycle/consolidator → Context assembly → Thoth bidirectional sync → Multi-agent namespaces. Production hardening includes SQLite WAL mode, path traversal guards on Thoth write-back, reindex concurrency locks, event type validation, and Docker path remapping. The consolidator runs nightly: merges fragmented episodic memories, promotes high-access working → semantic, expires TTL'd working memories, archives 90-day zero-access entries.
10 MCP tools: mind_query, mind_remember, mind_recall, mind_forget, mind_context, mind_status, mind_reindex, mind_gaps, mind_namespaces, mind_events. Gap detector currently shows 33 repos indexed, 48.5% coverage — Thoth is filling that gap every day.
