What Claude Mem does
claude-mem gives coding agents memory between sessions. Hooks in your agent pass each tool call (files read, edits, commands) to a small local worker; a second "observer" model turns that activity into short observations and writes a summary when the session ends. The next session in the same project starts with a compact index of those observations, and the agent pulls full details only when it needs them through three MCP tools (search, timeline, get_observations). Memory lives in ~/.claude-mem as a SQLite database, with Chroma vector search on top, and a local web viewer shows sessions, observations and settings. Anything wrapped in <private> tags is never stored.
Install with npx claude-mem install, which detects the agents on your machine, or from the Claude Code plugin marketplace (/plugin marketplace add thedotmack/claude-mem). The README lists support for Claude Code, Codex, Cursor, OpenCode, T3 Code, Antigravity CLI, OpenClaw gateways and others; Copilot CLI, Goose, Roo Code and Warp can search memory but their sessions are not recorded. The observer can run on the hosted CMEM service, your own OpenRouter or Gemini key, or your Anthropic plan. Anonymous usage analytics are on by default and can be turned off with npx claude-mem telemetry disable.
