mnem: open-source 'Git for agent memory' with branching, real forgetting and zero-LLM ingest

thisdudelikesAI · x · 2026-12-05

The author argues every agent-memory startup is building a database when the right abstraction is Git. mnem is a new open-source memory layer that treats agent knowledge like a codebase: facts, docs and conventions live in a versioned knowledge graph inside a .mnem/ folder you commit alongside code. That gives you branching/diff/merge/rollback of knowledge, real forgetting (revoked facts drop out of every retrieval path with an audit trail), zero LLM calls at ingest for deterministic graphs, and per-query token accounting. It ships as a single Rust binary (Apache-2.0) runnable as CLI, MCP server, HTTP server, Python library or WASM, with one-command integration into Claude Code, Cursor and Gemini CLI. In its own benchmark vs mem0, Letta, Graphiti, Cognee, Supermemory and others, it claims best-or-tied recall.

Original post →

More from coding & agent

coding & agent channel →