← Folklore · full comparison

Folklore: an open-source mem0 alternative

Folklore is an open-source (MIT), local-first memory layer for AI agents and a direct alternative to mem0. Unlike mem0 — which runs an LLM extraction on every write and is a single-user store with no provenance — Folklore writes with no per-write LLM call, is CPU-only with no API key, ranks by signed provenance, and federates peer-to-peer.

Star Folklore on GitHub →

Folklore vs mem0

DimensionFolkloremem0
License / costOpen source (MIT), freeOpen source core + hosted paid platform
Per-write costLocal embed — no LLM callLLM extraction on every write (tokens/latency)
DeterminismDeterministic writesLLM-mediated — nondeterministic (recall varies run-to-run)
Signed provenance / poison-defenseYes — flip-ASR → 0No provenance field — flip-ASR 0.625 → 1.0 under poison
Peer federationYes (P2P, shipping)No — single-user
FootprintCPU-only, no API key, any MCP harnessNeeds an LLM (key or local model)
Retrieval (BEIR SciFact NDCG@10)0.7522, CPU — leads CPU retrieversParity at the retrieval layer (same embedder)

Figures from the public, reproducible benchmark; labeled measured vs simulated, negatives kept in.

When mem0 may fit better

mem0's LLM-mediated extraction can distill conversational memories into terse "facts," which suits chat-assistant personalization. If you specifically want LLM-summarized conversational memory and don't need provenance, CPU-only operation, or federation, mem0 is reasonable. Folklore is the better fit when you want poison-defensible, attributable memory that compounds across peers with no per-write LLM cost.

FAQ

Is there an open-source mem0 alternative?

Yes — Folklore (MIT, local-first, CPU-only). It adds what mem0 lacks: no per-write LLM call, signed provenance, and peer federation. Repo + benchmark.

Does mem0 have signed provenance or federation?

No — mem0 is a single-user store ranked by similarity, no cryptographic provenance, no cross-user federation. Folklore adds both.

Does Folklore need an LLM key like mem0?

No. Folklore is CPU-only, no API key. mem0 needs an LLM (key or local model) for its per-write extraction.

See the code + full benchmark →

Last updated: 2026-06-20. Folklore works alone (local) today; P2P federation is shipping. Every number traces to the public benchmark, negatives included. See the full memory-tool comparison.