We're hiring! Come build with us →
Zep
Zep vs. Letta

A Letta alternative for enterprise agent memory

Letta (formerly MemGPT) is an open-source framework for building stateful agents with self-editing memory.

Start building

Key takeaways

  • Letta (letta.com) is a stateful-agent framework with self-editing memory; Zep is a dedicated agent-memory layer — the Context Lake.
  • Zep is framework-agnostic, stores bi-temporal facts with provenance, and governs memory in the data layer (ABAC, retention, audit; SOC 2 Type II, HIPAA).
  • Benchmark-proven: 94.7% LoCoMo and 90.2% LongMemEval (results). S&P Global Market Intelligence named Zep a likely de facto partner in the enterprise agent stack (coverage).
The distinction

A framework vs. a memory layer

What Letta is. Letta grew out of the MemGPT research and is an open-source platform for building agents that manage their own memory — with memory “blocks” the agent can edit, and a framework for orchestrating stateful agents. Its center of gravity is the agent framework: how the agent reasons and updates its own context.

What Zep is. Zep is a unified context layer, not a framework. It ingests chat, business data, and documents; builds bi-temporal context graphs (via the open-source Graphiti, running on Konig, Zep's proprietary graph database service); and serves relevant, token-efficient context to any agent — built in any framework, or none. Memory is governed in the data layer (ABAC, retention, audit) and served at enterprise scale with sub-200ms p95 retrieval.

PPriya Shah · Acme ITSlack · 2026-01-14 · 10:02
We're standardised on Okta. Every new tool has to go through it for SSO.
Facts
  • Acme uses Okta as its identity provider.
  • Every new tool must use Okta for SSO.
zendesk.com/agent/tickets/48219
ZendeskTicket #48219 · Acme Corp · 2026-03-09

Category

SSO / Identity

Description

We're migrating from Okta to Microsoft Entra ID this quarter. SSO has to move before our Oct 31 renewal, or the rollout stays blocked.
Facts
  • Every new tool must use Okta for SSO.
  • Acme is migrating to Microsoft Entra ID.
  • Acme’s SSO must move to Entra ID before renewal.
  • Acme renews on Oct 31.
  • Acme’s rollout is blocked until SSO moves.
How they compare

Letta vs. Zep, side by side

LettaZep
Primary roleStateful-agent framework with self-editing memoryUnified context layer for enterprise data (Context Lake)
Framework lock-inYou build on Letta's agent modelWorks with any framework, or none
Memory modelAgent-managed memory blocksBi-temporal context graph (facts + provenance + validity)
Temporal reasoningNo temporal graph — OS-style memory blocks the agent self-edits“What's true now / what was true then,” automatic fact invalidation
Enterprise governanceFramework-level; not the focusData-layer ABAC, retention + legal hold, audit, BYOK/BYOC, SOC 2 Type II, HIPAA
Benchmarks—94.7% LoCoMo (155ms), 90.2% LongMemEval (162ms)
Open sourceYesGraphiti (the graph library) is open source
When to choose

When to choose Letta, and when to choose Zep

Choose Letta when

You want an opinionated framework for building agents that manage their own memory, and you're happy to adopt that agent model end-to-end.

  • You're choosing an agent framework, not just a memory layer
  • Self-editing memory blocks out of the box are the priority
  • Research and smaller projects, open-source-first
Choose Zep when

Memory is the hard part and you don't want it coupled to a single agent framework.

  • Temporal, provenance-tracked facts across many sources
  • Governance and deployment control for regulated environments
  • Proven retrieval performance at enterprise scale
  • S&P Global Market Intelligence named Zep a likely de facto partner in the enterprise agent stack
Get started

Add governed agent memory in three lines of code

Start building
FAQ

Frequently asked questions

Is Letta a memory layer or a framework?

Primarily a stateful-agent framework with self-editing memory. Zep is a unified context layer that any framework can call.

Can I use Zep with my existing agent framework?

Yes — Zep is framework-agnostic (LangGraph, custom, or none) and adds memory in three lines of code.

Which is better for enterprise?

For governed memory at scale across many agents and data sources, Zep is purpose-built for it; Letta is centered on the agent framework. Evaluate both against your governance and scale requirements.