Both are open source memory options with comparable terms, so the choice comes down to which model of the problem you prefer — compare the descriptions below rather than the licence.
Extracts durable facts from conversations and recalls them on the next turn.
Temporal knowledge graph memory — facts with validity windows, not just embeddings.
| Mem0 | Zep | |
|---|---|---|
| Licence | Open source | Open source |
| Pricing | freemium | freemium |
| Self-hostable | Yes | Yes |
| Languages | Python, TypeScript | Python, TypeScript |
| Install | pip install mem0ai | — |
| Keys required | MEM0_API_KEY | ZEP_API_KEY |
| Benchmark | Mem0 | Zep |
|---|---|---|
| LoCoMo | 92.5% self-reported 62.47% independent | 79.09% independent 58.44% independent |
Both are open source memory options with comparable terms, so the choice comes down to which model of the problem you prefer — compare the descriptions below rather than the licence. Mem0: Extracts durable facts from conversations and recalls them on the next turn. Zep: Temporal knowledge graph memory — facts with validity windows, not just embeddings.
Mem0 can run on your own infrastructure. Zep can run on your own infrastructure.
Mem0 is open source (freemium). Zep is open source (freemium).
Every page here answers to Accept: text/markdown and returns the same content at roughly a tenth the tokens. No separate site, no toggle — same URL.
curl -s -H "Accept: text/markdown" https://newagent.build/compare/mem0-vs-zep