Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Self-correcting agent memory + MCP server: recall, supersede/revert/review corrections, erasure.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MNEMO_PATH, MNEMO_ECHO_GUARD, MNEMO_EMBED_URL, MNEMO_EMBED_MODEL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mnemo": {
"command": "uvx",
"args": [
"agora-mnemo"
],
"env": {
"MNEMO_PATH": "your-value",
"MNEMO_ECHO_GUARD": "your-value",
"MNEMO_EMBED_URL": "your-value",
"MNEMO_EMBED_MODEL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add mnemo --env MNEMO_PATH=your-value --env MNEMO_ECHO_GUARD=your-value --env MNEMO_EMBED_URL=your-value --env MNEMO_EMBED_MODEL=your-value -- uvx agora-mnemo运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mnemo": {
"command": "uvx",
"args": [
"agora-mnemo"
],
"env": {
"MNEMO_PATH": "your-value",
"MNEMO_ECHO_GUARD": "your-value",
"MNEMO_EMBED_URL": "your-value",
"MNEMO_EMBED_MODEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mnemo": {
"type": "stdio",
"command": "uvx",
"args": [
"agora-mnemo"
],
"env": {
"MNEMO_PATH": "your-value",
"MNEMO_ECHO_GUARD": "your-value",
"MNEMO_EMBED_URL": "your-value",
"MNEMO_EMBED_MODEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
MNEMO_PATH envMNEMO_ECHO_GUARD envMNEMO_EMBED_URL envMNEMO_EMBED_MODEL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 DanceNitra 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.24.2)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Tamper-evident long-term memory for AI agents. Correct a fact once and the old value stays retired; erase a person and prove it; show an auditor what the agent knew when it acted. One zero-dependency Python file, plus an MCP server.
The erasure proof covers this store only, not a vector index, prompt logs, or backups, and it is an integrity primitive, not a compliance certification.
Quickstart · Docs · vs mem0 and Graphiti · Migrate from mem0 · EU AI Act and GDPR evidence · Claude Code, one line · Transparency log · PyPI
pip install "inspeximus[crypto]"
inspeximus demo # a first result: offline, touches nothing of yours
from inspeximus import Inspeximus
m = Inspeximus("memory.json") m.remember("The staging database is db-3.internal", key="staging-db") m.remember("The staging database is db-7.internal", key="staging-db") # a correction m.recall("which staging database")0 # 'The staging database is db-7.internal' m.revert("staging-db") # and it is reversible, on purpose
memory.json is a name, not a format: a new store is a SQLite file. Read it through inspeximus or the sqlite3 module, never with json.load or cat.
| What you get | |
|---|---|
| A correction that holds | remember(key=...) retires the old value by key. Restating the stale text does not bring it back; revert() does, as a recorded decision. |
| Erasure you can prove | forget_subject() removes every record about a person, leaves a signed content-free tombstone, and erasure_certificate() lets a third party check it with no private key. For authorship, the third party pins your public key (expected_pubkey) and witnesses the anchor. It covers this store only. |
| What the agent knew when it acted | A signed, hash-chained action ledger; matches() binds a retained transcript to its entry. |
| When it happened | RFC 3161 timestamps, and a check whether the authority was on the EU trusted list on that date. |
| Evidence an auditor can read | inspeximus compliance labels the evidence by article; export as a draft-sharif-agent-audit-trail-04 file. |
| Any agent, one line | MCP server for Claude Code, Cursor, Windsurf, Codex and Cline; adapters for LangChain, LangGraph, ADK and more. |
Use it when the agent runs for days and the facts it holds will change under it, and when somebody can later ask what it knew and what it erased. That is the whole design brief.
| You have | Reach for |
|---|---|
| An agent that keeps confidently repeating a value you already corrected | remember(key=...): the correction wins, the restatement does not bring the old value back, revert() is a recorded decision |
| A right-to-erasure request, or an auditor asking what the agent knew when it acted | forget_subject() with erasure_certificate(); the signed action ledger with matches() |
| Claude Code, Cursor, Windsurf, Codex or Cline, and no memory between sessions | the MCP server, one config line |
| A framework (LangChain, LangGraph, ADK, Hermes, Haystack) and no way to prove a memory write happened | the adapters and the receipt chain |
agno is the one that is not ours. It ships an official integration example in its own cookbook, cookbook/11_memory/integrations/inspeximus_integration.py, merged in agno#10146 on 2026-09-20, alongside mem0, zep, memori and dakera. Their own README describes it as *"inspeximus for corrections that stay corrected."* We did not write that file's home and we do not maintain it, which is exactly why it is worth listing: it is one integration a reader can check without taking our word for anything. The same holds for agmi, an agent-memory integrity scorecard whose maintainer merged our three-row adapter, agmi/adapters/inspeximus_rows.py, in agmi#1 after reproducing it himself.
Not the right tool when you want a hosted service with a dashboard, a knowledge graph over documents, or the highest score on a conversational-recall benchmark. mem0, Zep and cognee lead there, and the comparison page says where each of us wins and where we do not.
We measured the one thing the others do not publish: how often a corrected fact comes back.
Each system was run on its own native configuration, same task, same 30 trials:
| system | keeps the correction | resurrects the old value |
|---|---|---|
| inspeximus | 100% | 0% |
| Graphiti 0.x (Neo4j + OpenAI) | 86.7% | 13.3% 95% CI [3.3, 26.7] |
| mem0 2.0.11 (OpenAI native) | 53.3% | 46.7% 95% CI [30.0, 63.3] |
| inspeximus, guard disabled | 0% | — the control: this is what the guard is doing |
n = 30 per system. mem0 measured at 2.0.11 (2026-07); mem0 is now on 2.0.18 and we have not re-run it — the version is stamped rather than the claim being restated as current. Full method, raw arrays and the re-runnable harness: RAMR · echo_resistance_backends_result.json
Read the Graphiti row correctly — its echo defense did not fail. Our own raw output records
echo_attributable_flips: 0out of 26 corrections that were extracted correctly before the echo
ran. Graphiti's bi-temporal invalidation held every one of them. The 13.3% above is four *pre-echo
extraction misses* — the correction never made it into the graph — which is a different failure from
the one this table is about. Stated as the mechanism rather than the headline: on echo-attributable
resurrection, Graphiti scores 0%, the same as us, by keeping the supersession link at write time.
That is the real finding here: what separates these systems is whether the link is recorded, not who
recorded it.
Measured 2026-08-25 against Hindsight 0.9.2 (vectorize-io, 21k stars) and mem0, each in its own native config, n=20. These two need no judge at all — they read the raw recall payload, so nothing depends on a model reading well:
| inspeximus 2.21.0 | Hindsight 0.9.2 | mem0 | |
|---|---|---|---|
| after a correction, recall returns the new value and not the old one | 20 / 20 | 0 / 20 | 1 / 20 |
| identical writes twice — same stored state? | byte-identical | 20 / 20 differ | — |
| model calls to do it | 0 | 60 | 60 |
Both competitors return the corrected value *and* the retired one, and leave the choice to the caller. That is a defensible design — a bitemporal store handing back old and new with validity markers is being honest — but it is a different promise from ours, and the difference is whose job disambiguation is.
The first row is free to verify. No key, no server, no network:
git clone https://github.com/DanceNitra/inspeximus && cd inspeximus
python probes/integrity_bench_store_resolves.py --systems inspeximus
It finishes in milliseconds and prints store-resolved=1.00 (resolved=20 both=0 stale=0 neither=0, n=20). Adding ,mem0 or ,hindsight reproduces their columns and costs their own extractor calls. Method, caveats and the cells where we do not win.
The bottom row is the point. Turn our guard off and we score zero — so the number is the mechanism, not the benchmark being kind to us.
The context saver replaces an oversized tool result with a ranked digest and the path of a file holding the whole output. The agent reads the digest, and reads the file when it needs the rest. It ships two ways, and neither needs a code change in your agent. In Claude Code it is part of the PostToolUse hook that inspeximus install --all or inspeximus install --ide claude wires up. For Hermes, integrations/hermes-context-engine-inspeximus/ is a context engine that runs before every provider request. Measured on one Hermes session store, 3,233 messages across 11 sessions, where tool results are 84.4% of the message bytes, over the 264 results longer than 2,000 characters:
| strategy | bytes kept | mid-output question terms kept |
|---|---|---|
| Hermes's own prune | 0.5% | 0.0% |
| the saver's digest | 27.3% | 61.5% |
Scope: inspeximus 3.26.0, measured 2026-10-29, one operator's sessions on one machine, lexical ranking with no embedder, and a mid-output question term is a word of the tool call's own arguments present in the output but absent from its first and last 400 bytes. The probe behind the table runs against one operator's own session store and is not shipped here, so read the figures as reported rather than as reproducible from this package. Hermes replaces a tool result it has no summarizer for with a byte count, which carries no term from the output at any setting of that window, and the agent re-runs the tool to get the content back.
What we could not show. An earlier version of the engine's page compared the digest with head-and-tail truncation at the same byte budget. That row is withdrawn: the window size decides the direction, the digest's own Searchable terms: footer is worth several points to a substring scorer, and on the Hermes corpus an unranked evenly spaced sampler matches the footerless digest. The honest reason to use the saver is wha
只显示了开头部分;其余内容请在仓库中阅读