AIJul 26

ACM: Agentic Context Management for Long Horizon Tasks

arXiv:2607.2380921.4Has Code
Predicted impact top 10% in AI · last 90 daysOriginality Incremental advance
AI Analysis

For AI agents handling long-horizon tasks, ACM provides a novel approach to context management that reduces token pressure and improves consistency, though it is an incremental improvement over existing methods.

ACM introduces a framework for lossless context management in long-horizon agentic tasks, enabling agents to autonomously compress and retrieve context using external memory, improving performance on search and coding tasks.

Agentic tasks are inherently long-horizon and multi-turn, constantly accumulating context through interactions with the environment. Existing context compression methods inevitably incur information loss and are triggered by rigid heuristic rules, leaving them misaligned with the agent's evolving reasoning focus. We propose Agentic Context Management (ACM), a framework that equips agents with purpose-built context editing tools for lossless context management. Inspired by the interaction between short-term and long-term human memory, the agent autonomously decides when to compress its context, offloads discarded content to an external memory system, and queries it on demand for later retrieval. Building on this framework, we further develop a post-training pipeline that constructs high-quality demonstrations of context management and improves model performance on both agentic search and coding tasks. Further analysis reveals that effective context management reduces peak token pressure, enables extended explorations, and yields more consistent solutions across independent trials. Code, data, and model checkpoints are available at https://github.com/lixiaochuan2020/agentic-context-management.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes