GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Governed memory for coding agents. Trust lifecycle, conflict detection, health scoring.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agentmem": {
"command": "uvx",
"args": [
"quilmem",
"--db",
"./memory.db",
"--project",
"myproject",
"serve"
]
}
}
}在终端中运行这条命令
claude mcp add agentmem -- uvx quilmem --db ./memory.db --project myproject serve粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentmem": {
"command": "uvx",
"args": [
"quilmem",
"--db",
"./memory.db",
"--project",
"myproject",
"serve"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentmem": {
"type": "stdio",
"command": "uvx",
"args": [
"quilmem",
"--db",
"./memory.db",
"--project",
"myproject",
"serve"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Thezenmonster 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.5)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Shared memory for Claude Code, Cursor, and Codex that knows what's still true. Save sessions, catch stale and conflicting rules, and stop your agent from repeating old mistakes.
Your AI coding assistant forgets everything between sessions. It repeats old mistakes. It can't tell current rules from outdated ones. Context compresses and recovery is painful.
Most memory tools solve storage. agentmem solves trust.
pip install quilmem[mcp]
agentmem init --tool claude --project myapp
That's it. Restart your editor. Your agent now has 13 memory tools. Run memory_health to confirm.
Python-only?
pip install quilmemworks without the MCP extra. See the Python API below.
from agentmem import Memory
mem = Memory()
mem.add(type="bug", title="loudnorm undoes SFX levels", content="Never apply loudnorm to final mix. It re-normalizes everything.", status="validated")
mem.add(type="decision", title="Use per-line atempo", content="Bake speed into per-line TTS. No global pass.", status="active")
hypothesis = mem.add(type="decision", title="Maybe try 2-second gaps before CTA", content="Hypothesis from last session. Needs testing.", status="hypothesis")
results = mem.search("audio mixing")
context = mem.recall("building a narration track", max_tokens=2000)
mem.promote(hypothesis.id) # hypothesis -> active -> validated mem.deprecate(hypothesis.id, reason="Disproven by data")
replacement = mem.add(type="decision", title="Use 1-second gaps before CTA", content="Confirmed by A/B test.", status="active") mem.supersede(hypothesis.id, replacement.id) # old points to replacement
from agentmem import health_check report = health_check(mem._conn)
Other memory tools store things. agentmem knows what's still true.
| Mem0 | Letta | Mengram | agentmem | |
|---|---|---|---|---|
| Memory storage | Yes | Yes | Yes | Yes |
| Full-text search | Vector | Agent-driven | Knowledge graph | FTS5 |
| Memory lifecycle states | No | Partial | No | hypothesis -> active -> validated -> deprecated -> superseded |
| Conflict detection | No | No | Partial | Built-in |
| Staleness detection | No | No | No | Built-in |
| Health scoring | No | No | No | Built-in |
| Provenance tracking | No | No | No | source_path + source_hash |
| Trust-ranked recall | No | No | No | Validated > active > hypothesis |
| Human-readable source files | No | No | No | Canonical markdown |
| Local-first, zero infrastructure | No | Self-host option | Self-host option | Yes, always |
| MCP server | Separate | Separate | Yes | Built-in |
The core idea: every memory has a status that tracks how much you should trust it.
hypothesis New observation. Not yet confirmed. Lowest trust in recall.
| active Default. Currently believed true. Normal trust. | validated Explicitly confirmed. Highest trust in recall.
deprecated Was true, no longer. Excluded from recall. Kept for history. superseded Replaced by a newer memory. Points to replacement.
Why this matters: Without governance, your agent's memory accumulates stale rules, contradictions, and outdated decisions. It doesn't know that the voice setting from January was overridden in March. It retrieves both and the LLM picks randomly. Governed memory solves this.
from agentmem import detect_conflicts
conflicts = detect_conflicts(mem._conn)
agentmem finds memories that contradict each other:
critical (both active) vs warning (one deprecated)from agentmem import detect_stale
stale = detect_stale(mem._conn, stale_days=30)
Finds outdated memories by:
from agentmem import health_check
report = health_check(mem._conn) print(f"Health: {report.health_score}/100") print(f"Conflicts: {len(report.conflicts)}") print(f"Stale: {len(report.stale)}")
Scores your memory system 0-100 based on: conflicts, stale percentage, orphaned references, deprecated weight, and whether you have any validated memories.
Sync canonical markdown files into the DB with source tracking:
# Each memory tracks where it came from
mem.add(type="bug", title="loudnorm lifts noise", content="...", source_path="/docs/errors.md", source_section="Audio Bugs", source_hash="a1b2c3d4e5f6")
The sync engine:
from agentmem import Memory
mem = Memory("./my-agent.db", project="frontend")
record = mem.add(type="decision", title="Use TypeScript", content="...") mem.get(record.id) mem.update(record.id, content="Updated reasoning.") mem.delete(record.id) mem.list(type="bug", limit=20)
results = mem.search("typescript migration", type="decision") context = mem.recall("setting up the build", max_tokens=3000)
mem.promote(record.id) # hypothesis -> active -> validated mem.deprecate(record.id, reason="No longer relevant") replacement = mem.add(type="decision", title="Use v2 approach", content="...") mem.supersede(record.id, replacement.id) # links old to replacement
mem.save_session("Working on auth refactor. Blocked on token refresh.") mem.load_session() # picks up where last instance left off
mem.stats()
# Get started in 30 seconds
agentmem init --tool claude --project myapp
agentmem doctor
agentmem add --type bug --title "CSS grid issue" "Flexbox fallback needed" agentmem search "grid layout" agentmem recall "frontend styling" --tokens 2000
agentmem promote agentmem deprecate --reason "Fixed in v2.3" agentmem health agentmem conflicts agentmem stale --days 14
agentmem import ./errors.md --type bug agentmem save-session "Finished auth module, starting tests" agentmem load-session
agentmem serve
Built-in Model Context Protocol server for Claude Code, Cursor, and any MCP client.
pip install quilmem[mcp]
Claude Code config (.claude/settings.json):
{
"mcpServers": { "agentmem": { "command": "agentmem", "args": ["--db", "./memory.db", "--project", "myproject", "serve"], "type": "stdio" } } }
MCP tools: add_memory, search_memory, recall_memory, update_memory, delete_memory, list_memories, save_session, load_session, promote_memory, deprecate_memory, supersede_memory, memory_health, memory_conflicts
Tell your agent how to use memory: Copy the agent instructions into your CLAUDE.md, .cursorrules, or AGENTS.md. This teaches your agent the session protocol, trust hierarchy, and when to search vs add.
Seven types that cover real agent workflows:
| Type | What it stores | Example |
|---|---|---|
setting | Configuration, parameters | "Voice speed: atempo 1.08" |
bug | Errors and their fixes | "loudnorm lifts noise floor" |
decision | Rules, policies, choices | "3rd-person narration banned" |
procedure | Workflows, pipelines | "TTS -> speed -> 48kHz -> mix" |
context | Background knowledge | "Project uses FFmpeg + Python 3.11" |
feedback | User corrections | "Always pick, don't ask" |
session | Current work state | "Working on auth. Blocked on tokens." |
recall() doesn't just find relevant memories. It finds the most trustworthy relevant memories:
relevance (25%) + trust status (20%) + provenance (20%) + recency (15%) + frequency (10%) + confidence (10%)frontend = Memory("./shared.db", project="frontend")
backend = Memory("./shared.db", project="backend")
frontend.search("bug") # Only frontend bugs backend.search("bug") # Only backend bugs
This isn't theoretical. agentmem was built under production pressure over 2+ months of daily use:
.db file.MIT