mem0 (pronounced "mem-zero") is a "memory layer" infrastructure for AI agents and applications, used to provide persistent context, and positioned for production use. It enhances AI assistants and agents with intelligent memory capabilities, enabling them to remember user preferences, adapt to individual needs, and continuously learn over time, making it suitable for scenarios such as customer support chatbots, AI assistants, and autonomous systems.
Purpose and Core Capabilities At the core of mem0 is Multi-Level Memory, which can seamlessly retain User, Session, and Agent state and enable adaptive personalization. It provides a developer-friendly API, cross-platform SDKs, and a fully managed service option. Typical uses listed officially include: AI assistants (maintaining context-rich, consistent conversations), customer support (recalling historical tickets and user history to provide customized help), healthcare (tracking patient preferences and history to provide personalized care), and productivity and gaming (adjusting workflows and environments based on user behavior).
New Memory Algorithm (April 2026) According to the official description, all benchmark runs use the same production-representative model stack, with single-pass retrieval (one call, no agent loop), and a retrieval budget of top_200. The scores reflect the Mem0 managed platform, which includes proprietary optimizations not available in the open-source SDK; open-source users can expect directionally similar but not identical numbers. Key features of the algorithm include:
- Single-pass ADD-only extraction: one LLM call, no UPDATE/DELETE, and memories continuously accumulate without being overwritten.
- Agent-generated facts as first-class citizens: when an agent confirms an action, that information is stored with equal weight.
- Entity linking: extract entities, embed them, and link them across memories to improve retrieval effectiveness.
- Multi-signal retrieval: semantic, BM25 keyword, and entity matching are scored in parallel and fused.
- Temporal reasoning: time-aware retrieval that ranks memory instances for the corresponding dates for queries about current state, past events, and future plans. The official team also provides a migration guide for upgrade instructions and has open-sourced the evaluation framework so that anyone can reproduce these numbers.
Research Highlights The officially announced benchmark results are: LoCoMo 92.5 (a 21-point improvement over the previous algorithm), LongMemEval 94.4 (a 27-point improvement, with assistant memory recall at 98.2), and BEAM (1M) 64.1 (a production-scale memory evaluation for 1 million tokens).
How to Use mem0 offers three forms:
- Library (pip / npm): suitable for testing scenarios. If you need enhanced hybrid search supporting BM25 keyword matching and entity extraction, you can install the version with NLP support. The SDK can also be installed via npm.
- Self-hosted server: suitable for building for teams. Note that self-hosting enables authentication by default; when upgrading from a version without authentication, you can set ADMIN_API_KEY, register an administrator through the wizard, or use AUTH_DISABLED=true only for local development. For configuration, see the self-hosting documentation.
- Cloud platform: suitable for users who want zero operations; after registering on the Mem0 Platform, embed the memory layer via the SDK or an API key.
Quick agent registration: AI agents can generate a usable Mem0 API key within 5 seconds—no email, dashboard, or OTP required, and the official claim is that it takes only four commands end to end. The human owner can later claim the account with mem0 init --email <their-email>, with the key unchanged and memories preserved.
Command-line management: memories can be managed from the terminal via the CLI; for the complete command reference, see the CLI documentation.
Skill support for AI coding assistants: mem0 provides skills that teach AI coding assistants (Claude Code, Codex, Cursor, Windsurf, OpenCode, OpenClaw, and any tool supporting the skills standard) how to build with Mem0. Skills fall into two categories: reference skills (always on, loading SDK knowledge into the assistant's context) and pipeline skills (run on demand, executing end-to-end workflows in an existing repository). You can use /mem0-integrate to integrate Mem0 into an existing repository through a test-first pipeline, then verify with /mem0-test-integration; use /mem0-oss-to-platform to migrate an existing project from Mem0 OSS to the managed platform SDK.
Model dependencies Mem0 requires an LLM to run, uses OpenAI's gpt-5-mini by default, and supports multiple LLMs (see the "Supported LLMs" documentation for details). The default embedding model is OpenAI's text-embedding-3-small; the official recommendation is that for the best results with hybrid search (semantic + keyword + entity enhancement), you should use at least Qwen 600M ora comparable embedding model (see "Supported Embeddings" for details). The first step to get started is to instantiate memory; for detailed integration steps, see Quickstart and API Reference.
Integrations and demos The officially listed integrations and demos include: ChatGPT with Memory (personalized chat powered by Mem0, with an online demo), browser extension (stores memories across ChatGPT, Perplexity, and Claude, Chrome extension), Langgraph support (a guide to building a customer bot with Langgraph + Mem0), CrewAI integration (an example of customizing CrewAI output with Mem0).
Documentation and support Complete documentation is located at https://docs.mem0.ai;社区渠道包括 Discord and X (formerly Twitter); the contact email is founders@mem0.ai. An officially citable paper is provided. The project is licensed under Apache 2.0; see the LICENSE file for details. The repository also includes a code of conduct and a security policy.
Limitations and notes The benchmark numbers above reflect the Mem0 managed platform; users of the open-source SDK can expect directionally similar but not identical performance. Mem0 requires an LLM to run and depends on an embedding model. Self-hosting enables authentication by default; disabling authentication for local development (AUTH_DISABLED=true) is limited to local development use only. Regarding specific charges, pricing, and more deployment details, the available materials do not currently provide them.