Zep

Long-term memory service for AI agents and LLM applications. Zep stores, enriches, and retrieves conversation history and user facts for agents. Automatically extracts facts, preferences, and summaries from conversations, building a per-user memory graph. Enables agents to remember users across sessions and retrieve contextually relevant memories at inference time.

Evaluated Mar 07, 2026 (0d ago) v2.x
Homepage ↗ Repo ↗ AI & Machine Learning memory llm agents long-term-memory conversation-history embeddings personalization knowledge-graph
⚙ Agent Friendliness
68
/ 100
Can an agent use this?
🔒 Security
82
/ 100
Is it safe for agents?
⚡ Reliability
74
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
70
Documentation
83
Error Messages
78
Auth Simplicity
88
Rate Limits
68

🔒 Security

TLS Enforcement
100
Auth Strength
78
Scope Granularity
68
Dep. Hygiene
82
Secret Handling
82

SOC2 certified for Zep Cloud. User conversation data stored — data handling agreements important for production. Self-hosted keeps data in your infrastructure. HTTPS enforced for Cloud.

⚡ Reliability

Uptime/SLA
82
Version Stability
72
Breaking Changes
65
Error Recovery
78
AF Security Reliability

Best When

You're building multi-session AI assistants or agents that need to remember individual users across conversations, extract facts, and personalize responses over time.

Avoid When

Your agent is stateless or doesn't need per-user memory — conversation context can be passed directly in the prompt for simpler use cases.

Use Cases

  • Give AI agents persistent memory across conversation sessions so they remember user preferences, past interactions, and stated facts
  • Extract structured facts from agent conversations (user location, preferences, past decisions) for automatic personalization
  • Retrieve contextually relevant memories at the start of each agent session to provide personalized context injection
  • Build user knowledge graphs from agent interactions — Zep automatically links related facts and entities
  • Replace manual conversation summarization with automatic Zep summaries that preserve important information as context grows

Not For

  • Document RAG pipelines over external knowledge bases — use LlamaIndex, LangChain, or Haystack for document retrieval; Zep is for agent memory
  • Short-lived stateless agent tasks without user context — Zep adds value for multi-session, personalized agent workflows
  • Teams that need on-premises only deployment — Zep Cloud is available; self-hosted requires significant infrastructure

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
Yes
Webhooks
No

Authentication

Methods: api_key
OAuth: No Scopes: No

Zep Cloud uses API key (passed as Z-API-Key header). Self-hosted Zep uses configurable auth. SDK handles auth automatically when API key is provided at initialization.

Pricing

Model: tiered
Free tier: Yes
Requires CC: No

Zep Cloud has a generous free tier for development. Self-hosted Zep is open source and free. Pricing is based on stored memory facts, not API calls — predictable for long-running agents.

Agent Metadata

Pagination
cursor
Idempotent
Partial
Retry Guidance
Documented

Known Gotchas

  • Memory extraction is asynchronous — after adding messages, facts are not immediately available; allow 1-5 seconds before querying extracted facts
  • Zep v2 has significant API changes from v1 — ensure SDK version matches your Zep server version
  • Session IDs and User IDs must be consistent across requests — agents must manage these identifiers carefully to maintain memory continuity
  • Fact extraction quality depends on conversation quality — vague or ambiguous agent/user exchanges may not extract useful structured facts
  • Memory search uses semantic similarity — queries must be natural language questions, not keyword filters
  • Self-hosted Zep requires PostgreSQL with pgvector extension — infrastructure setup is non-trivial

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Zep.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

6418
Packages Evaluated
26150
Need Evaluation
173
Need Re-evaluation
Community Powered