Provides a persistent memory layer for AI agents to remember user preferences and interactions across sessions.

Mem0 screenshot 1

Mem0 is an open-source and self-hosted web app and server that provides a persistent memory layer for AI agents and applications. It allows AI systems to remember user preferences and past interactions across different sessions without requiring changes to the underlying data pipeline. This capability enables AI assistants to adapt to individual needs and maintain a consistent context over long periods of time.

The software is available in several deployment formats to suit different stages of development. It can be used as a Python or JavaScript library for rapid prototyping and testing. For teams requiring their own infrastructure, it offers a self-hosted server deployed via Docker Compose. Additionally, a managed cloud platform is available for production environments requiring zero-ops management. Users can interact with the system through SDKs, a REST API, or a dedicated command line interface.

Key features

  • Multi-level memory tracking for user, session, and agent states
  • Single-pass extraction that accumulates memories without overwriting
  • Multi-signal retrieval combining semantic, BM25 keyword, and entity matching
  • Temporal reasoning to rank memories based on dates and current state
  • Entity linking to embed and connect related information across memories
  • Support for multiple LLMs and embedding models
  • Integration with AI coding assistants via a skills standard

Mem0 is designed for developers building personalized AI assistants, customer support chatbots, and autonomous systems in fields such as healthcare or gaming. It uses a hybrid retrieval approach and supports various deployment models depending on the scale of the project. The architecture allows for the extraction of facts from conversations which are then stored as first-class entities to boost retrieval accuracy. It integrates with tools like Langgraph and CrewAI to enhance the capabilities of agentic workflows.

It serves as a state management layer for generative AI applications requiring long-term memory and personalized user experiences.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity15 days ago
Repository Age3 years
LicenseApache-2.0
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.