AI & Machine Learning · AI Development Platforms
Mem0
Persistent memory infrastructure for AI agents and assistants
Mem0 is an Apache-2.0 memory layer for developers building AI agents and assistants that retain context across interactions. It offers Python and JavaScript SDKs, a self-hosted server, and a managed Platform with a free Hobby tier, paid plans starting at $19 per month, and custom enterprise pricing.
Key facts
- License
- Apache-2.0
- Main language
- Python, TypeScript, JavaScript
- Maintainer
- Mem0
- Latest release
- v2.2.1, September 25, 2026
- GitHub stars
- 67.6k, October 2026
- Hosted option
- Cloud from free, Starter $19/month, Pro $249/month, Enterprise custom
What Mem0 is
Mem0 is an open-source memory layer for AI agents and assistants, maintained by Mem0 and associated with founders Taranjeet Singh and Deshraj Yadav. The repository was created in 2023, and its README identifies Mem0 as infrastructure for persistent agent memory. GitHub lists 67,597 stars, 7,977 forks, and 10 named top contributors, while the company about page reports more than 200,000 developers, more than 66,000 GitHub stars, and $24 million raised. TechCrunch reported the same funding total in October 2025. Mem0 targets customer-support agents, personal assistants, and applications that need context across sessions. Its Apache-2.0 license makes the core repository suitable for commercial deployment, subject to the license terms.
How it works
Mem0 exposes memory operations through SDKs, a command-line interface, and a service API. A typical integration creates a Memory instance, searches for relevant records with a user identifier, places matching context into a model prompt, and adds the resulting conversation afterward. The library uses an LLM to extract durable facts from messages, then stores embeddings and metadata in a configured backend. Developers can add, search, update, and delete memories, and can scope records to users, sessions, agents, or applications. The documentation also describes CLI, MCP, coding-agent, and framework integrations. The hosted Platform adds API keys, projects, dashboards, usage quotas, and managed infrastructure for teams that do not want to operate the service.
Architecture and recent releases
The main implementation is Python, accompanied by a TypeScript and JavaScript SDK. The package uses an LLM for memory extraction and an embedding model for indexing, with OpenAI documented as the default provider. Supported integrations include Anthropic, Ollama, Together, Qdrant, Chroma, Pinecone, Milvus, and other configured providers and stores. The repository includes Docker and shell tooling, and its self-hosted server starts with Docker Compose from the server directory. The latest documented Python release is v2.2.1, dated September 25, 2026, and the Node SDK release is v3.3.1 from the same date. Python v2.2.0 added asynchronous user-profile generation to the Platform client, using developer-defined JSON Schemas and idempotent requests.
License and pricing
The core repository uses the Apache-2.0 license, which permits commercial use, modification, redistribution, and sublicensing when its copyright, notice, and patent conditions are met. The repository and Platform are separate deployment choices. Self-hosted operators pay for model calls, embeddings, vector storage, and application infrastructure. The Platform lists a free Hobby tier, Starter at $19 per month, Pro at $249 per month, and custom Enterprise pricing. Hobby includes 10,000 add requests and 1,000 retrieval requests monthly. Starter includes 50,000 and 5,000, while Pro includes 500,000 and 50,000. Enterprise adds unlimited request quotas, on-premises deployment, audit logs, SSO, custom integrations, and SLA support.
Limitations and how it compares
Mem0's main operational constraint is its dependence on configured model and embedding services for inferred memory writes. Teams must also define retention, deletion, tenant isolation, access control, encryption, and backup procedures for stored memories. Zep is a direct alternative for teams evaluating a dedicated memory service, while Letta takes a broader agent-runtime approach and LangMem supplies memory components for LangChain applications. Mem0 fits teams that want a focused memory API, Python and JavaScript clients, multiple vector-store integrations, Apache-2.0 code, and an optional managed service. Teams seeking a complete agent runtime or an application-owned summary table should compare those approaches before adopting it.
Main features
- Persistent Memory. Stores durable facts from conversations so agents can recall user, session, and application context across separate interactions.
- Scoped Retrieval. Filters memories by user, agent, application, or run identifiers before returning relevant records to an application.
- Memory Inference. Uses a configured language model to extract, deduplicate, update, and embed useful facts from conversation messages.
- Multiple SDKs. Provides Python and JavaScript packages, a command-line interface, and integrations for agent and application development workflows.
- Vector Store Support. Support Qdrant, Chroma, Pinecone, Milvus, and other configured vector backends for self-hosted memory storage within the project workflow.
- Managed Platform. Offer hosted API access, dashboards, project controls, authentication, quotas, and enterprise deployment options within the project workflow.
- User Profiles. Platform clients can asynchronously generate structured user profiles from memories using developer-defined JSON Schemas within the project workflow.
Self-hosting Mem0
The library installs through pip or npm, while the self-hosted server starts with Docker Compose from the repository's server directory. The documented bootstrap command starts the stack, creates an administrator, and issues an initial API key; operators can also start Compose and complete setup through the browser wizard. A deployment requires an LLM provider, an embedding provider, and a supported vector store such as Qdrant, Chroma, Pinecone, or Milvus. The referenced documentation publishes no minimum CPU, memory, or storage requirement. Authentication is enabled by default. Operators should review upgrade notes, preserve configuration, and back up vector and metadata stores before upgrades.
Strengths
- Apache-2.0 licensing permits commercial deployment and modification.
- Python and JavaScript SDKs cover common agent application stacks.
- The API supports scoped memories for users, agents, applications, and runs.
- The hosted Platform offers a free tier and documented paid quotas.
Drawbacks
- Each inferred memory write requires configured model and embedding services.
- Self-hosting leaves vector storage, model costs, upgrades, and backups to the operator.
- The free Platform tier allows only 1,000 retrieval requests per month.
What teams replace with it
Teams usually evaluate Mem0 when they want to move off Pinecone, Redis.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Mem0
- Zep
- Letta
- LangMem
- OpenMemory
- Supermemory
Frequently asked questions
Is Mem0 free to use?
The open-source repository is available under Apache-2.0, so teams can run and modify the code without a software license fee. Mem0 also publishes a free Hobby Platform tier with unlimited end users, one project, 10,000 add requests per month, and 1,000 retrieval requests per month. Self-hosting still incurs infrastructure, model, embedding, and vector database costs.
Can companies use Mem0 commercially?
Yes. Apache-2.0 permits commercial use, modification, distribution, and sublicensing when its license, notice, attribution, and patent conditions are followed. The hosted Platform is governed by Mem0's service terms and pricing rather than the repository license. Enterprise customers can purchase custom plans with options including SSO, audit logs, SLA support, and on-premises deployment.
How do you self-host Mem0, and what does it require?
The documented server setup uses Docker Compose from the repository's server directory, with a bootstrap command for initial administration. The library can also be installed with pip or npm and embedded in an application. Operators need an LLM, an embedding provider, and a supported vector store such as Qdrant, Chroma, Pinecone, or Milvus. No minimum hardware specification is published in the referenced documentation.
How does Mem0 compare with Zep?
Both provide persistent memory services for AI applications and can sit between an application and its model calls. Mem0 distinguishes itself with Apache-2.0 repository code, Python and JavaScript SDKs, multiple vector-store choices, and a hosted Platform with published request quotas. Zep is a direct alternative for teams prioritizing its own memory service and product model, so deployment, pricing, and required integrations should be compared for the intended workload.
What privacy and security controls does Mem0 offer?
Self-hosting keeps the memory database and service deployment under the operator's control, while the Platform processes data under Mem0's service terms. The Enterprise offering lists on-premises deployment, audit logs, SSO, and custom integrations. Teams should define deletion, retention, tenant isolation, encryption, model-provider, and backup policies before production use, and should avoid storing secrets or unredacted sensitive data.
Similar projects to compare
- LettaApache-2.0Letta is an agent platform descended from UC Berkeley's MemGPT research, designed for stateful agents whose memory, tools, and conversations persist across turns. The core repository uses Apache-2.0, while Letta Cloud offers managed execution and storage. Developers can use local mode, a self-hosted App Server, or paid hosted plans.
- ACI.devApache-2.0ACI.dev is an Apache-2.0 platform from Aipotheosis Labs for connecting AI agents to more than 600 SaaS integrations. It targets developers building agent products with SDKs, a unified MCP server, OAuth, secrets, permissions, and tool discovery. A managed service exists at aci.dev, but published product pages do not list hosted pricing.
- AgentOSApache-2.0AgentOS is a Python toolkit for building, running, tracking, and sharing reinforcement learning agents through the Python Component System. It targets researchers and developers who need explicit dependencies, virtual environments, and experiment runs. AgentOS and PCS use Apache-2.0. Documentation describes a public registry, but no paid hosted AgentOS service is listed.
- AgnoApache-2.0Agno is a Python SDK and AgentOS runtime for building, serving, and managing agents, teams, and workflows. The runtime is Apache-2.0 licensed and self-hostable. A hosted control plane starts at $150 per month for one live connection and three team seats. This provides a concise description of its development components, runtime model, licensing, deployment option, and hosted pricing.
- BeamAGPL-3.0Beam is an open-source runtime for serverless AI workloads, including GPU inference, sandboxes, functions, and background jobs. Beta9 uses AGPL-3.0 and supports self-hosting, while Beam Cloud provides managed compute, dashboards, billing, and hosted services. The hosted product bills CPU, memory, and GPUs by usage, with published rates for several machine types.
- BifrostApache-2.0Bifrost is an Apache-2.0 Go gateway for applications that need one OpenAI-compatible API across more than 20 model providers. It supports routing, failover, budgets, caching, observability, and MCP controls. The free OSS edition is self-managed, while Maxim offers a custom-priced Enterprise edition with a 14-day trial.