Open-source alternatives to Letta

2 free, open-source alternatives with 80.8K total GitHub stars. The best open-source alternative to Letta is Mem0, with 57.3K GitHub stars.

Updated August 2026Stats synced from GitHub
#1
Mem0

Mem0

Universal memory layer for AI agents — multi-signal retrieval, temporal reasoning, 57k+ GitHub stars

Give your AI apps persistent memory and intelligence

aimemoryllm
57.3K6.5KApache-2.0
vs Pinecone
Read more
#2
Supermemory

Supermemory

Memory layer for AI agents — hybrid vector search, ontology-aware graph, and sub-100ms retrieval

Memory layer for AI agents — hybrid vector search with ontology-aware graph and sub-100ms retrieval. Self-hostable alternative to Pinecone and Mem0.

aimemoryapi
23.6K2.1KMIT
vs Pinecone
Read more

Compare Letta alternatives

ToolStarsForksLicenseSelf-hosted
Mem057.3K6.5KApache-2.0Yes
Supermemory23.6K2.1KMITYes

Letta (formerly MemGPT) is a framework for building stateful AI agents with self-editing memory — the agent manages its own context using an OS-inspired hierarchy of in-context and archival memory. The core framework is open source, but Letta also runs a managed cloud platform for hosting and monitoring agents, which is the paid, closed part of the offering.

Mem0 and Supermemory take a different architectural approach — an external memory layer your application calls into, rather than memory the agent edits itself — which is worth comparing if Letta's self-editing model isn't the fit you need.

FAQ

Is there a free, open-source alternative to Letta?

Letta's core framework is itself already open source. Mem0 (Apache-2.0) and Supermemory (MIT) are open-source alternatives if you want an external memory layer instead of Letta's self-editing agent memory model.

What's the best open-source alternative to Letta?

Mem0 is the better pick for a general-purpose external memory layer with multi-signal retrieval. Supermemory is the better pick if low-latency retrieval and graph-based memory structure are the priority.

What are the top open-source alternatives to Letta?

Browse all open-source alternatives to Letta above, or explore the full AI & LLM category for more options.

Explore more alternatives