mem0
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
What is mem0?
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Overview of mem0
What it is
Mem0 is a memory layer for AI agents and applications. It provides drop-in memory infrastructure that retains context persistently. It is designed for production use and supports multi-level memory (user, session, agent).
Key features
- Multi-Level Memory: Retains user, session, and agent state with adaptive personalization.
- Developer-Friendly: Intuitive API, cross-platform SDKs (Python, npm), and a fully managed service option.
- Single-pass ADD-only extraction: Memories accumulate without overwriting.
- Entity linking: Entities are extracted, embedded, and linked across memories for retrieval boosting.
- Multi-signal retrieval: Semantic, BM25 keyword, and entity matching scored in parallel and fused.
- Temporal Reasoning: Time-aware retrieval for current state, past events, and upcoming plans.
Use cases
- AI Assistants: Consistent, context-rich conversations.
- Customer Support: Recall past tickets and user history for tailored help.
- Healthcare: Track patient preferences and history for personalized care.
- Productivity & Gaming: Adaptive workflows and environments based on user behavior.
Getting started
Install the library: bash pip install mem0ai npm install mem0ai For CLI: bash npm install -g @mem0/cli # or: pip install mem0-cli mem0 init --agent --agent-caller claude-code mem0 add 'I am using mem0' mem0 search 'am I using mem0' See the repository README for full usage.
License and pricing
Licensed under Apache-2.0. Open source.
Based on the project's public README and repository metadata.