claude-mem

Claude-Mem captures agent sessions, compresses them with AI, and injects relevant context into later sessions.

Automatically checked · GitHub checked 2026-11-20

claude-mem

Overview

Claude-Mem runs an observer agent that takes notes while another agent works, then gives later sessions a compact index of observations and loads full details when needed. It supports Claude Code, Codex, Cursor, OpenCode, Gemini, Hermes, Copilot, OpenClaw, and other agents, with memory injection beginning in a project's second session. Repository installation includes a Docker Compose example with Valkey, while the worker and viewer provide session monitoring, memory review, and optional team sharing.

Summarized by AI from the linked sources. Sources: Project README · Checked

Good fit for

Claude-Mem suits teams and developers using supported coding agents that need persistent project context, searchable session history, or optional shared review workflows.

Before you switch

Adoption requires an initial setup and project-specific capture, and only sessions from supported, recording agents are stored; Copilot CLI, Goose, Roo Code, Warp and Zed can search memory but their sessions are not recorded. The project uses the Apache-2.0 license, includes a Docker Compose example with Valkey, and its latest release is v17.1.1 dated 2026-11-29.

Install and run

Install options in the repository
Docker Compose example
Services in the Compose example
Valkey

Sources: Compose file · Checked

Releases and upgrades

Latest release
v17.1.1, 2026-11-29
Releases in the last 12 months
30 or more
Recent releases with upgrade notes
v17.1.1, v17.1.0, v17.0.2

Sources: v17.1.1 release notes, v17.1.0 release notes, v17.0.2 release notes, GitHub releases · Checked

Overview

Everybody gets Cloud Sync! Visit the Claude-Mem homepage.


Claude-Mem

Vercel OSS Program     Greptile     SerpApi

🇨🇳 中文 • 🇹🇼 繁體中文 • 🇯🇵 日本語 • 🇵🇹 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

Your coding agent forgets everything between sessions. Claude-Mem remembers for it.

License Version Node Mentioned in Awesome Claude Code

Star History Rank GitHub Trending Repository of the Day


Quick Start • How It Works • Search Tools • Documentation • Configuration • Troubleshooting • License

Every new session, your agent starts from zero. It re-reads the same files, re-asks the same questions, and walks back into mistakes you already fixed together.

Claude-Mem runs a second agent beside it that takes notes while it works. The next session starts with a short index of what matters, and pulls in the details only when it needs them. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents. Copilot CLI, Goose, Roo Code, Warp and Zed can search your memory, but their sessions aren't recorded.


Grok Bot

Grok 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.

Opt-in awareness push: 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. Enable with CLAUDE_MEM_GROK_BOT_AWARENESS_ENABLED=true and set CLAUDE_MEM_GROK_BOT_AWARENESS_AGENT_IDS to your agent UUIDs (empty by default).

Read the full README ↗