claude-mem alternatives: capture vs curate

claude-mem records every session and compresses it with a model. The alternative is curated memory: notes agents write on purpose, in files you read.

On this page

The main alternative to claude-mem is a different approach, not a different recorder. claude-mem captures everything your agent does, has a second model compress it into observations, and feeds an index of them into later sessions. Curated memory, which is what Memorinth does, has the agent write a note on purpose when it learns something, as Markdown you can read and edit. Pick claude-mem if you want memory with zero effort. Pick curated memory if you want to read what your agents remember, correct it, and share it between them.

This is as of November 2026, from claude-mem’s repository and documentation, linked throughout. We read them; we didn’t install or benchmark claude-mem for this post. Claude Code memory: what it keeps, and where maps everything Claude Code remembers, and every guide on it.

claude-mem Curated memory (Memorinth)
How memory is made Hooks hand every tool call to a local worker; an observer model turns them into observations The agent decides what’s worth keeping and writes a note
Effort None after install Low: hooks remind the agent, and you read what it wrote
Extra model calls Yes, for compression No: the agent you’re already running writes the note
Storage SQLite at ~/.claude-mem/claude-mem.db, with Chroma for semantic search Markdown files in a folder you choose
Read and edit it yourself Through its web viewer; a one-way export to Obsidian In any editor, or the Memorinth app
What it keeps What happened, session by session What was learned, decided and is true
Agents Claude Code first, plus Codex, Cursor, OpenCode and more Claude Code, Codex, Cursor and Gemini CLI, plus any MCP client
Licence Apache-2.0, open source Source not public yet

How claude-mem works

claude-mem is a recorder. According to its README, hooks in your agent hand each tool call, what it reads, edits and runs, to a small local worker. A second agent, the observer, turns that activity into short observations and writes a summary when the session ends.

The observer is a model, so every observation costs a model call. The configuration docs set the provider to claude and the model to haiku by default. The README offers three ways to pay for it: claude-mem’s own hosted observer, which starts a 30-day trial that asks for a payment method; your own OpenRouter or Gemini key; or your Anthropic plan.

Everything lands in a SQLite database in ~/.claude-mem, with Chroma adding search by meaning. The agent searches it through MCP tools named search, timeline and get_observations (search docs).

How many tokens does claude-mem use?

claude-mem doesn’t publish a measured figure, and neither will we. What its docs do say:

  • At session start it injects an index of past observations, 50 by default (CLAUDE_MEM_CONTEXT_OBSERVATIONS), with 5 of them in full detail (CLAUDE_MEM_CONTEXT_FULL_COUNT). There is no token budget setting (configuration).
  • Its own estimates are roughly 50 to 100 tokens per index row and 500 to 1,000 per full observation. The docs say plainly that this “is a size ratio, not a measured recall or end-to-end saving”.

That covers your agent’s context. The observer’s model calls are separate, and they come out of whichever provider you chose above.

Is claude-mem safe?

claude-mem’s own docs answer most of this, and the defaults are worth knowing:

  • Local by default. Memory stays in ~/.claude-mem on your machine. Cloud sync to cmem.ai is opt-in (README).
  • The worker listens on your machine. It’s a local HTTP service on a per-user port, bound to 127.0.0.1 by default (CLAUDE_MEM_WORKER_HOST, configuration).
  • Your activity goes to the observer model. That’s how compression works. Wrap text in <private> tags and it’s dropped before storage. Regex redaction of common secrets exists but is off until you turn it on (auto-redaction).
  • Telemetry is on by default. Anonymous usage events, documented as never including prompts, paths or code. Turn it off with npx claude-mem telemetry disable or DO_NOT_TRACK=1 (telemetry).

If you care where your work goes, the choice of observer provider and those two off-by-default switches matter more than anything else.

Capture everything, or write on purpose?

This is the real decision, and each side has a cost.

Capturing everything means nothing is missed. claude-mem records the dead ends no agent would have thought to write down, and you never have to ask. The cost is that memory is a log of what happened, compressed by a model you didn’t watch. When an observation is wrong, you find out when the agent acts on it.

Writing on purpose means memory holds only what someone judged worth keeping: why a choice was made, the cause of a bug, a fact with a source. It’s shorter, and you can read all of it. The cost is that it depends on the agent’s judgment. An agent that doesn’t save, saves nothing.

Memorinth narrows that gap with hooks rather than recording. In Claude Code, a stop hook checks whether the agent changed files and saved nothing; if so, it asks the agent to consider saving before it finishes (How agents use it). The agent still decides.

Where claude-mem is the better choice

  • You want memory and nothing else to think about. Install it and it works. No habits to learn, no notes to read.
  • You want a timeline. “What did I do on that branch last Tuesday” is a question a recorder answers and curated notes mostly don’t.
  • You want open source today. claude-mem is Apache-2.0. Memorinth’s source isn’t public yet.
  • You use an agent Memorinth doesn’t set up. claude-mem lists many more integrations, including OpenCode, Cline and Aider.

Where curated memory is the better choice

  • You want to read it. A Memorinth memory is a Markdown note in memory/, in the agent’s own words, saying which agent wrote it (Memory). claude-mem’s notes live in a database; its Obsidian export is one-way and edits don’t go back.
  • You want to correct it. Edit the file. The next session reads your version.
  • You want decisions that hold. Memorinth keeps decisions that are superseded rather than edited, and facts with a source that come up for a recheck after 180 days (Decisions, Facts). A log of observations has no idea of what’s current. More on this in /blog/decisions-and-facts-for-agents.
  • You want no extra model in the loop. Nothing calls a model to save a note, and search by meaning runs on a local model, offline.
  • You want several agents on one memory. memorinth init connects Claude Code, Codex, Cursor and Gemini CLI to the same cortex at once, so what one learns the others find.

You can also run both: claude-mem as the recorder, a cortex for what should last. They don’t share storage, so nothing conflicts, but you’d be paying for two kinds of context at session start.

Other claude-mem alternatives

If neither approach fits, the neighbours are:

To try curated memory with Claude Code, start with Give Claude Code a long-term memory.

All posts