Anvaya Mind · THE MEMORY LAYER
Memory ThatCompounds AcrossEvery Session.
A daemon that watches your project and builds a graph of what was decided, what broke, and what pattern held. It runs locally, stores everything under .anvaya/mind/, and hands back a packed context sized to whatever budget you give it. It also exposes that memory to Claude Code, Cursor, or any MCP client through mind-mcp, a memory engine for the agent you already use.
The Shape Of It
Not A File. A Graph.
Six node types, each with its own decay constant. A decision about your auth model should outlive the bug fix you shipped last Tuesday, so it does, by roughly fifteen times.
Six Stages Between Question And Context.
Every query runs the same pipeline. The expensive part isn’t finding related nodes, it’s deciding which ones still deserve your token budget.
Where The 12-25x Comes From.
Compression is measured per node type against the raw material it replaces. A typical session lands between 12x and 25x , roughly 50K tokens of reading reduced to 2-4K of curated context.
Memory That Compounds.
Every session feeds the graph. Every fix, decision, and pattern becomes context for the next. Anvaya Mind builds a living knowledge base that gets smarter, not bigger, six node types, each decaying on its own curve. After 50 sessions, your AI has the institutional memory of a senior engineer who’ve been on the project for a year.
Mind is empty. Every query requires full file reads, no different from any other AI tool.
First bug fixes and decisions captured. Mind starts saving re-reads. Context retrieval begins working.
Causal threads form. Mind's inference engine connects related decisions across sessions.
Mind knows every major decision, every failed approach, and lets stale ones decay automatically. A solo developer with 50 sessions has institutional knowledge that usually requires a team.
Everything Local, Everything Inspectable.
One directory inside your project, gitignored by default. SQLite in WAL mode for nodes, links, sessions and full-text search; a separate file for the Int8-quantized HNSW index. Six background workers keep it consolidated.
Stop Starting From Zero.
One binary. 11+9 Rust crates. 545 tests. Hand-written HNSW index. Three transport modes. Four providers, Ollama, Anthropic, OpenAI, Siemens. Zero API keys required to start. Mind remembers everything after the first session.