Listed from the MCP registry; nobody on Odel publishes it.
Agent memory that tracks sources and stops serving what depends on corrected or withdrawn facts.
Runs on your machine from its package; the steps are below.

At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx persistent-memory-mcp
MCP client config
{
"mcpServers": {
"persistent-memory": {
"command": "uvx",
"args": [
"persistent-memory-mcp"
]
}
}
}AI agents act on what they remember, whatever they are built with: a coding assistant, a LangGraph or CrewAI graph, an OpenAI Agents SDK app, your own loop. They remember facts, summaries, procedures and lessons from earlier tasks. When a source is corrected or withdrawn, whatever was built from it keeps being served, and nothing tells the agent. persistent-memory records the exact source versions behind every derived item, refuses to serve anything that depends on a withdrawn or replaced version, and notifies each client that was shown it.
Python standard library only (SQLite with FTS5), Python 3.11 or later, Linux, macOS and Windows. This is an alpha release, 0.4.0a4: interfaces can still change. Import it as persistent_memory.

A real session from a fresh install from PyPI; only the typing is scripted. What it shows and how it was recorded.
Français · Connect your tools · Operations · MCP server · Evidence · Packages and releases
python3 -m venv ~/.persistent-memory
~/.persistent-memory/bin/pip install persistent-memory-mcp
~/.persistent-memory/bin/persistent-memory setup claude-code
The package on PyPI is named persistent-memory-mcp; the commands and the import name stay persistent-memory and persistent_memory. While only pre-releases exist, pip selects the newest one without --pre. On Windows the commands are in .persistent-memory\Scripts\.
setup accepts claude-code, claude-desktop, cursor, vscode (GitHub Copilot), windsurf, codex and hermes-agent (Nous Research's Hermes Agent). Every tool you connect opens the same store in the platform's data folder: something remembered in one is found in the others, and a withdrawal made in one is reported to every tool that was shown the entry.
setup keeps the other entries of each configuration file, saves a backup before changing it, does not replace an entry of the same name that runs another server unless given --force, leaves a file it cannot parse untouched, and changes nothing when run twice. --dry-run shows the change first; persistent-memory status lists what is configured. SETUP.md gives the file written for each tool.
The memory does not depend on a framework. In Python, use the library directly. Everything else goes through the MCP server, over stdio or Streamable HTTP, from any language. On 15 November 2026 each of these frameworks loaded the ten tools through its own MCP integration and ran remember, search, withdraw and search again, with the withdrawn entry gone: LangChain / LangGraph, OpenAI Agents SDK, Pydantic AI, CrewAI, LlamaIndex, Microsoft AutoGen, smolagents and the official MCP Python SDK. No model was called in these checks.
from agents import Agent # OpenAI Agents SDK
from agents.mcp import MCPServerStdio
memory = MCPServerStdio(params={"command": "persistent-memory-mcp", "args": ["--create"]})
agent = Agent(name="assistant", instructions="...", mcp_servers=[memory])
FRAMEWORKS.md gives the versions checked and a snippet for each framework.
Remember a source, derive a rule from it, show both to a session, then withdraw the source:
from persistent_memory import PersistentMemory
memory = PersistentMemory("demo-store", "team-notes", create=True)
port = memory.remember("The test server listens on port 9300.", source_id="port")
rule = memory.derive("Open port 9300 on the test firewall.",
parents=[port["ref"]], artifact_id="open-port")
parent = memory.explain("open-port")["parents"][0]["ref"]
print(parent == port["ref"]) # the exact parent version is recorded
found = memory.search("firewall 9300", session="chat-1")["items"]
print([item["artifact_id"] for item in found]) # chat-1 is shown both entries
memory.withdraw("port", "the port changed") # withdraw the source only
refused = memory.read(rule["ref"])
print(refused["allowed"], refused["reason"]) # the derived rule is refused too
print(memory.search("firewall 9300")["items"]) # and no longer found
print([(n["artifact_id"], n["state"]) for n in memory.notices("chat-1")["notices"]])
print(memory.notices("chat-1")["notices"]) # each notice is delivered once
Output, from the installed wheel on Python 3.13:
True
['open-port', 'port']
False source_revoked
[]
[('open-port', 'withdrawn'), ('port', 'withdrawn')]
[]
Correcting the source instead, with memory.correct("port", new_text, expected_version=...), refuses the rule with version_not_current (state superseded) and sends the same notices. A correction made against a version that is no longer current is refused with version_conflict.
Through MCP the same operations are the tools memory_remember, memory_derive, memory_search, memory_withdraw, memory_notices and five others; a notice arrives with the next tool result.
derives or indexes unreadable; cites keeps a link without propagating. plan_withdrawal lists what would be blocked. Nothing is physically erased.learn(trace, feedback, lesson) stores a task trace and its feedback as sources and derives the lesson from both. Only the lesson is searchable, and withdrawing the trace or the feedback blocks it.hermes-memory-demo --directory NEW_DIR.| Door | Entry point | Documentation |
|---|---|---|
| Python library | persistent_memory.PersistentMemory | OPERATIONS.md |
| MCP over stdio | persistent-memory-mcp --store DIR, written for you by setup | MCP.md |
| MCP over Streamable HTTP | persistent-memory-mcp --transport http (/mcp, token file required off loopback) | MCP.md |
| Hermes Agent memory provider | persistent-memory setup hermes-agent, from Hermes Agent's environment | HERMES-AGENT.md |
| Search by meaning, local | --semantic, extra [semantic] or an embeddings endpoint | SEMANTIC.md |
| Qdrant projection | --qdrant-url, --embed-url, --embed-model, or attach_projection | QDRANT.md |
| Markdown notes, Obsidian | persistent-memory export FOLDER, one way, safe to run again | EXPORT.md |
| Typed core, CLI and HTTP service | hermes-memory, hermes-memory-typed | API.md |
| Structured rendering and admission | hermes_memory.admission_demo | STRUCTURED.md, ADMISSION.md |
The first five go through the same PersistentMemory class, so they expose the same memory and the same refusals. The typed interfaces use the same core and authority.
The repository publishes its studies with protocols, observations and offline recalculation. All of them use synthetic scenarios and can be reproduced; each count holds only within its study's scope.
The other studies, performance measurements and test receipts are in EVIDENCE.md; test selection and how to rerun the suite from an installed wheel are in TESTING.md.
--token-file. On Linux and macOS that file must be readable by its owner only; Windows has no such mode bits and the file's access list is not inspected, so keep it in your own profile folder.--semantic runs a model in the process (pip install "persistent-memory-mcp[semantic]", about 1 GB downloaded on first start), or the Qdrant projection uses a server. The index covers up to 5,000 current entries per workspace.setup wrote; Claude Code and Hermes Agent also stored and found entries through it in model turns. The Claude Desktop, Cursor, VS Code and Windsurf files follow each tool's documentation and are checked by tests, not opened in those applications./rpc under the same token. It is meant for a trusted application, not a multi-tenant service.MIT license, by Gilles Musy (Musyg). PACKAGES.md gives the release history and the optional policy registry, a separate distribution. The implementation package is hermes_memory, the project's historical name; it remains importable. Contributing · Version française · Source