Short answer: Zep and Letta solve different problems. Zep stores and retrieves memory for an agent you already run, through its SDKs or MCP. Letta is the agent itself: a runtime with its own harness, terminal UI and app server, where memory is part of the agent. If you have an agent and want memory, Zep fits. If you want to build a stateful agent on a platform, Letta fits. Hindsight is a third option for the first case: a memory server your own agent calls.
Sources, read 2026-11-29: the Zep examples README and the Letta README. Stars, license and last push from the GitHub API on 2026-11-29: getzep/zep 5,026 stars, Apache-2.0, last push 2026-11-17; letta-ai/letta 25,579 stars, Apache-2.0, last push 2026-10-18.
What each one is
| Zep | Letta | |
|---|---|---|
| Kind | Memory and context service for agents | Stateful agent runtime (formerly MemGPT) |
| How your agent uses it | Zep SDKs (Python zep-cloud, TypeScript @getzep/zep-cloud, Go) or MCP | Runs the agent: the terminal UI (letta), the App Server (letta server), or the Letta Agent SDK in TypeScript |
| Where it runs | Zep Cloud, per the README | Locally or self-hosted through the App Server; Letta Cloud for memory across computers |
| Framework integrations | Python: Google ADK, Microsoft Agent Framework, AutoGen, AG2, CrewAI, LangGraph, LiveKit, Pydantic AI, Strands; TypeScript: Google ADK, Mastra, Vercel AI SDK; Go: Google ADK | Its own channels: Slack, Telegram, Discord and custom channels |
| Open-source code | The zep repo is examples and integrations; the open-source graph engine is Graphiti | The letta-code repo holds the current source |
| Benchmarks in the README | None with scores; the repo has a benchmarks folder (LoCoMo, LongMemEval) | None |
What changed at each one
Zep’s README says the repo is “not Zep’s product or service”. It holds example agents, framework integrations and tools for Zep Cloud. It also names two newer product areas: Context Lake, which turns business data into governed context graphs, and Zep Agent Skills, which turns agent tasks into skills. If your need is “remember what the user said”, check that the current Zep product still matches; its README now leads with company knowledge and skills.
Letta’s README says Letta (f.k.a. MemGPT) is “actively developed” and that the current source is in letta-ai/letta-code. The letta repo’s archive branch holds the retired V1 API server. So an old Letta tutorial may point at code that no longer runs. Start from the letta-code docs.
Where memory lives
- Zep: the README describes Zep as a cloud product, so your agent sends data to Zep Cloud through the SDK or MCP and reads context back. We did not open Zep’s docs for the exact write and read calls.
- Letta: memory is part of the agent the runtime runs. The README says Letta Cloud keeps agent memory, identity and conversations available across computers. A self-hosted App Server keeps it on your server.
We did not open Letta’s memory docs for this page, so we do not describe how Letta’s memory blocks or archival memory work. For that detail, see Letta vs Hindsight and Mem0 vs Letta.
Where Hindsight fits
Hindsight is MIT-licensed, and its full server is in the open-source release. It is a memory server, like Zep’s service, but you can run it yourself. It works as a Python, Node/TypeScript, Go or CLI client, and as an MCP server. The published BEAM numbers are Hindsight’s own: 73.9 at 1M tokens and 64.1 at 10M, which are vendor-run. Hindsight does not run your agent, so it is not a Letta replacement. It is a fit for the Zep case when you want the memory store on your own machine.
Hindsight’s limits: each write calls an LLM, recall returns more context by default than some alternatives (set max_tokens lower), and self-hosting means you run the server.
Choosing
- You have an agent and want memory: Zep (cloud service) or Hindsight (self-hosted or cloud). Compare their data and pricing on your own tasks.
- You want to build the agent on a platform with memory built in: Letta. Use the letta-code docs, not the archived V1 code.
- You need published accuracy numbers: neither README gives them. Hindsight and Mem0 publish numbers from their own runs; read them with the notes on the leaderboard.
Related
- Zep alternatives: other options if Zep does not fit.
- Zep vs Hindsight: the head-to-head with Hindsight.
- Letta vs Hindsight: the same comparison for Letta.
- Mem0 vs Letta: another pair with Letta.