Comparison

ZenBrain vs Zep

Research-based 7-layer memory vs. a temporal knowledge graph with automatic fact extraction.

3 November 2026

ZenBrain

9 foundational algorithms and 6 PMA components, sleep replay as a function, Retention Curves

Zep

Temporal knowledge graph with fact extraction and thread summaries

Zep is a strong chat memory system with fact extraction and session summaries — ideal for chatbot developers who need fast memory. There is no measured comparison against Zep. ZenBrain differs in its mechanisms and self-hosting, Zep in its temporal knowledge graph.

FeatureZenBrainZep
Memory Layers7 layersGraph (episodes, entities, communities)
Sleep Consolidation✓✗
Fact Extraction✗✓
Session Summaries✗✓
Spaced Repetition✓✗
Temporal Awareness✗ (Roadmap)✓
Self-Hosted✓~
Zero DependenciesCore and algorithms: yesn/a (source not public)

Choose ZenBrain if you...

  • Need a deep, differentiated memory system
  • Want forgetting curves as functions and explicit forget()
  • Want to leverage neuroscience models
  • Need full control over algorithms and infrastructure
  • Are building TypeScript projects

Zep is enough if you...

  • Need fast chat memory for a chatbot
  • Want automatic fact extraction from conversations
  • Need session summaries for context
  • Prefer managed cloud

Frequently asked questions

What is the difference between ZenBrain and Zep for AI memory?

ZenBrain is a fully open-source, self-hostable memory library with seven neuroscience-grounded memory layers and algorithms such as FSRS-style spaced repetition, Hebbian learning and Ebbinghaus decay. On Zep’s side the open part has shifted: since April 2025 Zep no longer maintains or releases the Community Edition (Zep blog, 2 April 2025). What remains open and actively maintained is Graphiti, the Apache 2.0 temporal knowledge-graph framework that powers Zep Cloud; the getzep/zep repository is explicitly not the product but holds examples, integrations and benchmarks. ZenBrain targets developers who want full control of the memory architecture; Zep targets teams that prefer a managed memory API.

Is ZenBrain free compared to Zep?

ZenBrain (@zensation/algorithms and @zensation/core) is Apache 2.0 and free to use, including commercially — no usage fees, no rate limits, no per-user pricing. On Zep’s side Graphiti is likewise Apache 2.0 and free; what is commercial is the hosted Zep Cloud platform. The former Community Edition is no longer a point of difference: since April 2025 Zep no longer maintains or releases it (Zep blog, 2 April 2025).

Does ZenBrain support temporal knowledge graphs like Zep?

No — and that is the honest position. Temporal reasoning is roadmap for ZenBrain and not wired: the architecture carries timestamps and an episodic memory, but we have no benchmark result on the temporal axis; an internal run scored zero per cent there because the timestamp was not passed through. If you need temporal reasoning over a knowledge graph, Graphiti is the better fit — it is open source under Apache 2.0 and built for exactly that.

How does ZenBrain handle sleep consolidation?

ZenBrain includes a sleep-consolidation module that simulates offline replay: it selects important memories for reinforcement and prunes weak associations. The module ships as a function in @zensation/algorithms; consolidate() in the MemoryCoordinator does not call it but turns emotionally weighted episodes into facts. The mechanism is conceptually grounded in sleep-dependent memory consolidation research (e.g. Stickgold & Walker, 2013, https://doi.org/10.1038/nn.3303). A comparable mechanism is not described in Zep’s public documentation as of 16 October 2026; Mem0’s names a platform consolidation ("Dream") — a statement about their documentation, not about their implementation.

Can ZenBrain be used for production AI agent memory?

Yes, pre-1.0 with possible API changes. The MemoryCoordinator puts the memory layers behind one API: store(), recall(), consolidate(), decay() and an FSRS-style review queue. The algorithms come from ZenAI, our first product. Zep is production-ready too; per the vendor its most capable features run primarily through the hosted Zep Cloud service, whereas ZenBrain runs entirely on infrastructure you control.