claude-mem
claude-mem by thedotmack is a viral open-source persistent memory system (Apache 2.0) engineered to solve one of the most frustrating bottlenecks in AI-assisted software development: the complete context amnesia coding agents experience between fresh sessions.
Rather than dumping unpruned, token-heavy conversation transcripts into subsequent prompts—which inflates API bills and exhausts context windows—Claude-Mem deploys a lightweight companion observer agent that operates in the background. As the primary coding agent implements features and fixes bugs, Claude-Mem continuously captures concise project notes, architectural decisions, and resolved gotchas, compiling them into a local hierarchical SQLite and vector memory database.
On subsequent launches across Claude Code, Codex, Cursor, OpenCode, and 11 other harnesses, Claude-Mem injects a compact index of relevant historical decisions, dynamically retrieving granular context via MCP search tools only when triggered. Teams deploying it should note that running the background note-taking daemon incurs minor auxiliary API token expenses, and massive uncommitted branch switches outside the CLI require manual memory re-indexing.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-11-12
- Commits, last 90 days
- 100+
- Releases, last 90 days
- 30
- Latest release
- v15.18.3 (2026-11-12)
- Open issues
- 87
- Recent issues with at least one comment
- 4/5
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Most discussed open issues
- #3606 [plan-18] Observer Response Pipeline — classify every output, never confirm a batch on failure, bound every history45 comments · 2026-08-16
- #3607 [plan-19] Observer Subprocess Isolation — an explicit env, cwd, config, tool set and auth source for the headless generator, with loud degra25 comments · 2026-08-16
- #3603 [plan-15] Worker Port & Liveness Authority — one verified answer to "is a worker serving this port?"24 comments · 2026-08-16
- #3609 [plan-21] SQLite Schema Evolution & Queue State Integrity — one DDL path guarded by introspection, immutable session keys, and queue/session23 comments · 2026-08-16
- #3602 [plan-14] Child Process Ownership — every process the worker spawns dies with the worker18 comments · 2026-08-16
Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.
Compatibility
Quick start
Use cases
Alternatives
Comments
No comments yet. Be the first!