claude-mem logo

claude-mem

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

version 13.4.0node >=20.0.0
star-history chart
Website GitHub

What is it?

What it is

src="https://raw.githubusercontent.com/thedotmack/claude-mem/main/docs/public/cm-preview.gif"

Why it exists

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

Who should use it

Teams building with JavaScript who want an open-source, self-hosted option.

Who should avoid it

Teams that need a fully managed SaaS with enterprise SLAs out of the box.

How it works

A quick walkthrough in plain English

How claude-mem works in 4 steps

Step 1 of 4

Something triggers the flow

A schedule, webhook, or manual click tells claude-mem to start.

Features

Ai
Ai Agents
Ai Memory
Anthropic
Artificial Intelligence
Chromadb

Advantages

  • Open source (Apache-2.0)
  • Active JavaScript ecosystem
  • Self-hosted deployment options

Disadvantages

  • Requires operational ownership for self-hosted setups
  • Community support varies by project maturity

Installation

native

npx claude-mem install

FAQ

What is claude-mem?

claude-mem is an open-source project licensed under Apache-2.0.

What language is claude-mem built with?

Primary language: JavaScript.

Is it free to use?

Yes. Licensed under Apache-2.0. Check the license for commercial use.

Loading documentation…
View on GitHub

Featured in Videos

YouTube tutorials and walkthroughs for claude-mem

Alternatives

Similar projects ranked by category, topics, and text overlap.

Compare
claude-mem | MushyBook