Mem0 (open source)
Open-source memory layer for AI assistants and agents, as a Python/Node library or a self-hosted server with dashboard.
Mem0 is the Apache-2.0 open-source core behind the paid Mem0 Platform: a library (pip install mem0ai, npm mem0ai) or Docker-based self-hosted server that extracts memories from conversations and retrieves them per user, session or agent. It needs an LLM and an embedding model, OpenAI by default; Ollama is documented for local models. The README says benchmark scores reflect the managed platform's proprietary optimisations not in the open-source SDK, and the self-hosted server only has "teasers" of advanced features.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Yes. As a Python/Node library or a self-hosted Docker server | github.com | Checked 7 weeks ago |
| Code licence | Open source. Apache-2.0 | github.com | Checked 7 weeks ago |
| Commercial use | Yes. Apache-2.0 code | github.com | Checked 7 weeks ago |
| Paid services needed? | Optional. Needs an LLM and embeddings (OpenAI by default); local models via Ollama are documented | docs.mem0.ai | Checked 7 weeks ago |
| Hardware | Default LLM is OpenAI gpt-5-mini via API, so no GPU is needed with the defaults; local LLMs or embedders bring their own requirements; no RAM figures | github.com | Checked 6 weeks ago |
| Operating systems | Linux (Ubuntu) is used by the project CI. This is test/build evidence, not a complete Windows/macOS support guarantee. | raw.githubusercontent.com | Checked 6 weeks ago |
| Setup effort | Easy, pip install mem0ai (server via docker compose) | github.com | Checked 7 weeks ago |
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow Mem0 (open source) and we email you if its terms change.
Where to run it
Mem0 (open source) can run on your own server. If you don’t have one, these hosts can run it for you.
Referral links: we may earn a commission if you sign up and pay, at no extra cost to you. They never change our facts, rankings or comparisons. How we keep them separate.
What it replaces, job by job
| Paid tool | Jobs | How far it goes |
|---|---|---|
| Mem0 Platform $19/month |
| 1 of 3 jobs. Same core memory layer, self-hosted; some platform optimisations and advanced features are not in the open-source version. |
Agent skills
Mem0 (open source) publishes 41 skills for coding agents such as Claude Code, Cursor and Codex, installed about 6,870 times in total. Some may be for the project’s own developers rather than its users.
| Most installed | Installs | Security scans |
|---|---|---|
| mem0 | 2,400 | 2 pass, 1 warn |
| mem0-cli | 843 | 2 pass, 1 warn |
| mem0-vercel-ai-sdk | 559 | 3 pass |
npx skills add mem0ai/mem0
From skills.sh, checked 7 days ago. Installs show popularity, not quality or safety: read a skill before you install it. How we count these.
Stars over time
Steady +380 stars this week (1.0× its usual pace). Stars show attention, not quality. Where these numbers come from.