
Framework Mem0
Mem0
Open-source memory layer that gives AI assistants and agents user, session and agent memory, with a hosted platform.
What it is
Mem0 is a memory layer for AI assistants and agents that stores user preferences and history and retrieves them in later conversations. It keeps memory at user, session and agent level, extracts facts with one LLM call per add, and retrieves with combined semantic, BM25 keyword and entity matching plus time-aware ranking. It is available as a Python or npm library, a self-hosted server with dashboard and API keys, or the managed Mem0 Platform. It integrates with frameworks such as LangGraph and CrewAI.
What it's useful for
Giving a support chatbot memory of each customer's past tickets and preferences so it does not ask the same questions again.
Key features
- User, session and agent memory
- Single-pass add-only extraction with entity linking
- Multi-signal retrieval: semantic, BM25 keyword and entity matching
- Python and npm libraries, a self-hosted server and a managed platform
- mem0 CLI and skills for coding agents
- Integrations with LangGraph and CrewAI
How to use it
pip install mem0ainpm install mem0aicd server && docker compose up -dCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- Published benchmark scores are for the managed platform, which includes optimizations not in the open-source SDK
- Some advanced features are only included in the cloud platform
- Version 3 changed the algorithm; a migration guide covers upgrades from v2
Alternatives
Hosted context and memory layer for agents, built on a temporal knowledge graph, with SDKs, an MCP server and a free plan.
Open-source memory and context API for AI apps and agents, with a hosted MCP server, plugins and a fully local mode.
Open-source harness and TypeScript SDK for stateful agents with long-term memory, formerly MemGPT.
Open-source Python library for building AI agents that browse and act on websites, with an optional hosted cloud.
MCP servers for this
MCP reference server that gives an AI client controlled read/write access to chosen local directories.
MCP reference server that gives a client persistent memory as a local knowledge graph of entities, relations and observations.
MCP reference server with one tool that has a model work through a problem as numbered thoughts it can revise and branch.
Skills for this
Anthropic's public repository of example Agent Skills, the document skills, a skill template and the spec.
Curated GitHub list of skills, plugins, agents, status lines, hooks and tooling for Claude Code.
Skills-based software development workflow for coding agents: brainstorm, plan, test-first, subagent execution.
Related resources
Speech-to-text API for pre-recorded and streaming audio (AssemblyAI-STT-3.7), with speech understanding, guardrails and an LLM Gateway.
Self-hostable platform of AI 'Experts' coordinated by an assistant called Otto, with a visual block-based workflow builder.
Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.
Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.