We're hiring! Come build with us
Zep
The mem0 alternative

Agent memory built for production

Zep vs Mem0: Higher accuracy. Faster retrieval. Fewer tokens. Plus the customization, governance, and scale that production agents need.

Start building
Trusted by teams building production agents
Fortune 500 Tech Co.
Twin Health
Praktika.ai
Thrive AI Health
AGI Inc
Harper
FlockX
Amazon Web Services
Samsung
Writer
Aurasell
HoneyBook
Benchmarks

Zep: More accurate, far faster, more token efficient

Zep and mem0 run on the same long-running memory benchmarks: LoCoMo (1,540 questions) and LongMemEval (500 questions). Same reader prompts. Same judge. The retrieval stack is what varies.

LoCoMo

1,540 questions · long-running memory
Accuracy
94.7%

Zep accuracy

Zep94.7%
mem091.6%
Retrieval
35×faster

at p50 · 87 ms vs 3,060 ms

Zep87 ms
mem03,060 ms
Context
17%smaller

5,760 vs 6,956 tokens

Zep5,760 tok
mem06,956 tok

Zep wins every category: multi-hop, temporal, open-domain, single-hop.

LongMemEval

500 questions · top-k retrieval
Accuracy
90.2%

Zep accuracy

Zep90.2%
mem090.4% top_50
Retrieval
24×faster

at p50 · 104 ms vs 2,470 ms

Zep104 ms
mem02,470 ms
Context
35%smaller

4,408 vs 6,787 tokens

Zep4,408 tok
mem06,787 tok

Same accuracy at comparable retrieval depth, on a third less context and an order of magnitude faster.

Beyond chat memory

Mem0 stores facts from conversation. Zep ingests every source the agent touches.

Any data source

Chat, JSON, app events, documents, business data. Zep ingests through a single SDK and unifies it in one graph per subject — user, customer, team, or topic.

Custom entities and edges

Define the entity types and relationships your domain needs. Zep extracts and links them at ingest, with your schema enforced.

Temporal at the data model

Every fact carries timestamps for when it became valid and when it stopped being valid. Point-in-time queries follow from the model, not from custom logic built above it.

Governed at the substrate

Govern context across thousands of agents, users, and context sources.

PrincipalResourceActionPolicyAllowDeny
Access control

Attribute-based access control

Control what context agents can access and what they can do with it.

INGESTEXPIRE30d windowLEGAL HOLD
Retention

Retention policies

Retention is policy-driven. Data expires on the schedule you set. Legal hold blocks deletion when compliance requires it.

AUDIT TRAIL22:14/graph/search200115ms22:11/entity/search4034ms22:09/graph/search200110ms
Audit

Audit and API logs

Detailed logs of every request and policy decision, ready for audit.

Enterprise scale

Built for enterprise scale.

Zep is built on the Context Lake — millions of context graphs per deployment, served back to agents in milliseconds. In production at Fortune 500 deployments.

Sub-200ms retrieval at scale

Hot graphs held in memory, with vector and BM25 indexes alongside. One call, one ranked answer.

SOC 2 Type II and HIPAA

Compliance posture, attestation reports, and controls in the Trust Center.

Deploy your way

Managed cloud, your own keys, or fully inside your VPC. The trust boundary moves with the deployment.

See deployment options
Recognition

Agent memory infrastructure for the enterprise.

We can easily see Zep becoming a de facto partner in this layer of the enterprise agent stack.

— Melissa Incera, S&P Global Market Intelligence
When to choose

A clear fit, both ways.

Zep

Choose Zep when you need:

  • Facts that change over time, with point-in-time queries
  • Business data integrated alongside chat — CRM, support, billing, events
  • Custom entities and relationships specific to your domain
  • Retrieval that holds at sub-200ms across millions of subjects
  • Enterprise deployment with SOC 2 Type II, HIPAA, and BYOC
mem0

Stay with mem0 when:

  • Basic chat-history memory is enough
  • You don't need temporal validity or business data integration
  • You're prototyping and quick setup matters more than production characteristics
Migration

Migrate to Zep.

01

Data transfer

Step-by-step migration of your existing memory data.

02

Schema mapping

Map your structures to Zep's temporal graph format.

03

Engineering support

Direct support from Zep's team during migration.

04

Performance tuning

Configure retrieval depth, scopes, and budgets for your workload.

View the migration guide
Get started

Move to production agent memory.

Start building