claude-mem
thedotmack/claude-mem · Updated
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
thedotmack/claude-mem is a TypeScript repository in the AI Agents category with 104,229 stars and 9,195 forks on GitHub, released under the Apache-2.0 license, last updated today.
How to install claude-mem in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install claude-mem in Claude CodeAnthropic's agentic CLI
Clone & open
bashgit clone https://github.com/thedotmack/claude-mem.git cd claude-mem claudeLet Claude read it
Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.
How to install claude-mem in Claude DesktopDesktop app (MCP config)
Clone the repository
bashgit clone https://github.com/thedotmack/claude-mem.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install claude-mem in CursorAI-first code editor
Clone & open in Cursor
bashgit clone https://github.com/thedotmack/claude-mem.gitIndex & chat
Open the folder — Cursor indexes it automatically. Use @Codebase in chat to ask about it or scaffold from it.
How to install claude-mem in Codex CLIOpenAI coding agent
Clone
bashgit clone https://github.com/thedotmack/claude-mem.gitPoint Codex at it
Run codex in the repo root; add setup notes to AGENTS.md so the agent knows how to build & test.
How to install claude-mem in WindsurfCodeium's agentic IDE
Clone & open
bashgit clone https://github.com/thedotmack/claude-mem.gitUse Cascade
Windsurf indexes the workspace; ask Cascade to explain or reuse modules from the repo.
How to install claude-mem in ClineVS Code autonomous agent
Clone the repository
bashgit clone https://github.com/thedotmack/claude-mem.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install claude-mem in VS CodeCopilot / MCP support
Clone the repository
bashgit clone https://github.com/thedotmack/claude-mem.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
Documentation
Full README
🇨🇳 中文 • 🇹🇼 繁體中文 • 🇯🇵 日本語 • 🇵🇹 Português • 🇧🇷 Português • 🇰🇷 한국어 • 🇪🇸 Español • 🇩🇪 Deutsch • 🇫🇷 Français • 🇮🇱 עברית • 🇸🇦 العربية • 🇷🇺 Русский • 🇵🇱 Polski • 🇨🇿 Čeština • 🇳🇱 Nederlands • 🇹🇷 Türkçe • 🇺🇦 Українська • 🇻🇳 Tiếng Việt • 🇵🇭 Tagalog • 🇮🇩 Indonesia • 🇹🇭 ไทย • 🇮🇳 हिन्दी • 🇧🇩 বাংলা • 🇵🇰 اردو • 🇷🇴 Română • 🇸🇪 Svenska • 🇮🇹 Italiano • 🇬🇷 Ελληνικά • 🇭🇺 Magyar • 🇫🇮 Suomi • 🇩🇰 Dansk • 🇳🇴 Norsk
Persistent memory compression system built for Claude Code.
Quick Start • How It Works • Search Tools • Documentation • Configuration • Troubleshooting • License
Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect.
Quick Start
Install claude-mem for Grok Bot:
npx claude-mem install --ide grok-botGrok Bot has no host hooks, so we watch the chat log files. Default is CMEM Pro, the hosted memory. Local observer is opt-in: --provider host. Installing this plugin does not install Cursor.
Awareness push pilot (LFG + Orifice): needle observations (decision, bugfix, security_alert, sensitive) are appended as dated - YYYY-MM-DD [awareness] … lines into that bot's memory/log/YYYY-MM.md. Grok Bot already re-reads the log from disk. This does not write profile.md, user-memory, or project memory. Disable with CLAUDE_MEM_GROK_BOT_AWARENESS_ENABLED=false.
Install with a single command:
npx claude-mem installExcerpt — the full document is on GitHub.
More AI Agents repositories
- AI Agents265k
deepseek-harness
DeepSeek Harness: Everything is a Plugin.
TypeScriptMITdeepseek-ai/deepseek-harness
- AI Agents258k
hermes-agent
The agent that grows with you
PythonMITNousResearch/hermes-agent
- AI Agents197k
firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScriptAGPL-3.0firecrawl/firecrawl
- AI Agents180k
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
JavaScriptMITDietrichGebert/ponytail
- AI Agents149k
langchain
The agent engineering platform.
PythonMITlangchain-ai/langchain
- AI Agents110k
orca
Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScriptMITstablyai/orca
Catalog data refreshed . Something wrong? Report it.