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
Stars, last 30 weeks+17,266
26 Mar 2026: 50,458 stars2 Apr 2026: 51,122 stars9 Apr 2026: 51,829 stars16 Apr 2026: 52,617 stars23 Apr 2026: 53,294 stars30 Apr 2026: 53,866 stars7 May 2026: 54,435 stars14 May 2026: 55,145 stars21 May 2026: 55,804 stars28 May 2026: 56,448 stars4 Jun 2026: 57,200 stars11 Jun 2026: 57,871 stars18 Jun 2026: 58,398 stars25 Jun 2026: 58,995 stars2 Jul 2026: 59,541 stars9 Jul 2026: 60,101 stars16 Jul 2026: 60,620 stars23 Jul 2026: 61,200 stars30 Jul 2026: 61,820 stars6 Aug 2026: 62,429 stars13 Aug 2026: 62,951 stars20 Aug 2026: 63,495 stars27 Aug 2026: 64,023 stars3 Sept 2026: 64,503 stars10 Sept 2026: 64,959 stars17 Sept 2026: 65,431 stars24 Sept 2026: 65,875 stars1 Oct 2026: 66,401 stars8 Oct 2026: 66,852 stars15 Oct 2026: 67,302 stars22 Oct 2026: 67,724 stars

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
Also in Memory
RankProjectScore
1hindsightAgent memory server with retain, recall and reflect operations53.3k starsMIT94 out of 100
2MemPalaceLocal verbatim memory store for AI agents with semantic search and MCP59.7k starsMIT90 out of 100
#4gbrainLong-term memory store for coding agents, with sources and corrections31.1k starsMIT88 out of 100
#5CogneeMemory engine that turns documents and code into a knowledge graph32.7k starsApache-2.085 out of 100
#6GraphitiPython framework for temporal knowledge graphs that track how facts change32.2k starsApache-2.084 out of 100