Why Not claude-mem?

April 12, 2026 · View on GitHub

← Back to README

Why Not claude-mem?

claude-mem is a great project (28K+ stars!) that inspired Engram. But we made fundamentally different design decisions:

Engramclaude-mem
LanguageGo (single binary, zero runtime deps)TypeScript + Python (needs Node.js, Bun, uv)
Agent lock-inNone. Works with any MCP agentClaude Code only (uses Claude plugin hooks)
SearchSQLite FTS5 (built-in, zero setup)ChromaDB vector database (separate process)
What gets storedAgent-curated summaries onlyRaw tool calls + AI compression
CompressionAgent does it inline (it already has the LLM)Separate Claude API calls via agent-sdk
Dependenciesgo install and doneNode.js 18+, Bun, uv, Python, ChromaDB
ProcessesOne binary (or none — MCP stdio)Worker service on port 37777 + ChromaDB
DatabaseSingle ~/.engram/engram.db fileSQLite + ChromaDB (two storage systems)
Web UITerminal TUI (engram tui)Web viewer on localhost:37777
Privacy<private> tags stripped at 2 layers<private> tags stripped
Auto-captureNo. Agent decides what mattersYes. Captures all tool calls then compresses
LicenseMITAGPL-3.0

The Core Philosophy Difference

claude-mem captures everything and then compresses it with AI. This means:

  • Extra API calls for compression (costs money, adds latency)
  • Raw tool calls pollute search results until compressed
  • Requires a worker process, ChromaDB, and multiple runtimes
  • Locked to Claude Code's plugin system

Engram lets the agent decide what's worth remembering. The agent already has the LLM, the context, and understands what just happened. Why run a separate compression pipeline?

  • mem_save after a bugfix: "Fixed N+1 query — added eager loading in UserList"
  • mem_session_summary at session end: structured Goal/Discoveries/Accomplished/Files
  • No noise, no compression step, no extra API calls
  • Works with ANY agent via standard MCP

The result: cleaner data, faster search, no infrastructure overhead, agent-agnostic.


Inspired by claude-mem — but agent-agnostic, simpler, and built different.


Next Steps