NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MIRIX: Multi-Agent Memory System for LLM-Based Agents

Yu Wang, Xi ChenarXiv 2025 · DOI

Abstract

Current Large Language Model (LLM) agents are often limited by their "stateless" nature, losing context once a conversation ends or the context window is saturated. MIRIX addresses this by introducing a modular, multi-agent memory system that organizes information into six specialized cognitive structures. This architecture enables agents to persist, reason over, and accurately retrieve diverse information over long periods, achieving state-of-the-art performance on multimodal and long-form textual tasks while drastically reducing storage overhead.

Introduction

Most existing solutions for agent memory, such as Retrieval-Augmented Generation (RAG) or long-context windows, treat memory as a "flat" collection of text chunks. This lack of structure makes it difficult for agents to distinguish between permanent user preferences and transient events. Furthermore, these systems often struggle with multimodal data, such as computer screenshots, and face significant scalability challenges. MIRIX (Multi-agent Memory System) mimics human cognitive structures to provide a more efficient and capable memory framework for AI assistants.

Methodology: A Modular Memory Architecture

The core innovation of MIRIX is its modular, multi-agent architecture. Rather than relying on a single database, the system categorizes information into six specialized memory "buckets," each managed by a dedicated agent.

The six specialized memory components of the MIRIX architecture, ranging from Core Memory to the Knowledge Vault.

The Six Memory Components

  • Core Memory: High-priority information regarding user preferences and the agent's persona, always kept in context.
  • Episodic Memory: A time-stamped log of specific events and experiences involving the user.
  • Semantic Memory: Abstract knowledge, new concepts, and entity relationships (e.g., "John is a friend who likes jogging").
  • Procedural Memory: Step-by-step instructions and guides for performing specific tasks.
  • Resource Memory: Verbatim storage for full documents, files, and media.
  • Knowledge Vault: A secure tier for sensitive information like API keys, addresses, and credentials.

Multi-Agent Orchestration

To manage this complexity, MIRIX employs a Meta Memory Manager that routes incoming data to the correct specialized manager. When a user query is received, the system performs Active Retrieval: it generates a specific search query to pull relevant context from all six memory components simultaneously, ensuring the agent has the most pertinent information for the task at hand.

Evaluation and Datasets

The researchers evaluated MIRIX on two distinct benchmarks to test its multimodal and long-form reasoning capabilities:

  1. ScreenshotVQA: A new dataset introduced in this paper containing nearly 20,000 high-resolution screenshots spanning a month of computer usage. This tests the agent's ability to build memory from a continuous visual stream.
  2. LOCOMO: A standard benchmark for long-form, multi-turn textual conversations, with an average length of 26,000 tokens per interaction.

Key Results

MIRIX demonstrates that structured memory is significantly more effective than raw scale. By extracting salient information and routing it into categories, the system becomes both smarter and leaner.

  • Superior Accuracy: On the ScreenshotVQA benchmark, MIRIX achieved 35% higher accuracy than RAG baselines and outperformed long-context Gemini models by 410%. On the LOCOMO text benchmark, it reached an overall accuracy of 85.38%, surpassing existing baselines like Mem0 and Zep by over 8 percentage points.
  • Massive Efficiency: MIRIX reduced storage requirements by 99.9% compared to RAG and 93.3% compared to long-context methods on the screenshot task.
  • Real-World Application: The authors demonstrated a packaged application capable of monitoring a user's screen in real-time with sub-5-second latency using the Gemini API.

Limitations and Future Work

Despite its successes, MIRIX faces challenges with complex temporal reasoning, such as prioritizing the most recent "confirmed" event when user plans change. Additionally, its performance on open-domain "what if" questions remains dependent on traditional retrieval methods, which can be a bottleneck for global understanding. Future research may explore the concept of a "Memory Marketplace" for sharing or monetizing structured agent memories.

Summary updated

BibTeX
@misc{wang2025mirix,
  author = {Yu Wang and Xi Chen},
  title = {{MIRIX: Multi-Agent Memory System for LLM-Based Agents}},
  year = {2025},
  eprint = {2507.07957},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.07957},
}
Figure