Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
Paper · https://arxiv.org/abs/2504.19413
Large Language Models (LLMs) have demonstrated remarkable prowess in generating contextually coherent responses, yet their fixed context windows pose fundamental challenges for maintaining consistency over prolonged multi-session dialogues. We introduce Mem0, a scalable memory-centric architecture that addresses this issue by dynamically extracting, consolidating, and retrieving salient information from ongoing conversations. Building on this foundation, we further propose an enhanced variant that leverages graph-based memory representations to capture complex relational structures among conversational elements. Through comprehensive evaluations on LOCOMO benchmark, we systematically compare our approaches against six baseline categories: (i) established memory-augmented systems, (ii) retrieval-augmented generation (RAG) with varying chunk sizes and k-values, (iii) a full-context approach that processes the entire conversation history, (iv) an open-source memory solution, (v) a proprietary model system, and (vi) a dedicated memory management platform. Empirical results show that our methods consistently outperform all existing memory systems across four question categories: single-hop, temporal, multi-hop, and open-domain. Notably, Mem0 achieves 26% relative improvements in the LLM-as-a-Judge metric over OpenAI, while Mem0 with graph memory achieves around 2% higher overall score than the base configuration. Beyond accuracy gains, we also markedly reduce computational overhead compared to full-context method. In particular, Mem0 attains a 91% lower p95 latency and saves more than 90% token cost, offering a compelling balance between advanced reasoning capabilities and practical deployment constraints. Our findings highlight critical role of structured, persistent memory mechanisms for long-term conversational coherence, paving the way for more reliable and efficient LLM-driven AI agents.
First seen by Oriel on .
AI summary
Mem0 is a scalable memory architecture for long-running AI-agent conversations that improves benchmark performance while sharply reducing latency and token costs compared with processing full conversation histories.
- Mem0 dynamically extracts, consolidates, and retrieves salient information; a graph-based variant represents relationships among conversational elements.
- On the LOCOMO benchmark, both methods outperform evaluated memory systems across single-hop, temporal, multi-hop, and open-domain questions.
- Mem0 scores 26% higher than OpenAI on the LLM-as-a-Judge metric, while graph memory adds around 2% to the base configuration’s overall score.
- Compared with the full-context approach, Mem0 reduces p95 latency by 91% and token costs by more than 90%.
#llm agents #ai memory #graph memory #locomo benchmark
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hugging Face Papers: 79, latest observation ; +4 over observed period since
Comments
Comment count reported by the source.
- Hugging Face Papers: 2, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hugging Face Papers | 2504.19413 | https://arxiv.org/abs/2504.19413 Read discussion |