[ Compare ]

How Membral compares

Membral is one of several ways to give a coding agent a past. This page compares it with the common approaches by category, not by product, so every row describes how the approach works rather than any one tool's features.

[ · approaches compared by category ]

approaches compared by category

QuestionHand-kept notes (CLAUDE.md, AGENTS.md, rules files)Each agent's own transcript historyHosted memory serviceMembral
Where it livesFiles in your repo or home directoryPer-agent folders on diskThe vendor's serversDocker on your machine (Postgres + pgvector)
Who writes itYouThe agent, automatically, as raw transcriptsUsually an extraction model the service runsAn extraction model you choose (Claude login, Ollama 7B+, or an API key)
Covers several agentsOnly if you copy it between filesNo, one store per agentDepends on the serviceYes: Claude Code, Codex CLI, opencode, GitHub Copilot, Antigravity
Keeps the original wordsWhatever you wroteYes, it is the transcriptDepends on the serviceYes: each decision and learning keeps its verbatim quote and links to the session turn
SearchRead the file, or grepPer-agent resume or search, if offeredDepends on the serviceBy meaning (needs an embedder), keyword fallback, over MCP
Check a recalled fact against its sourceYou remember where it came fromOpen the transcript yourselfDepends on the serviceget_code_session with a turn shows the turns around the quote
Where session text goesStays where the file isStays on diskTo the serviceStays on your machine, except model calls: an API key sends session text to that provider, a Claude login sends it to Anthropic through Claude Code
Effort to keep currentManualNoneDepends on the serviceNone after setup (end-of-session hooks plus a 20-minute sweep)
The Membral column states only what the README documents.

When each fits

  • Hand-kept notes are the right place for rules every session must follow. Membral does not replace them; it records what happened and what was decided, not the standing rules you want applied.
  • Per-agent history is enough if you use one agent and only need to resume a recent session.
  • A hosted service suits you if you would rather not run containers and are fine with session text leaving your machine. Check each service's own documentation for what it stores and whether quotes are kept.
  • Membral suits you if you use more than one agent, want recalled facts to carry their source, and want the store local.

Limits of Membral

  • One store per person; no team or admin controls yet.
  • It is not live state: whether a PR is merged or what is deployed is checked in your forge.
  • You run Docker (Compose 2.23+) and need one extraction model.
  • Prompt-time lookup works in Claude Code only; the other agents get the session-start preamble and MCP search.
  • Without an embedder, search is keyword-only.