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
★ 115,560⑂ 10,032👁 359⑃ 2,839● 2,390▤ 391◈ 246
115,560
stars
+447+5,032+19,021
10,032
forks
359
watchers
2,839
prs
2,390
issues
391
releases
246
discussions
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
Your coding agent forgets everything between sessions. Claude-Mem remembers for it.
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 and Warp can search your memory, but their sessions aren't recorded.
---
Quick Start
Installing for someone as an AI agent? Run npx claude-mem install --runtime worker on their computer in an interactive terminal (enable PTY in your shell tool). It first asks in the terminal which agents to set up and, for Claude Code, whether to disable native auto-memory (and whether to overwrite an existing install). Relay each question to the user and type their answer, or pass --ide to skip the first one. Keep the installer running. When it prints Continue setup in your browser, open that URL in the user's browser if the installer hasn't already opened it. Let the user go through setup and make their own choices, including the usage-analytics question the installer may ask at the end. If you can't run an interactive terminal on their computer, give them the command to run locally.
bash
npx claude-mem install
The installer finds the agents on your machine and asks which ones to set up. Then just start working: observations stream in from your first prompt, and your second session in a project opens with memory from the first. (Copilot CLI, Goose, Roo Code and Warp get memory search only, so their sessions don't add to it.)
The installer sets everything up first, then asks you to sign in to claude-mem in your browser (email magic link, no card required to sign in). Choosing the claude-mem observer then starts its 30 Day Free Trial on a checkout page that asks for a payment method; once it completes, the installer saves your memory key. With the observer, memory runs off-plan, so you get up to 100% more usage from youTop 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 degradation25 comments · 2026-08-16#3609[plan-21] SQLite Schema Evolution & Queue State Integrity — one DDL path guarded by introspection, immutable session keys, and queue/session states that can actually transition23 comments · 2026-08-16#3603[plan-15] Worker Port & Liveness Authority — one verified answer to "is a worker serving this port?"23 comments · 2026-08-16#3602[plan-14] Child Process Ownership — every process the worker spawns dies with the worker18 comments · 2026-08-16#3610[plan-22] Chroma Sidecar Contract — host-safe spawn with pinned deps and a clean env, single-writer upsert sync, honest fallback (or retire the sidecar)16 comments · 2026-08-16#2785[plan-12] Provider & Extensibility Roadmap — net-new capabilities, not defects16 comments · 2026-06-05#3605[plan-17] Hook Wrapper Contract — thin, cheap, and fail-open on every host15 comments · 2026-08-16
Discussions
#54891230 comments · 2026-11-08#5338https://github.com/thedotmack/claude-mem/issues/new/choose0 comments · 2026-11-03#5319Context closing0 comments · 2026-11-03#5299Limits0 comments · 2026-11-02#5273tes1 comments · 2026-11-02#5153Cloud Alter Ego: one memory for every AI chat, stored in your own cloud0 comments · 2026-10-28#5046Experiment: optional source_paths bridge from reviewed memory to Graphify0 comments · 2026-10-24#5026How does Smart search handle stale or conflicting memories?2 comments · 2026-10-23
Latest release
v15.12.0 v15.12.0 2026-11-07Images are kept by default and show in My Work - Kept by default: screenshots and images your agent reads or makes are now kept and linked to the observations from that turn, without sending them to an AI model. Image inference stays off (5426). - "Keep images" switch: the memory viewer's Settings has a new Images section. Turning Keep images off stops keeping new images; images already kept stay. A "false" you saved yourself is respected (5426). - Gallery in My Work: request cards show an image count and the first four thumbnails; the request drawer shows every linked image; any thumbnail op
相关报道 (10)
51CTO七牛云行业应用2026-10-30bilibili这周 GitHub 上涨星最猛的 10 个 AI 开源项目2026-10-17techritualGitHub 每月飆升榜:開發者追蹤熱門開源項目新捷徑2026-07-26blog.csdn【GitHub】Claude-Mem 深度解析:为 Claude Code 装上“永久记忆脑“2026-05-07腾讯网斩获30.5k Star!Claude Code长期记忆插件Claude-Mem开源,实现跨会话上下文无缝保留2026-02-24新浪财经开源插件引爆大模型暗战:Claude‑mem爆红背后,是 AI 大厂最不想公开的赚钱秘密2026-10-28腾讯新闻本周最猛的10个 AI 开源项目2026-10-1851CTOClaude Code进阶指南:装这九个Skill 才算真正上手 原创2026-03-25QQ NewsAI编程节省95% token,工具调用上限狂飙20倍,开源记忆系统登顶GitHub热榜2026-02-08www.80aj.comClaude-Mem v8.6.0:解锁国产模型,告别 API 束缚2026-01-05
News & coverage (10)
Hacker NewsInstalling claude-mem uploads your last 30 days of prompts to cmem.ai, no opt-in▲ 3 · 0 comments · 2026-10-29Hacker NewsClaude-Mem▲ 2 · 1 comments · 2026-03-28note[GitHub Daily Report] claude-mem takes the top spot with +1,723, impeccable ranks for the 12th consecutive day — 2026-11-012026-10-31noteDesign Differences Between agentmemory and claude-mem for Fixing Coding AI Amnesia2026-06-30ad-hoc-newsClaude-Mem löst das Amnesie-Problem von KI-Codierassistenten2026-02-03Augment Codeclaude-mem v13.8.0: Persistent Agent Memory Across Sessions2026-06-23Augment Codeclaude-mem hits 74.8K stars with agent memory persistence2026-05-11Augment Codeclaude-mem hits 65.8K stars as a persistent memory plugin for Claude Code2026-04-23Augment Codeclaude-mem hits 46.1K stars as persistent memory plugin for Claude Code2026-04-07How-To GeekClaude vs. Gemini: Which one actually writes better code?2026-02-16