The strongest open-source alternatives to Letta (MemGPT) for building AI agents — agent memory ranked by GitHub traction, each with a head-to-head.
Short answer: the closest alternative to Letta (MemGPT) is Mem0 (★ 63k), the most-starred agent memory; Zep are also strong.
✓ Live data verified
Letta (MemGPT) (★ 24k) is Stateful agents with long-term memory and self-editing context, evolved from the MemGPT research. If it is not the right fit, these 2 agent memory cover the same ground — Mem0 is the most-starred option below. Or browse the best agent memory and Letta (MemGPT)'s own page.
Mem0 (★ 63k) is the most-starred agent memory alternative to Letta (MemGPT). A memory layer for AI agents — extracts, stores, and retrieves user/agent facts across sessions.
The strongest agent memory alternatives to Letta (MemGPT) are Mem0, Zep — each with a head-to-head comparison.
Yes — the alternatives listed are open source and free to self-host; you bring your own model keys.
We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.