claude-mem social preview
rag100,788Apache 2.0

claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context…

Updated Oct 15, 2026
Platforms
Pricing
free-open-source
Status
active
License
Apache 2.0

What it does

Core capabilities at a glance

  • AI Agents
  • AI Memory
  • Anthropic
  • Artificial Intelligence
  • Chromadb
  • Claude
  • Claude Agent SDK
  • Claude Agents

Deep dive

The full breakdown - performance, comparisons, and setup

claude-mem

claude-mem is a RAG toolkit - 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.

Overview

Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect.

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.

Awareness push pilot (LFG + Orifice): 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. Disable with 'CLAUDE_MEM_GROK_BOT_AWARENESS_ENABLED=false'.

The installer sets everything up first, then asks you to sign in to claude-mem in your browser (email magic link — no card required). Signing in provisions a memory key for your account and unlocks the claude-mem observer with a 30 Day Free Trial: 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 memory provider — the claude-mem observer, your own OpenRouter or Gemini key, or your Anthropic plan.

claude-mem is open-source, written primarily in TypeScript, with 100,788 GitHub stars under the Apache 2.0 license. The latest release is v13.39.0 (2026-10-13).

Key capabilities

From the project's documentation:

  • 🧠 Persistent Memory - Context survives across sessions
  • 📊 Progressive Disclosure - Layered memory retrieval with token cost visibility
  • 🔍 Skill-Based Search - Query your project history with mem-search skill
  • 🖥️ Web Viewer UI - Real-time memory stream at the worker URL printed on startup
  • 💻 Claude Desktop Skill - Search memory from Claude Desktop conversations
  • 🔒 Privacy Control - Use tags to exclude sensitive content from storage

How it fits a local-AI stack

claude-mem runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related RAG toolkits in the directory:

Sources

Stats from GitHub, 2026-10-15.

Frequently asked

Quick answers to common questions

What is claude-mem?

claude-mem is a rag tool for local AI workloads. Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context…

Is claude-mem free and open source?

Yes, claude-mem has 100,788 GitHub stars and is licensed under Apache 2.0. You can self-host it for free on .

What hardware do I need for claude-mem?

The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. claude-mem has 100,788 GitHub stars and an active community.

Does claude-mem support GPU acceleration?

claude-mem's GPU support depends on your specific setup. Check the documentation for details. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.

What are the best alternatives to claude-mem?

Popular alternatives include other rag tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.

How much does claude-mem cost?

claude-mem is free-open-source. It is completely free and open source to self-host.

Pairs well with

Complementary tools, models, and hardware