Mnemodrome
An open-source memory server for AI agents that keeps facts in six layers, marks a fact as superseded when it stops being true, checks claims against what it holds, and keeps a confidence for each fact.
Your AI remembers that your server runs Ubuntu. Last month you moved it to NixOS. Ask the AI about the server today and it retrieves the old fact, with full confidence. Nothing in its memory knows the fact went stale.
The Mnemodrome README states the problem in two sentences: “Every AI memory system solves retrieval. None of them solve trust.”
Mnemodrome is a memory server for AI agents, built to close that gap. It keeps knowledge in six layers and serves them through the Model Context Protocol (MCP) to the agents that can reach it. When a fact stops being true, it is marked as superseded and kept, not overwritten. Claims going in and answers coming out can be checked against what the memory holds. Each fact carries a confidence that moves when a check finds evidence for or against it.
It has been open source under the Apache 2.0 license since v1.0.0 on July 8, 2026, a v1.1.0 release candidate followed on November 25, 2026, and it is the only memory my own Claude Code sessions have.
Why retrieval is not enough
A common design for agent memory is a search index: store text, find similar text later. That answers “what did we say about the server?” It does not answer “is that still true?”
The project’s design notes state the rule the rest of the system follows: “Silence is a failure mode. If a retrieved fact might be wrong, the system must say so. Silent retrieval of stale data is worse than no retrieval at all.”
It matters most when several agents share one memory. In the README’s words, “your automations and your interactive sessions share one memory,” so one stale fact reaches all of them.
Who built it
Mnemodrome is my project: the calls and the releases are mine. I decided in March 2026 to publish it as open source, asked for a large adversarial code review before it went public, and cut the release tags. I build it with a team of AI agents, and “we” on this page means that team: Claude agents write much of the code, and Codex agents also write to the same memory. Many of the public commits, including the two headline features of the release candidate, carry a Claude co-author line.
Some ideas came from other work, and the README credits them: Nate Jones’s six-layer cognitive framework, the temporal graph design of Graphiti, and the ACT-R, Hebbian, and Bayesian memory primitives of MuninnDB, which Mnemodrome reimplements without sharing code.
Decisions behind it
One layer for each kind of question
A single vector store is good at “find something similar” and poor at questions about relationships and history. The design notes put it plainly: “A graph traversal (“who worked on Project X?”) is the wrong tool for semantic search (“find similar debugging patterns”). An event log (“what happened last Tuesday?”) is the wrong tool for entity resolution.”
So Mnemodrome has six layers: a graph of entities and relationships, a vector store for meaning, Markdown files for longer write-ups, an event log of what happened when, a procedural store for how-to patterns, and a cache. Each serves the questions the others handle poorly. The cost is more services to run, and the graph cannot be swapped for another database, because its queries are built into the code.
Never delete, only supersede
When the server moves to NixOS, the Ubuntu fact is not deleted. It is marked as no longer true, with the time it stopped being true and the fact that replaced it. The design rule is short: “Never delete, only supersede. Destructive updates destroy provenance.”
Queries return current facts by default, and the history stays available. An agent sees what is true now, and a person can still see what the memory used to believe and what changed it. Two tools do the work: invalidate_fact ends a fact, and update_fact replaces one with its successor in one step.
Check both directions, and keep a confidence
A memory that knows a fact went stale helps only if someone asks it, so Mnemodrome checks in both directions. validate_prompt compares what a user says with stored facts, and validate_reasoning compares what the model is about to answer. The README’s summary: it “catches hallucinations and user misconceptions.” Sample hooks for Claude Code ship with the repo. The check needs those hooks, or similar middleware, to run on every turn.
Each fact also has a confidence. When a check finds a stored fact that supports or contradicts a claim, a Bayesian update moves the fact’s confidence up or down.
The same silence rule applies to the check itself. If claim extraction times out or fails, validate_reasoning reports degraded, not clean. A check that did not run must not look like a check that passed.
No silent failures from the models
Two small local models do the language work: one makes the embeddings for search, the other turns sentences like “I moved my server to NixOS last week” into structured facts in the graph. Both run locally by default; cloud providers are an option.
Models can fail quietly, and the README warns about the worst case first: “Avoid reasoning models.” Thinking models can spend the whole token budget on hidden reasoning and return no JSON, and then “entity extraction and classification return nothing: no error, no warning, just silence.” Thinking is switched off by default.
The same rule is behind an in-process option for the embeddings in the release candidate. The commit gives the cause: “Vectors depend on the engine that makes them: Ollama 0.30.0 changed how nomic-embed-text handles upper case, and nothing detected it.” With it, Mnemodrome can run a pinned embedding model itself; the option is still marked experimental, and the default is unchanged. The model file is checked against its hash on download, every collection records which embedder built it, and a reindex tool can build a new index, swap to it, and roll back.
Built for other people to run
Three rules in the repo are written for the people who run it or contribute to it. GitHub is the single upstream, because “if more than one remote can produce a release, a version number no longer names one exact commit, and users cannot tell which build they run.” Version numbers follow Semantic Versioning over a declared surface (the MCP tools, HTTP routes, configuration and stored data), so an upgrade can be judged from the number, and new items start as experimental. Feature specs stay outside the repo, so a contributor needs only an issue to report a need or fix a bug.
Access control is built to be switched on in steps. Each agent gets its own key, the server stores only a hash of it, and every capture records which agent made it. The mode goes from off to warn to enforce: in warn, a request without a valid key is served and logged, and a health page counts them, so an operator can see that every client has its key before switching to enforce.
How it’s built
- Stores: Neo4j for the graph, Qdrant for vectors, Markdown files, an event log, a procedural store, and Redis as the cache. Python.
- Models: a local embedding model (nomic-embed-text) and a small extraction model, about 4 GB by default.
- Interface: an MCP server with 29 tools, among them
capture_fact,load_context,semantic_search,invalidate_fact,update_fact,validate_prompt, andvalidate_reasoning. Also an admin UI and a read-only memory browser. - Install: Docker with Compose and a running Ollama.
./install.sh --defaults, then one entry in the agent’s MCP configuration. A first install takes a few minutes. - Tests: more than 2,200 test functions; every pull request runs lint, a format check, and the unit tests.
Where it stands
v1.0.0 has been public since July 8, 2026. v1.1.0rc1, released on November 25, 2026, adds the in-process embedding option and the per-agent keys.
It is in daily use. Since November 1, 2026, Mnemodrome is the only memory my Claude Code sessions have: the built-in memory is switched off. Claude and Codex agents write to the same memory, and some of the facts on this page were found by asking it.
What’s next
The next release is the final 1.1.0. A snapshot of the declared API is planned, so that the version check runs automatically; today it is done by hand. A hosted edition is on the roadmap with no timeline; the README says demand will move it up the list. The Librarian, a component that tunes the memory itself, was taken out of the release candidate. I kept its code, because I want to return to it.
The repo keeps no roadmap file. In its own words: “Open and planned work is the issue list.”