Skip to content

Menu

Mem0 logo

Mem0

Published

AI Agents

At a glance

What it is
Mem0 is a memory layer for AI assistants and agents, built by a Y Combinator S24 company of the same name.
Price from
Free plan Details
Best for
Chat assistants that need to remember users across sessions; Teams adding memory to LangChain or CrewAI agents
Official site
mem0.ai
Last checked
November 2026
Watch out for
The default open-source configuration requires an OpenAI API key for extraction and embeddings.

Mem0 is a memory layer for AI assistants and agents, built by a Y Combinator S24 company of the same name. It stores facts from conversations and pulls the relevant ones back when an agent needs them. The core is open source under Apache 2.0, and there is also a managed platform at mem0.ai.

Developers use it in one of three ways. They can install the Python or npm package (both called mem0ai) and call it as a library. They can self-host a server with Docker Compose, which adds a dashboard, per-user API keys and a request audit log. Or they can get an API key for the hosted platform and save and search memories over the API. Memory can be scoped to a user, a session or an agent.

The docs include setup guides for LangChain, CrewAI, LlamaIndex and the Vercel AI SDK, plus guides for coding agents such as Claude Code, Cursor and Codex. There is a browser extension and a CLI too. The default open-source setup calls OpenAI models for extraction and embeddings, so you need an OpenAI key unless you configure another provider. The README notes that its benchmark numbers come from the managed platform and open-source results will differ.

Key features

Scoped memory
Memories can be attached to a user, a session or an agent so each keeps its own state.
Library or server
The open-source engine runs inside your app as a library or as a self-hosted Docker Compose stack.
Hybrid retrieval
The April 2026 algorithm combines semantic search, BM25 keyword matching and entity linking.
Python and JavaScript SDKs
Both quickstarts use the same mem0ai package name on PyPI and npm.
Framework guides
The docs list setup guides for 22 tools, including LangChain, CrewAI and LlamaIndex.
Agent self-signup
An agent can create its own platform API key, and a human can claim the account later.
Swappable components
Memory.from_config lets you replace the default LLM, embedder and vector store.

Pricing

As of November 2026, Mem0's pricing page lists two plans. The Free plan has no recurring fee. In the first 30 days it covers 10,000 adds and 1,000 retrievals per month with model calls included; with your own LLM key the limits are 50,000 adds and 10,000 retrievals per month, with unlimited end users and community support. Usage beyond those limits is billed on a usage basis, up to a monthly cap you set. The second plan is Custom, with no listed price. It adds graph memory, user profiles, Dream memory consolidation, advanced analytics, private Slack support, SSO, audit logs, an SLA and on-prem deployment. The open-source library is Apache 2.0 and free to run; you pay for your own models and hosting.

Best for

  • Chat assistants that need to remember users across sessions
  • Teams adding memory to LangChain or CrewAI agents
  • Developers who want a self-hostable memory store
  • Coding agents that need persistent project memory

Limitations

  • The default open-source configuration requires an OpenAI API key for extraction and embeddings.
  • Graph memory, user profiles, SSO and audit logs are listed only on the Custom plan, which has no public price.
  • The Free plan's higher limits of 50,000 adds and 10,000 retrievals apply only when you supply your own LLM key.
  • The README says open-source users should expect results that differ from the platform's published benchmark numbers.

Verdict

Mem0 is a practical choice when you want memory as a separate layer rather than a full agent framework. The open-source library is easy to try and the free hosted tier is generous. Teams that need graph memory or compliance features will have to talk to sales.

Sources

Written from the vendor's own site and documentation, checked November 2026. We have no paid relationship that affects what this page says.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…