Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
LLM-based agents increasingly tackle long-horizon tasks with interdependent decisions, where each action reshapes future constraints and intermediate errors can cascade. Existing RAG and agent memory systems organize histories by semantic similarity, retrieving content-relevant entries at decision time. We argue that this design mismatches execution-state dependencies: it fragments decision trajectories and mixes valid and erroneous traces, hindering coherent state reconstruction and error isolation. We propose MAGE (Memory as Agent-Guided Exploration), an active execution-state manager that stores interactions in a hierarchical state tree. The agent derives its state from the active root-to-current path, combining subgoal summaries, recent traces, and hints from prior branches. Four coupled operations maintain the tree: Grow records new traces, Compress summarizes completed subgoals, Maintain validates summaries, and Revise restores a target boundary and resumes on a new branch. This design bounds context growth while preserving state integrity and isolating flawed segments from the active path. Experiments on MemoryArena show that MAGE improves the average task success rate by 7.8--20.4 pp over baselines, while reducing token consumption by 55.1%.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 29 of its 52 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
29 of 52 references.
Closest ancestors · 14
Same direction, newest first
- 2026MEME: Multi-entity & Evolving Memory Evaluation12 May
- 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications26 Feb
- 2026MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks18 Feb
- 2026MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic Reasoning26 Jan
- 2026Continuum Memory Architectures for Long-Horizon LLM Agents14 Jan
- 2026Amory: Building Coherent Narrative-Driven Agent Memory through Agentic Reasoning9 Jan
- 2026Memory Matters More: Event-Centric Memory as a Logic Map for Agent Searching and Reasoning8 Jan
- 2026TiMem: Temporal-Hierarchical Memory Consolidation for Long-Horizon Conversational Agents6 Jan
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects14 Dec
- 2025O-Mem: Omni Memory System for Personalized, Long Horizon, Self-Evolving Agents17 Nov
- 2025ENGRAM: Effective, Lightweight Memory Orchestration for Conversational Agents17 Nov
- 2025In Prospect and Retrospect: Reflective Memory Management for Long-term Personalized Dialogue Agents11 Mar
2 more
Other references · 15
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
3 more
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026LycheeMemory V2: Efficient Long-Term Memory for LLM Agents via Semantic Segment-Level Consolidationcited by 3
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyondcited by 3
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 1
- 2026Stable Geometry with Divergent Task Evidence for Efficient Long-Horizon Agent Compressioncited by 0
- 2026StateGuard: Analytical-State Management with Validity-Aware Intervention for Long-Horizon Data Agentscited by 0
- 2026FlowState: Execution State as Memory for Long-Horizon LLM Agentscited by 0
- 2026FlowState: Execution State as Memory for Long-Horizon LLM Agents28 Sep 2026
- 2026StateGuard: Analytical-State Management with Validity-Aware Intervention for Long-Horizon Data Agents28 Sep 2026
- 2026Stable Geometry with Divergent Task Evidence for Efficient Long-Horizon Agent Compression23 Sep 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond14 Aug 2026
- 2026LycheeMemory V2: Efficient Long-Term Memory for LLM Agents via Semantic Segment-Level Consolidation13 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agent Memory: Characterization and System Implications of Stateful Long-Horizon Workloads
- 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent
- 2026Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents
- 2026Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States
- 2026EvoMemBench: Benchmarking Agent Memory from a Self-Evolving Perspective
- 2026ActiveMem: Dynamic Latent Memory Trees for Long-Horizon Agents
- 2026MemForest: An Efficient Agent Memory System with Hierarchical Temporal Indexing
- 2026AdMem: Advanced Memory for Task-solving Agents