Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Cross-client AI memory hub: agents share one SQLite memory.db via file-level pointers.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MEM_DB, MEM_DEFAULT_SOURCE你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"memtether": {
"command": "uvx",
"args": [
"memtether"
],
"env": {
"MEM_DB": "your-value",
"MEM_DEFAULT_SOURCE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add memtether --env MEM_DB=your-value --env MEM_DEFAULT_SOURCE=your-value -- uvx memtether运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"memtether": {
"command": "uvx",
"args": [
"memtether"
],
"env": {
"MEM_DB": "your-value",
"MEM_DEFAULT_SOURCE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"memtether": {
"type": "stdio",
"command": "uvx",
"args": [
"memtether"
],
"env": {
"MEM_DB": "your-value",
"MEM_DEFAULT_SOURCE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
MEM_DB envMEM_DEFAULT_SOURCE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
发布者(lanbass869-cell)不是仓库所有者(MemTether);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0a81)于20天前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
English | 中文
The only AI agent memory with a tamper-evident audit chain.
*If your agent can't prove what it knows, it doesn't know.*
Remember every fact with its source · Recall it at three depths · Audit who changed what, when, and why — with corrections that never delete and a hash chain anyone can verify.
pip install memtether
$ memtether court fact-20261007-abc
+============================================================+ | MEMTETHER MEMORY COURT - CASE FILE | +============================================================+ | 1. CONTENT Clash proxy port is 7897 | | 2. TEMPORAL valid: 10-05 -> present | known: 10-05 -> now | | 3. PROVENANCE #1 remember by=codex -> #2 correct by=user | | 4. CONFLICTS case #3: vs fact-...old verdict=superseded | | 5. INTEGRITY chain: PASS (3 anchors, 42 entries hashed) | +============================================================+
$ python examples/audit_chain_demo.py
Before tamper: verify_chain: PASS Simulating attacker editing DB directly... After tamper: verify_chain: FAIL {"reason": "chain hash mismatch"}
Hash chain detected the tampering. That is the point.
MemTether is a local-first memory hub for multi-client AI agents. While most memory systems compete on retrieval accuracy, MemTether competes on governance: who wrote each fact, when it took effect, what it superseded, which conflicts a human adjudicated, and a tamper-evident hash chain anyone can verify — no code, no dependencies. Retrieval is provided (SGM deterministic SQL routing + hybrid embedding), but it is not the headline: agent memory that you can audit, correct, and trust is.
Think of it as an append-only memory ledger: every fact is a frame with its source and checksum attached; correcting a fact appends a new frame instead of overwriting the old one; and as_of rewinds the whole ledger to any past date. The DB is the source of truth — export-md gives you a human-readable, diffable, Git-friendly view of it anytime.
Coming from mem0, Zep, or Letta? examples/mem0_migration.py shows a complete round-trip migration from a mem0 JSON export — no mem0 SDK required.
$ memtether court fact-20261007-abc
+============================================================+ | MEMTETHER MEMORY COURT - CASE FILE | | 1. CONTENT Clash proxy port is 7897 | | 2. TEMPORAL valid: 10-05 → present | known: 10-05 → now | | 3. PROVENANCE #1 remember by=codex → #2 correct by=user | | 4. CONFLICTS case #3: vs fact-...old verdict=superseded | | 5. INTEGRITY chain: PASS (3 anchors, 42 entries hashed) | +============================================================+
| Feature | MemTether | mem0 | Hindsight | EverOS |
|---|---|---|---|---|
| Audit hash chain (tamper-evident) | ✅ | ❌ | ❌ | ❌ |
| Bi-temporal supersession | ✅ | ❌ | ❌ | ❌ |
| Conflict gate (human adjudication) | ✅ | ❌ | ❌ | ❌ |
| Source attribution (mandatory) | ✅ | ⚠️ optional | ❌ | ❌ |
| Memory Court (visual audit) | ✅ | ❌ | ❌ | ❌ |
| Local SQLite (no cloud) | ✅ | ⚠️ needs setup | ⚠️ needs server | ✅ |
| Zero cloud dependency | ✅ | ❌ | ❌ | ✅ |
python examples/audit_chain_demo.py to see it turn red.Run it yourself:
$ python examples/audit_chain_demo.py
写入 25 条记忆(自动生成 2 个审计锚点)... 篡改前 verify_chain: PASS {'anchors': 2, 'entries_covered': 20} 模拟攻击者直接改库... 篡改后 verify_chain: FAIL {'reason': 'chain hash mismatch'} ✅ 哈希链成功检测到篡改!
Note: ntries_covered: 20 with 25 writes is expected — the hash chain anchors every 10 audit entries, so the last 5 writes sit in the unanchored tail until the next batch. Tampering with an *anchored* entry is what turns verification red.
## Migrating from mem0
Already using mem0? examples/mem0_migration.py shows a complete round-trip: mem0 JSON export → MemTether Exchange v1 → live retrieval → back to mem0 format. No mem0 SDK required, bi-temporal fields honestly marked temporal_source="backfilled".
| Operation | p50 | p95 | p99 |
|---|---|---|---|
| remember (insert) | 28.7ms | 34.6ms | 117.8ms |
| search (SGM entity) | 33.1ms | 39.5ms | 41.6ms |
| search (keyword) | 32.2ms | 35.0ms | 135.0ms |
| correct (supersede) | 50.8ms | 54.7ms | 54.7ms |
Reproduce: python benchmarks/bench_latency.py --n 200
main only holds merges that passed the full test suite. Alpha builds are tagged automatically on every successful build (v0.1.0aN), so tag numbers are not contiguous and some tags point at commits that were later squashed into a merge. Install from PyPI for a validated build:
pip install memtether -i https://pypi.org/simple/
Under the hood: supersession chains (corrections never delete), bi-temporal timestamps (when facts were true vs when the system learned them), human-adjudicated conflict resolution, and a hash-chained audit log designed with EU AI Act Article 12 record-keeping requirements in mind (not certified compliance) record-keeping requirements.
One physical SQLite database, shared by every AI client via file-level pointers. No cloud. No API fees. No sync daemon. Greppable, git-able, yours — and auditable.
*Compared to mem0 (66.6K★), Zep/Graphiti (31.5K★), and agentmemory (29.2K★):
those systems either overwrite or delete old values. MemTether's supersession
chain preserves the full history with source attribution and Q-Value ranking.*
EAF retrieval: 75.7% strict on LongMemEval 500Q (paired delta +19.4pp, McNemar p=7.8e-7).
| MemTether | memora (731★) | memtrace (486★) | icarus (290★) | mem0 (66K★) | |
|---|---|---|---|---|---|
| Supersession chains (corrections don't delete) | ✅ enforced | ❌ | ❌ | ✅ | ❌ overwrite |
| Evidence chain (tamper-evident, browser-verifiable) | ✅ court CLI + zip | ❌ | ❌ | ❌ | ❌ |
| Human conflict adjudication (decisions on record) | ✅ conflicts CLI | ❌ | ❌ | ❌ | ❌ |
| Bi-temporal (valid_from ≠ recorded_at) | ✅ 100% coverage on fact rows | ❌ | ✅ on knowledge-graph edges (not per-fact rows) | ❌ | ❌ |
| Source attribution (who wrote it, enforced) | ✅ registry + reject | ❌ | ❌ | ✅ provenance | ❌ |
| Bi-temporal (per-fact rows) | ✅ | ❌ | ❌ | ❌ | ✅ graph edges only |
| Conflict detection (rule-based + human review) | ✅ candidate generator | ❌ | ❌ | ❌ | ❌ |
| MCP server | ✅ | ✅ | ✅ | ❌ | ✅ |
| 23+ client adapters | ✅ auto-detect | ❌ | ❌ | ❌ | ❌ |
| Evaluation integrity framework | ✅ 5 patterns | ❌ | ❌ | ❌ | ❌ |
| CI: 9 jobs / 567 tests | ✅ | ? | ? | ? | ✅ |
| Language | Python | ? | Rust | ? | Python |
*'Each cell reflects the feature's presence in the project's public documentation as of 2026-10-07. MemTether's differentiator is not any single feature — it's the combination of all governance dimensions in one local-first deployment.'*
Artifact bundle with per-question records.
mcp-name: io.github.lanbass869-cell/memtether
Project page · Install · Docs · Reproduce · 中文文档 · Español
Install · Usage · Why MemTether · Benchmarks · Architecture · Security · FAQ
pip install memtether
memtether demo memtether search "投影" --list
$ memtether search "投影" --list
from memtether import remember, search
remember("User prefers dark mode", source="my-agent") # hash-chained on write results = search("dark mode")
# Or as an MCP server for Claude Code / Cursor
memtether mcp
memtether download-models
# Node.js / TypeScript — thin REST client, zero dependencies
npm install @memtether/client
MemTether ships skills that teach your coding agent *when* to use memory — install with npx skills add:
npx skills add MemTether/MemTether
| Skill | What it teaches your agent |
|---|---|
agent-memory | Install, core concepts, CLI + MCP surface |
agent-memory-recall | Search-before-answer: check L0 recall before answering from memory |
agent-memory-court | Write-then-verify: hash-chain check + timeline after memory writes |
只显示了开头部分;其余内容请在仓库中阅读