NewsCrawler.org

claude-mem: persistent cross-session memory for Claude Code and other agents

Claude-Mem Preview
Image: github.com

claude-mem is a persistent memory compression system for coding agents, trending on GitHub with 1723 stars today. Built for Claude Code, it captures everything the agent does during a session, compresses it with AI, and injects relevant context back into future sessions. It automatically records tool usage observations, generates semantic summaries[1] of them, and makes them available to later sessions, so knowledge about a project survives after sessions end or reconnect. It also works with OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode and other tools.

Installation runs through `npx claude-mem install`, which sets everything up and then asks the user to sign in to claude-mem in the browser via an emailed link, with no card required. Signing in provisions a memory key and unlocks the claude-mem observer with a 30-day free trial, during which memory runs off-plan for up to 100% more usage; when the trial ends, memory falls back to the Anthropic plan unless the user subscribes. Users can instead pick another memory provider — their own OpenRouter or Gemini key or their Anthropic plan — or skip sign-in entirely with an explicit `--provider` flag, the `CLAUDE_MEM_ONLINE_OPTIN=false` setting, or by running the installer in CI[2] or non-interactive shells. Separate install commands cover OpenCode, T3 Code, Antigravity CLI, OMP (Oh My Pi), Pi, DeepSeek Harness and OpenClaw gateways, and the plugin can also be added from inside Claude Code's plugin marketplace. The README warns that `npm install -g claude-mem` installs only the SDK[3] — it does not register the plugin hooks[4] or set up the worker service.

Among the listed features are layered memory retrieval with token cost visibility, a three-step mem-search skill for querying project history, a TeamBrain shared workspace, privacy tags that keep sensitive content out of storage, and citations that reference past observations by ID through the worker API or a web viewer.

Read the original github.com

Sources

  • GitHub Trending

    thedotmack/claude-mem

    1,172 stars today113,240 stars9,823 forks

First seen: Читать по-русски

Open as a page