Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Review gate for shared agent memory: an unreviewed or hand-edited memory is never served.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PROCHEIRON_SIGNING_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"procheiron": {
"command": "uvx",
"args": [
"procheiron",
"mcp",
"--root",
"/path/to/your/commons",
"--actor",
"your-agent-name"
],
"env": {
"PROCHEIRON_SIGNING_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add procheiron --env PROCHEIRON_SIGNING_KEY=your-value -- uvx procheiron mcp --root /path/to/your/commons --actor your-agent-name运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"procheiron": {
"command": "uvx",
"args": [
"procheiron",
"mcp",
"--root",
"/path/to/your/commons",
"--actor",
"your-agent-name"
],
"env": {
"PROCHEIRON_SIGNING_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"procheiron": {
"type": "stdio",
"command": "uvx",
"args": [
"procheiron",
"mcp",
"--root",
"/path/to/your/commons",
"--actor",
"your-agent-name"
],
"env": {
"PROCHEIRON_SIGNING_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 logotheusneuro-cpu 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PROCHEIRON_SIGNING_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.3)于3个月前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
Procheiron
An unreviewed memory never reaches your agents.
Who wrote this memory, who checked it — and has anyone touched it since?
Procheiron is a small, dependency-free trust layer for AI agent memory. Memory tools are good at storing and recalling; trust is the part nobody owns. Give several agents a shared memory and any one of them can write a "fact" the others will happily build on — nobody reviewed it, nobody approved it, and when it turns out to be wrong there's no clean way to trace it or retire it.
Procheiron adds that discipline, and enforces it with a validator rather than a convention. It adds no memory engine of its own — no embeddings, no ranking, no recall. Bring whatever memory you already use — a vector database, a knowledge graph, a folder of markdown files. It governs the records; your engine keeps doing the remembering.
A deployment validates clean. Then someone with write access quietly rewrites history — a past promotion suddenly claims a different actor:
$ procheiron validate ./team-memory
Procheiron validation (full tier): PASS
$ # edit team-memory/memory/index/audit.jsonl: "actor": "vera_curator" → "rogue_agent"
$ procheiron validate ./team-memory Procheiron validation (full tier): FAIL ERROR: audit chain: audit event 0: entry_hash mismatch — content was altered after it was written ERROR: memories.jsonl:1: active record has no corroborating promotion audit event — forged/hand-flipped record
Real output (ids shortened). You can reproduce this exact catch on your own machine in the next two sections — no clone required.
pip install procheiron # or: pipx install procheiron — see the note below
pip install "procheiron[crypto]" # optional: ed25519 signing (the chain itself needs nothing)
pipx users: pipx puts the procheiron command on your PATH but does not make the package importable by your system python3 . The scaffolded helpers ( memory_propose.py , memory_promote.py , validate_minimal.py ) need the package, so run them with the interpreter procheiron init prints on completion rather than a bare python3 . Everything below assumes a plain pip install in an active environment.
Using a coding agent? Hand it one instruction and it installs Procheiron, wires itself in over MCP, and runs the tamper check end to end:
Retrieve and follow the instructions at:
https://raw.githubusercontent.com/logotheusneuro-cpu/procheiron-core/master/INSTALL_FOR_AGENTS.md
Or prove the spec from a bare checkout, no install at all: python3 conformance/run_conformance.py.
The demo above, on your own machine: scaffold a commons, write one governed memory, then rewrite history and watch the chain snap.
procheiron init ./commons && cd commons
python3 memory_propose.py --created-by alice --type decision --scope project \ --subject "retry policy" --statement "Retries use exponential backoff." \ --source-path docs/decisions.md --confidence 0.9
python3 memory_promote.py --memory-id --new-status active \ --reviewer bob --authorized-by casey --reason "verified against the source" \ --allow-unverified-reviewer
procheiron validate . # PASS
sed -i.bak 's/bob/rogue/g' memory/index/audit.jsonl
procheiron validate . # FAIL: entry_hash mismatch — content was altered mv memory/index/audit.jsonl.bak memory/index/audit.jsonl # put history back → PASS again
Procheiron ships an MCP server, so any MCP-speaking agent — Claude Code, Claude Desktop, Cursor, Codex, and the rest — reads and writes the commons under the same rules a human faces. Four tools: memory.search, memory.get, memory.propose, memory.promote.
Claude Code:
claude mcp add procheiron -- procheiron mcp --root ./commons
Anything with an mcpServers config (Cursor, Claude Desktop, …) — merge, don't replace:
{ "mcpServers": { "procheiron": { "command": "procheiron", "args": ["mcp", "--root", "./commons"] } } }
Writes are dry-run until you pass --allow-writes, and promotion over MCP hits the same gate as everywhere else: the agent that wrote a memory cannot approve it.
The server is dual-era: it speaks the current 2026-07-28 revision (stateless, per-request _meta, server/discover) *and* the older initialize handshake, so it works whether your client has migrated yet or not. That is not just reach — with no handshake to anchor it, a modern request used to be answered under legacy rules, and a memory tool replying "nothing found" when it means "I don't speak your protocol" is the one answer you can't tell from a real one.
draft → candidate → validated → active → superseded.active — trusted — after review by someone who did not write it. Self-review is refused, not discouraged: $ python3 memory_promote.py --memory-id mem_20260709_retry_policy… --new-status active \
--reviewer alice --reason "looks right to me" memory_promote: REFUSED — self-review: 'alice' created this record (invalid transition §8.7)
--expect-head and that's caught too (see below).What you'd otherwise do for trust in agent memory:
| Enforced independent review | Tamper-evident history | Works with any store | Setup | |
|---|---|---|---|---|
| Convention docs ("agents should…") | no — honor system | no | — | none |
| Git history on the memory files | no | yes — unless the history itself is rewritten | the files, not your store | none |
| Your memory engine's metadata | no — self-asserted | no | that engine only | none |
| Full provenance stack (W3C PROV + signing infra) | possible | yes | yes | build-it-yourself |
| Procheiron | yes — validator-refused † | yes — plus a hash chain; a full rewrite needs an external anchor | yes — governs records for any store you bring | `pip install`; anchor + key custody for the strongest guarantee |
† Enforced against self-review and edit/reorder tampering. An insider with filesystem write access can still *append* a forged promotion — closing that needs the optional signing extra with keys held out of their reach. The honest line between tamper-evidence and authenticated provenance is spelled out in CLAIMS.md.
Git already gives you tamper-evidence on the same assumption Procheiron makes (nobody rewrites the anchor) — the difference is the enforced review gate and record-level structure git has no notion of. And memory engines aren't the competition: Procheiron governs the records they hold and will never grow retrieval of its own.
| Command | What it does |
|---|---|
procheiron init ./my-commons | Scaffold a governed memory commons. |
procheiron validate | Validate a deployment. Add --expect-head and --expect-lint to pin the chain head and the enforcement profile against external anchors; --json reports both current values. |
procheiron scorecard | Trust-loop numbers: records, independent promotions, blocks caught. |
procheiron keygen --actor | Mint an ed25519 keypair for signed authorship (needs procheiron[crypto]). Private key → 0600 file; public key → stdout for known_actor_keys. |
procheiron mcp --root | Serve the commons to agents over MCP (stdio JSON-RPC). |
procheiron conformance | Run the conformance suite (needs a repo checkout). |
procheiron version | What it says. |
A candid word before you rely on it.
The hash chain makes the log tamper-evident: nobody can quietly edit history without breaking the chain. But the chain only proves the log is internally consistent — someone with write access to the file can rebuild the whole thing from scratch and it will verify. The fix is to anchor the newest entry hash somewhere that person can't touch (a git commit works fine) and hand it back at check time: procheiron validate --expect-head . Now a full rewrite is caught too.
The enforcement profile has the same problem — it lives in the same directory as everything it governs, so it can be downgraded from inside. Anchor it the same way with --expect-lint . Both anchors are checked unconditionally, and deleting what they anchor fails the check rather than skipping it; procheiron validate --json prints the current audit_head and lint_fingerprint so you have something to pin.
The full threat model — signing, keys, and the determined insider
Signing raises the bar further. With the crypto extra and a key registry (known_actor_keys), every event from a registered actor must carry that actor's valid signature. Stripping a signature fails validation; it does not slip through.
And the honest residual: if one OS user owns the log, the keys, *and* the key registry, a determined ins
只显示了开头部分;其余内容请在仓库中阅读