Skip to content
zensation

Research overview

Three tracks, architecture and agenda

Publications

Preprints, software, identifiers

Methodology

Operational standards and validation

Research ethics

Fundamental rights and compliance

Resources

Code, data, citation, open science

Adopt AI

Neutral roadmap & interactive simulation

Public sector & funding

Collaborations in the public sector

Protecting public spaces

Track B — rights-preserving early warning

Technology

The architecture behind every application

Playground

Run the open memory core live

Work with usAboutOpen SourceBlog
Contact
zensation
Research overviewPublicationsMethodologyResearch ethicsResources
Adopt AIPublic sector & fundingProtecting public spacesTechnologyPlayground
Work with usAboutOpen SourceBlogContact
  1. Home/
  2. Comparison/
  3. ZenBrain vs Zep
Comparison

ZenBrain vs Zep

Research-based 7-layer memory vs. fast chat memory with automatic fact extraction.

March 2026

9.0ZenBrain

15 algorithms (9 + 6 PMA), Sleep Consolidation, Retention Curves

7.0Zep

Fast chat memory with fact extraction and session summaries

ZenBrain9.0 / 10

Zep is a strong chat memory system with fact extraction and session summaries — ideal for chatbot developers who need fast memory. ZenBrain goes significantly deeper: 7 memory layers, neuroscience algorithms like Sleep Consolidation and Hebbian Learning, and a MemoryCoordinator that orchestrates all layers. For projects that go beyond chat memory, ZenBrain is the better choice.

FeatureZenBrainZep
Memory Layers7 layers2 (Facts + Sessions)
Sleep Consolidation✓✗
Fact ExtractionEntity Resolution✓
Session SummariesEpisodic Memory✓
Spaced Repetition✓✗
Temporal Awareness~✓
Self-Hosted✓~
Zero Dependencies✓✗

Choose ZenBrain if you...

  • Need a deep, differentiated memory system
  • Want long-term memory with automatic forgetting
  • 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 Python and managed cloud
FeatureZenBrainZep
Memory Architecture
Memory Layers7 layers2 (Facts + Sessions)
Working Memory✓✗
Episodic Memory✓Session Summaries
Semantic Memory✓Fact Store
Procedural Memory✓✗
Core Memory Blocks✓User Facts
MemoryCoordinator✓✗
Automatic Fact ExtractionEntity Resolution✓
Algorithms & Intelligence
Sleep Consolidation✓✗
FSRS Spaced Repetition✓✗
Hebbian Learning✓✗
Bayesian Confidence✓✗
Ebbinghaus Decay✓✗
Temporal Awareness~✓
Confidence Intervals95% CI✗
Retention Curve Export✓✗
Developer Experience
Zero Dependencies✓✗
TypeScript-native✓Python + TypeScript
Managed Cloud✗✓
Self-Hosted✓~
LangChain Integration✗✓
GraphQL API✗✓
DocumentationComprehensiveGood

ZenBrain

Open SourceFree
  • Apache 2.0 License
  • 9 foundational algorithms (of 15)
  • All 7 layers
  • Community support

Zep

Open Source (Graphiti)Free
  • Basic features
  • Self-hosted
  • Community support
CloudFrom $49/month
  • Managed hosting
  • All features
  • API access
EnterpriseContact us
  • Dedicated instance
  • SSO
  • SLA

⚠️ Hidden Costs

  • Community Edition discontinued — "no longer supported" per Zep’s README, code moved to legacy/
  • Fact extraction only in Cloud/Enterprise
  • Per-message billing in cloud

ZenBrain is fully Apache-2.0 licensed and free of licence costs. On Zep’s side Graphiti, the temporal knowledge-graph framework, is likewise Apache 2.0 and free; the former Community Edition is no longer supported per Zep’s own README. What is commercial is the hosted Zep Cloud platform, which starts at $49/month per the vendor. Self-hosting either incurs server and operations costs.

Privacy Assessment

ZenBrain runs completely locally. On Zep’s side Graphiti is open source and self-hostable; the former Community Edition is no longer supported per Zep’s own README, and the complete platform is the hosted Zep Cloud.

ZenBrain

  • 7 memory layers (Zep documents 2: Episodic + Semantic)
  • Sleep Consolidation — not documented in this form by Zep
  • Neuroscience-grounded algorithms (Hebbian, FSRS, Bayesian, Ebbinghaus)
  • Apache 2.0 license without feature restrictions
  • Confidence Intervals and Retention Curves

Weaknesses

  • No managed cloud
  • No Python SDK
  • No direct LangChain integration
  • Smaller community

Zep

  • Good fact extraction from conversations
  • Session summaries out-of-the-box
  • LangChain and LlamaIndex integration
  • Managed cloud for quick start
  • Python and TypeScript SDKs

Weaknesses

  • Only 2 memory layers (Facts + Sessions)
  • No neuroscience algorithms
  • No Sleep Consolidation or Spaced Repetition
  • Best features only in paid version
  • No Confidence Intervals
ZenBrain on GitHubRead the docs

Sources

  • Zep GitHub
  • Zep Documentation
  • ZenBrain features verified against source code

Last updated: May 2026

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 spaced repetition, Hebbian learning and Ebbinghaus decay. On Zep’s side the open part has shifted: per Zep’s own README the Community Edition is no longer supported and its code sits in a legacy/ folder. 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, because it has been discontinued.

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 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 or Mem0’s public documentation as of 16 August 2026 — a statement about their documentation, not about their implementation.

Can ZenBrain be used for production AI agent memory?

Yes. The MemoryCoordinator orchestrates all seven memory layers through a unified API: store(), recall(), consolidate(), decay() and FSRS review queues. The same algorithms underpin ZenAI. 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.

zensationIndependent AI research lab · Kiel
ResearchPublicationsMethodologyResearch ethicsResourcesAdopt AIPublic sectorProtecting public spacesTechnologySystem explorerPlaygroundWork with usOpen SourceAboutBlogChangelog
GitHubLinkedInarXivZenodoORCIDScholarSemantic ScholarHuggingFacenpmDiscussions

© 2026 Alexander Bering / ZenSation Enterprise Solutions

RSSPrivacy PolicyLegal NoticeAccessibility