agentmemory repo
Persistent memory for AI coding agents: auto-captures sessions via hooks, stores locally in SQLite with the iii-engine, and exposes 51 MCP tools for remember, recall, recap, handoff, forget, commit-context, commit-history, and session-history operations.
What it does for you: agentmemory drops 12 hooks directly into Claude Code that capture every session, decision, and artefact without any manual save step, which is exactly the gap that causes repeated cold-start errors in Axion agent runs. When a new session begins, the recall hook surfaces exactly what the previous agent left off, cutting context-window burn and the time spent re-orienting to prior work. The 51-tool MCP server means Hermes can read and write the same memory store as Claude Code, giving both runtimes one shared knowledge base.
In practice: Benchmark-first, zero external dependencies, opinionated in the best way. Feels like the missing persistence layer every Claude Code workflow has needed.
For: Both runtimes. Zero-dependency local-first library; 12 auto-capture hooks ship for Claude Code, 6 for Codex CLI, and a 51-tool MCP server covers every other client including Hermes.
Verdict: test first. Score 30, one point below the 32 build-now threshold stated in dissent. 95.2% R@5 on LongMemEval-S is the strongest published retrieval benchmark in this class. Wire one Claude Code hook, confirm recall quality on a real Axion session, then promote to build now.
Build #1 agentmemory: use the ai-implementation-build-intake skill to build this safely. Source: https://github.com/rohitg00/agentmemory. Save canonical skill/agent under AXION\Skills and AXION\Agents.
Source · 9,361 GitHub stars confirmed, 95.2% R@5 on LongMemEval-S vs mem0 at 68.5% per benchmark/COMPARISON.md, 12 Claude Code auto-capture hooks documented, 51 MCP tools listed in README, npm install -g agentmemory install path confirmed, zero external dependencies stated in architecture docs.