What is claude-mem?
TL;DR: Open-source plugin that gives coding agents persistent, compressed memory across sessions.
claude-mem captures what your coding agent does during a session, compresses it with AI and injects the relevant context into future sessions. It started as a Claude Code plugin and now also works with agents such as Codex, Gemini CLI and OpenClaw. It is one of the most-starred memory add-ons for developers who are tired of re-explaining their codebase every time.
Best for: Claude Code and CLI-agent users who want memory that carries over between sessions.
claude-mem key features
- Automatic capture of agent actions and decisions
- AI compression of session history
- Relevant context injected into new sessions
- Open source; supports several CLI agents
Use cases
- Resuming a multi-day refactor without re-briefing the agent
- Preserving project conventions the agent has learned
- Searching what an agent did in earlier sessions
👍 Pros
- Free and open source
- Low-friction install as a plugin
- Reduces repeated context-setting
👎 Cons
- Compression uses model calls, which add some cost
- Injected memory can occasionally be stale or irrelevant
claude-mem FAQ
- What is claude-mem?
- claude-mem captures what your coding agent does during a session, compresses it with AI and injects the relevant context into future sessions. It started as a Claude Code plugin and now also works with agents such as Codex, Gemini CLI and OpenClaw. It is one of the most-starred memory add-ons for developers who are tired of re-explaining their codebase every time.
- Is claude-mem free?
- claude-mem uses a Open source pricing model (verified Nov 29, 2026).
- Does claude-mem have an API?
- As of Nov 29, 2026, claude-mem does not offer a public developer API.
- Does claude-mem support Chinese, and is it available in China?
- claude-mem does not support Chinese, and it has unverified availability in mainland China.
- What are the best alternatives to claude-mem?
- Popular alternatives to claude-mem include Repomix, Koed, Gitingest, Dyad.
Reviews
No reviews yet. Be the first to share your experience.
