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
- ai
- ai-agents
- ai-memory
- anthropic
- artificial-intelligence
- chromadb
- claude
- claude-agent-sdk
- claude-agents
- claude-code
- claude-code-plugin
- claude-skills
- embeddings
- long-term-memory
- mem0
- memory-engine
- openmemory
- rag
- sqlite
- supermemory
- Stars
- 96,632
- Forks
- 8,526
- + today
- +1
- Created
- 1y
Ranking data as of November 24, 2026 (UTC).
Star History
Today, hour by hour
Overview
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 It ranks #4194 on GitTiger, gaining +1 star on November 24, 2026 (UTC).
The project is written in TypeScript and has 8,526 forks. It was created 1y ago.
Project
claude-mem is a TypeScript project described as persistent context across agent sessions. It captures session activity, compresses it with AI, and injects relevant context into later sessions. The description names Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, and OpenCode, among others. The supplied description is the complete basis for this profile, so no additional function or implementation should be inferred.
Capabilities
The stated capability is carrying relevant context between sessions through capture, AI compression, and later injection. Retention, storage, privacy controls, configuration, and integration details are not supplied. These details define the available scope; anything beyond them remains unknown. The repository README is the appropriate place to check for fuller documentation, but this profile does not assume what it contains.
Getting started
Setup steps were not supplied. Consult the repository README for the project’s own setup and usage guidance before proceeding. No commands, dependencies, installation method, or operating instructions are added here. Use the documented details there to determine whether the repository fits your use case.
git clone https://github.com/thedotmack/claude-mem.git
cd claude-mem
# see README for setupFrequently Asked Questions
Which agents are named?
Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, and OpenCode, plus others.
How is context handled according to the description?
Session activity is captured, compressed with AI, and relevant context is injected into later sessions.