thedotmack/claude-mem
Repository · https://github.com/thedotmack/claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
First seen by Oriel on .
AI summary
Claude-Mem is an Apache-2.0 persistent memory system that captures agent activity, compresses observations, and injects relevant project context into later sessions across multiple coding agents.
- Lifecycle hooks capture session events and tool usage, while a Bun-managed worker stores sessions, observations, and summaries in SQLite.
- Its MCP search workflow uses search, timeline, and get_observations to progressively retrieve context, claiming approximately 10x token savings through filtering.
- Hybrid retrieval combines SQLite FTS5 and Chroma vector search, with configurable context injection, AI models, worker ports, data directories, and workflow languages.
- Claude-Mem supports Claude Code, OpenCode, T3 Code, OpenClaw, Pi, DeepSeek Harness, and other integrations, with local or hosted memory-provider options.
- Privacy controls include <private> tags and opt-in screenshots; Cloud Sync uploads media only when enabled, while TeamBrain provides optional shared workspaces.
#agent memory #claude code #mcp #vector search
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Stars
Total repository stars at each observation.
- GitHub Trending: 113,228, latest observation ; +9,049 over observed period since
Stars gained (1d)
Daily star gain reported by GitHub Trending. A change compares two daily values; it is not additional stars between observations.
- GitHub Trending: 1,172, latest observation ; +848 over observed period since
Forks
Total repository forks at each observation.
- GitHub Trending: 9,822, latest observation ; +632 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| GitHub Trending | thedotmack/claude-mem | https://github.com/thedotmack/claude-mem Read discussion |