Skip to content

Source paper

Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory

Prateek Chhikara, Dev Khant, Saket Aryan and 2 more

Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, Deshraj Yadav

arXiv 2504.19413 · 202537 upvotes on Hugging Face

Research ideas from this paper (3)

Generated by AI. The paper’s authors did not write these.

AI summary

This paper introduces Mem0 and Mem0-graph, memory architectures designed to enable Long Large Language Models (LLMs) to maintain coherence across extended, multi-session interactions. By dynamically extracting salient facts into a vector store or a knowledge graph and employing an incremental update mechanism (add/update/delete), the system achieves state-of-the-art performance on the LOCOMO benchmark while significantly reducing latency and token costs compared to full-context or RAG baselines.

How it works (AI summary)

The system uses a pipeline where an LLM analyzes message pairs to extract facts, which are then managed via tool-calls (ADD, UPDATE, DELETE) in a vector database (Mem0) or a Neo4j knowledge graph (Mem0-graph). Retrieval is performed using dense vector similarity for text or a dual entity/triplet matching strategy for graphs.