A persistent-memory compression system for Claude Code and other agent CLIs. Lifecycle hooks capture what the agent does during a session, an AI worker compresses those observations, and a search skill injects relevant context back into future sessions.
- Storage
- SQLite database stores sessions, observations, and summaries; a Chroma vector database holds embeddings for hybrid semantic + keyword (FTS5) search. Observations are addressable by ID via a local HTTP API.
- Retrieval
- MCP search tools with progressive disclosure: a compact `search` index (~50-100 tokens/result), a `timeline` for chronological context, and `get_observations` to fetch full details only for filtered IDs — claimed ~10x token savings by filtering before fetching.
- Self-host
- Self-host: moderate
- License
- Apache-2.0
- Pricing
- Open source (Apache-2.0), free to self-host; no managed tier advertised · Free / OSS
- GitHub stars
- 84,855
- Last release
- 2026-06-21
- Last commit
- 2026-06-28
- First catalogued
- 2026-06-28
Strengths
- Very large community (84k+ stars) and active release cadence (v13.8.0, June 2026)
- Works across many agent CLIs via hooks/MCP (Claude Code, Codex, Gemini, Hermes, Copilot, OpenCode)
- Progressive-disclosure retrieval keeps injected context token-light
Watch out
- Named for Claude Code but now multi-agent across many CLIs; the supported-agent list changes often, so verify it against the README
- Self-reported metrics (~10x token savings, compression ratios) are vendor claims, not independently reproduced
- Docs site (docs.claude-mem.ai) is the primary architecture reference — verify storage/retrieval details there
Best for
- Developers wanting drop-in persistent session memory for Claude Code and similar coding-agent CLIs
Benchmark results
No sourced results yet.
Sources
- https://github.com/thedotmack/claude-mem (vendor)
- Claude-Mem Architecture Overview (vendor)
- GitHub API repo metadata (stars, release, license) (third-party)
- Claude-Mem docs — re-verified as an active, maintained Claude Code memory plugin (vendor)
Last verified 2026-06-28 · updated by refresh-framework-cards