33rd of 18 in Memory
Mem0
Long-term memory layer that stores and retrieves user facts for LLM agents
- Stars
- 67.7k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Last release
- Sep 2026
- Language
- Python
50,458 on 26 Mar 202667,724 on 22 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
Mem0 is hiring: 1 open role
Overview
Mem0 extracts facts from conversations with an LLM, stores them per user, session or agent, and retrieves them with combined semantic, BM25 keyword and entity matching. It ships as a Python and npm library, a self-hosted server with a dashboard and API keys, a CLI, and a managed cloud platform. The published benchmark numbers come from the managed platform, not the open-source SDK.
Who it is for: Developers adding persistent per-user memory to agents or chatbots
Ranked among open-source alternatives to Mem (#3 of 10).
Strengths
- Python (pip) and npm SDKs plus a CLI, so it embeds in existing agents
- Hybrid retrieval: semantic, BM25 keyword and entity linking fused in one search
- Evaluation framework is open-sourced so benchmark numbers can be reproduced
- Supports several LLMs and embedders; defaults are configurable
Weaknesses
- Benchmarks reflect the managed platform; OSS results may differ
- Needs an LLM; default is OpenAI gpt-5-mini and text-embedding-3-small
- BM25 and entity features need the optional mem0ai[nlp] extra and a spaCy model
- Self-hosted dashboard is listed as limited; advanced features are cloud-only
What it needs
- GPU optional
- Needs LLM provider (default OpenAI), Embedding model (default OpenAI text-embedding-3-small), Docker Compose (self-hosted server), spaCy en_core_web_sm (optional NLP extra)
- Models: OpenAI gpt-5-mini (default), text-embedding-3-small (default), other LLMs and embedders via configuration
- port 3000
Quick answers
Is Mem0 open source?
Yes. Its code is on GitHub under the Apache-2.0 license.
Does Mem0 need a GPU?
No. It runs on a CPU and can use a GPU when you have one.
Head to head
Also in Memory
See all 18| Rank | Project | Score |
|---|---|---|
| 1 | hindsightAgent memory server with retain, recall and reflect operations | 94 out of 100 |
| 2 | MemPalaceLocal verbatim memory store for AI agents with semantic search and MCP | 90 out of 100 |
| #4 | gbrainLong-term memory store for coding agents, with sources and corrections | 88 out of 100 |
| #5 | CogneeMemory engine that turns documents and code into a knowledge graph | 85 out of 100 |
| #6 | GraphitiPython framework for temporal knowledge graphs that track how facts change | 84 out of 100 |