CarryOn: Learning What to Keep in Context for Long-Horizon LLM Agents
Lihuan Li, Ruiyi Yang, Jiru Wang, Yifan Duan, Xiachong Lin, Hao Xue, Yang Song, Flora Salim
Key points
From the paper's conclusion- We propose CarryOn, a lightweight context manager that pairs compact execution state with fine-grained, source-linked evidence.
Abstract
Long-horizon LLM agents can coordinate tools and applications to complete complex, multi-step tasks. As their interaction histories grow, effective context management becomes essential for reliable and efficient execution. Existing methods reduce context through summarization, pruning, or history selection. However, shorter contexts do not necessarily support better decisions: summaries can omit exact details needed for later actions, while retaining entire interactions can carry substantial irrelevant information. We propose CarryOn, a lightweight context manager that pairs compact execution state with fine-grained, source-linked evidence. A learned selector and adaptive retention policy keep relevant evidence available without additional LLM calls for context management. We introduce two complementary evaluation metrics: $S_\alpha$ prioritizes task success while accounting for resource use, and normalized cost per success (NCS) measures the resources spent per successful task. Across AppWorld, OfficeBench, and Tau2 Telecom with three LLM Actors, CarryOn achieves 75.7% macro-averaged task success, exceeding the strongest baseline by 6.7 percentage points. It also achieves the best average scores on both metrics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RLarXiv · 2026
- Semantic Context Handoff with On-Demand Evidence for Long-Horizon AgentsarXiv · 2026
- ContextRender: From Execution Dependencies to Agent ContextarXiv · 2026
- COMPASS: Enhancing Agent Long-Horizon Reasoning with Evolving Context.Proceedings of the conference. Association for Computational Linguistics. Meeting · 2026
- How Much Should an Agent Remember? Deployment Lessons from Self-Distilled Memory for LLM AgentsarXiv · 2026
- CTXAgent - Self-Controlled Context Management of LLM AgentsarXiv · 2026