# Mem0

> The memory layer for AI agents

Source: https://talira.ai/catalog/mem0-1hspsvwb
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Library, API, Command-line tool
- Categories: [ai / agents / memory](https://talira.ai/categories/ai/agents/memory), [ai / rag](https://talira.ai/categories/ai/rag)
- Platforms: web, docker[^1]
- Licence: Apache-2.0[^6]
- Pricing: Free tier[^3]
- Pricing notes: Platform Free: unlimited end users; for the first 30 days 10,000 adds and 1,000 retrievals a month with model calls on Mem0, then 50,000 adds and 10,000 retrievals a month with your own LLM key; usage-based billing past the limits with a monthly cap you set. Custom: contact sales (graph memory, Dream, SSO, audit logs, on-prem deployment). The open source library and server are free (Apache-2.0).
- Free tier: yes[^3]
- Self-hostable: yes[^4]
- Cloud hosted: yes[^4]
- SOC 2: yes[^7]
- HIPAA: yes[^7]
- SSO: yes[^3]
- API: yes[^4]
- MCP server: yes[^8]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^8]
- Backed by: [Mem0](https://talira.ai/orgs/mem0.md)
- Funding: YC; Series A, 2025[^9][^10]

Mem0 ("mem-zero") is a memory layer for AI assistants and agents: you pass it conversations, an LLM extracts the facts, preferences and decisions worth keeping, and later searches return the relevant memories scoped by user, agent or session, ranked by meaning, BM25 keywords and shared entities together. Adding a memory calls an LLM by default (OpenAI's gpt-5-mini unless you configure another provider, including local models through [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md)); `infer=False` stores raw messages and skips that step. The Apache-2.0 Python and [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md) library and REST server run on your own vector store and models, while the hosted Mem0 Platform adds graph memory, memory decay, temporal reasoning, background consolidation (Dream) and webhooks. It ships an official memory plugin for [OpenClaw](https://talira.ai/catalog/openclaw-ght0hsav.md), a hosted MCP server and a CLI.

## Links

- Website: https://mem0.ai
- GitHub: https://github.com/mem0ai/mem0
- Docs: https://docs.mem0.ai
- Pricing: https://mem0.ai/pricing

## Problems it solves

- my chatbot forgets each user's preferences as soon as the conversation ends
- give my AI assistant long-term memory of each user that carries over between sessions
- pull the key facts out of a conversation and store them so the agent can recall them next week
- keep agent memories separate per user, per agent and per session in a multi-tenant app
- self-host an agent memory layer on my own vector database with a local Ollama model
- add long-term memory to my OpenClaw assistant that I talk to on WhatsApp and Telegram
- a hosted memory API with a free plan so I don't have to run a vector store while prototyping
- cut prompt tokens by retrieving only the relevant memories instead of replaying the whole chat history
- let Claude Code and Cursor share one memory store through an MCP server
- store raw chat messages as agent memories without an LLM extraction call on every write
- support bot that remembers each customer's past tickets and what they already tried
- agent memory search that matches on meaning, exact keywords and named people or products together

## Features

- LLM extraction of facts, preferences and decisions from conversations (single-pass, add-only since v3)
- infer=False stores messages as given, without the LLM extraction step
- memories scoped by user_id, agent_id and run_id, with AND/OR/NOT metadata filters
- retrieval that fuses semantic, BM25 keyword and entity matching
- 18 LLM providers, 11 embedders and 25 vector stores in the open source version, including Ollama, Qdrant and pgvector
- self-hosted REST server and dashboard with API keys and an audit log (Docker Compose)
- hosted Platform: graph memory, memory decay, temporal reasoning and Dream background consolidation
- Platform webhooks, memory export, batch updates and feedback on retrieved memories
- hosted MCP server at mcp.mem0.ai for Claude Code, Cursor, Codex, Windsurf, VS Code and OpenCode
- official OpenClaw memory plugin (@mem0/openclaw-mem0) with auto-recall and auto-capture, Platform or self-hosted
- CLI (npm and PyPI) that can sign up as an agent and mint an API key
- integrations with LangGraph, CrewAI, the OpenAI Agents SDK, the Vercel AI SDK, Hermes Agent and OpenCode

## Limitations

- Doesn't extract memories without an LLM: Mem0 requires one (OpenAI's gpt-5-mini by default) for each add, unless you store raw messages with infer=False[^1][^2]

## Ways to run it

### Mem0 Platform

Hosted by Mem0. Price: Free (limits above); Custom: contact sales.[^3][^4]

Only in this edition:

- graph memory
- memory decay
- temporal reasoning
- Dream background consolidation
- webhooks
- memory export
- web dashboard at app.mem0.ai
- organizations and projects

Pricing: https://mem0.ai/pricing

### Mem0 Open Source

You run it, Apache-2.0. Price: free.[^4][^5]

Only in this edition:

- any of 25 vector stores, 18 LLM providers and 11 embedders

Not included:

- graph memory, memory decay, temporal reasoning and Dream, which are Platform-only
- webhooks, memory export and batch operations

You arrange:

- an LLM provider (OpenAI's gpt-5-mini by default, or a local model through Ollama)
- an embedding model
- a vector store such as Qdrant or pgvector

Self-hosting docs: https://docs.mem0.ai/open-source/overview

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Has official SDKs: plan not known
- Has single sign-on: plan not known
- Sends webhooks: plan not known

## Trust

Overall: 0.62 out of 1.
Signals: backing 0.65, extensibility 0.80.

- has a company behind it
- funding: YC; Series A, 2025
- has an MCP server for agents
- security: SOC 2, HIPAA

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [OpenClaw](https://talira.ai/catalog/openclaw-ght0hsav.md)
- Works with [Hermes Agent](https://talira.ai/catalog/hermes-agent-hshebrp1.md)

## Alternatives

- [Hindsight](https://talira.ai/catalog/hindsight-epw5kxdn.md): Long-term memory for AI agents that learns from experience
- [ai-memory](https://talira.ai/catalog/ai-memory-bn4w404w.md): Long-term memory for AI coding agents, shared across agents, projects and machines
- [Engram](https://talira.ai/catalog/engram-6p0bcdf2.md): Persistent memory for AI coding agents
- [Supermemory](https://talira.ai/catalog/supermemory-nek6e663.md): Memory and context layer for AI: memory, RAG, user profiles and connectors in one API
- [Honcho](https://talira.ai/catalog/honcho-yke09mhe.md): Memory infrastructure for building stateful agents
- [Letta](https://talira.ai/catalog/letta-8fr9dnmv.md): Build stateful agents with memory that can learn and improve over time

## Sources

[^1]: https://github.com/mem0ai/mem0 (checked 20 Nov 2026)
[^2]: https://docs.mem0.ai/core-concepts/memory-operations/add (checked 20 Nov 2026)
[^3]: https://mem0.ai/pricing (checked 20 Nov 2026)
[^4]: https://docs.mem0.ai/platform/platform-vs-oss (checked 20 Nov 2026)
[^5]: https://docs.mem0.ai/integrations/openclaw (checked 20 Nov 2026)
[^6]: https://github.com/mem0ai/mem0/blob/main/LICENSE (checked 20 Nov 2026)
[^7]: https://mem0.ai (checked 20 Nov 2026)
[^8]: https://docs.mem0.ai/platform/mem0-mcp (checked 20 Nov 2026)
[^9]: https://mem0.ai/careers (checked 20 Nov 2026)
[^10]: https://mem0.ai/series-a (checked 20 Nov 2026)
