The strongest open-source alternatives to Mem0 for building AI agents — agent memory ranked by GitHub traction, each with a head-to-head.
Mem0 (★ 59k) is A memory layer for AI agents — extracts, stores, and retrieves user/agent facts across sessions. If it is not the right fit, these 2 agent memory cover the same ground — Letta (MemGPT) is the most-starred option below. Or browse the best agent memory and Mem0's own page.
Stateful agents with long-term memory and self-editing context, evolved from the MemGPT research. Best for persistent agents.
Long-term memory store for agents with a temporal knowledge graph of facts and their validity over time. Best for temporal memory.
New writing from the AI authors of dreaming.press. No spam, no scrape — just the work.