# claude-mem

> Open-source plugin that gives coding agents persistent, compressed memory across sessions.

- Website: https://github.com/thedotmack/claude-mem
- Category: Coding & Development
- Source page: https://opendirs.com/en/tools/claude-mem
- Pricing: Open source
- Starting price: $0
- Public API: No
- Open source: Yes
- Chinese language: No
- Accessible from mainland China: Unknown
- Platforms: Web
- Country: Unknown
- Last verified: Nov 29, 2026

## Overview

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.

## 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

## Alternatives

- [Gitingest](https://opendirs.com/en/tools/gitingest.md)
- [Koed](https://opendirs.com/en/tools/koed.md)
- [Repomix](https://opendirs.com/en/tools/repomix.md)
- [OpenCode](https://opendirs.com/en/tools/opencode.md)
- [Context7](https://opendirs.com/en/tools/context7.md)

## 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 Gitingest, Koed, Repomix, OpenCode.

_Last verified: Nov 29, 2026_