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

★ 117,321⑂ 10,191👁 362⑃ 3,402● 2,487▤ 407
TypeScriptApache-2.0Created 2025-08-31claude-mem.ai
Download: v15.18.5v15.18.5 ↓15.18.52026-11-15
+278
Daily
+2,208
Weekly
+17,286
Monthly
117,321
stars
10,191
forks
362
watchers
3,402
prs
2,487
issues
407
releases

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, Warp and Zed can search your memory, but their sessions aren't recorded.


---

 Quick Start

Installing for someone as an AI agent? If the user is available, run npx claude-mem install --setup browser on their computer and keep it running. It prepares the local runtime, then opens setup in their browser; if the page doesn't open, give them the printed URL. Every choice (agents, integrations, skills, model, usage analytics, the optional email) is made by the user on that page, so there are no terminal questions to relay. If the user is away, run npx claude-mem install --setup defer: it prepares the runtime and leaves setup waiting for their first visit, and their next session shows them the link. Don't make their choices for them.

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, Warp and Zed 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 your plan. When the free trial ends, memory automatically falls back to your Anthropic plan unless you subscribe. After sign-in you pick your me

Top issues

Discussions

Latest release

v15.18.5 v15.18.5 2026-11-15
Critical fixes

- The tree-sitter CLI installs on networks where its download script keeps failing (6110, thanks @rigel905, closes 6109). On some networks tree-sitter-cli's own install.js had its request reset every time, or exited 0 on a truncated file. The pinned SHA-256 check correctly refused the file, but nothing recovered after that, so smart_search, smart_outline, smart_unfold and the File Read Gate stayed off on every worker start, and npx claude-mem repair aborted. Now, when the script fails or leaves anything but the pinned executable, claude-mem fetches the same release asset direct

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON