# Zep vs Letta (November 2026): A Context Service vs an Agent Runtime

> Zep vs Letta compared (Nov 2026): Zep is a memory and context service your agent calls through SDKs; Letta is a stateful agent runtime with its own harness and app server. Licenses, stars, what each README says, the open items, and Hindsight as a third option.

Source: https://aiagentmemory.org/articles/zep-vs-letta/ · Updated 2026-11-29 · aiagentmemory.org


**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](https://github.com/vectorize-io/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](https://github.com/getzep/zep) and the [Letta README](https://github.com/letta-ai/letta). 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](/articles/letta-vs-hindsight/) and [Mem0 vs Letta](/articles/mem0-vs-letta/).

## Where Hindsight fits

[Hindsight](https://github.com/vectorize-io/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](/articles/agent-memory-leaderboard/).

## Related

- [Zep alternatives](/articles/zep-alternatives/): other options if Zep does not fit.
- [Zep vs Hindsight](/articles/zep-vs-hindsight/): the head-to-head with Hindsight.
- [Letta vs Hindsight](/articles/letta-vs-hindsight/): the same comparison for Letta.
- [Mem0 vs Letta](/articles/mem0-vs-letta/): another pair with Letta.


## FAQ

### What is the main difference between Zep and Letta?

Zep is a memory and context service: your agent calls it through the Zep SDKs or MCP to store and retrieve facts. Letta is a stateful agent runtime: it runs the agent, with its own terminal UI, app server and channels. Use Zep to add memory to an agent you already have. Use Letta if you want to build the agent on Letta.

### Is Zep open source?

The zep GitHub repository is Apache-2.0 (GitHub API, checked 2026-11-29), but its README says it holds example code, harnesses and integrations for Zep Cloud, not Zep's product. Zep's README points to Graphiti as the open-source temporal knowledge graph behind Zep.

### Is Letta still maintained?

Yes, but the code moved. Letta's README says the current source is in letta-ai/letta-code, and the letta repository's archive branch holds the retired Letta V1 API server. The letta repository was last pushed on 2026-10-18 (GitHub API, checked 2026-11-29).

### Does either one publish benchmark numbers?

Zep's repository has a benchmarks directory for LoCoMo and LongMemEval, but the README in this check gave no scores. Letta's README gives none. We did not find a published accuracy comparison between Zep and Letta.

