FlowState: Execution State as Memory for Long-Horizon LLM Agents
cs.AI
Submitted: 2026-09-28
Updated: 2026-10-08
License: http://creativecommons.org/licenses/by/4.0/
The gist: Long-horizon tasks require LLM agents to continually draw on information from earlier interactions.
Abstract
Long-horizon tasks require LLM agents to continually draw on information from earlier interactions. However, retaining the full history increases context costs, while compressing it risks losing details needed later, and the relevance of historical information often becomes apparent as the task progresses. To address these challenges, we propose FlowState, which treats execution state as memory that can be retained and revisited across requests, unifying current decision-making with the reuse of historical information. FlowState preserves semantically typed state nodes, their relations, and references to raw tool observations, separating persistent retention from on-demand access. Within a single execution loop, Incremental State Update (ISU) maintains the current state based on new inputs and feedback, while Progressive State Access (PSA) progressively reveals historical states and supporting evidence as needed during reasoning. Together, these mechanisms enable agents to reassess prior decisions in light of new information and guide subsequent actions. Compared with a full-context baseline using the same DeepSeek-V4-Flash model, FlowState improves the average success rate on MemoryArena and the average pass rate on τ cubed-Bench by 4.55 and 13.95 percentage points, respectively, while reducing total token consumption by 43.2% and 40.6%. These results demonstrate the performance and efficiency advantages of FlowState on long-horizon tasks.
Sources
- $\tau^2$-Bench: Evaluating Conversational Agents in a Dual-Control Environment
- STALE: Can LLM Agents Know When Their Memories Are No Longer Valid?
- Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents
- Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
- DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
- From State to Action: OODA-Tool for Reliable Multi-Turn Tool Use
- MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks
- Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents
- ACON: Optimizing Context Compression for Long-horizon LLM Agents
- MINTEval: Evaluating Memory under Multi-Target Interference in Long-Horizon Agent Systems
- MemGPT: Towards LLMs as Operating Systems
- Zep: A Temporal Knowledge Graph Architecture for Agent Memory
- Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertainty
- LedgerAgent: Structured State for Policy-Adherent Tool-Calling Agents
- ReAct: Synergizing Reasoning and Acting in Language Models
- AgentFold: Long-Horizon Web Agents with Proactive Context Management
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems