轻装前行:为长周期智能体构建面向对象的上下文
研究论文 · 2026/10/19
长程智能体在持久任务状态中积累进展,却反复处理描述进展如何实现的交互历史。本文提出CarryOn,一种面向对象的上下文运行时,围绕可复用任务对象组织延续,而非以压缩历史或重建的进展叙述为主要基础。CarryOn从延续载体、补充执行上下文和近期交互的实时尾部构建上下文视图。核心挑战是在周围历史退役后保持可复用基础有效:CarryOn跨折叠维护载体记录,依据绑定证据和适用环境检查修订受影响记录,同时保留未受影响记录并联合更新执行上下文。在OSWorld 2.0和BrowseComp-Plus上,分别提升5.8%和7.0%,同时减少总token使用量51.9%和22.9%。
该论文提出了一种新的长程智能体上下文组织方式,通过面向对象的可复用任务对象替代历史压缩,在提升任务性能的同时显著降低token消耗,对长程智能体的效率与可扩展性有重要参考价值。
Long-horizon agents accumulate progress in persistent task state, yet repeatedly process interaction histories describing how that progress was achieved. This raises a natural question: can long-horizon context instead be organized around reusable progress rather than the history that produced it? In this paper, we introduce CarryOn, an object-oriented context runtime that organizes continuation around reusable task objects. Rather than treating compressed histories or reconstructed accounts of progress as the primary basis for continuation, CarryOn builds a context view from continuation carriers, complementary execution context, and a live tail of recent interactions. A core challenge is keeping this reusable basis valid after its surrounding history is retired: how can CarryOn update the basis without reconstructing the full representation at every fold? CarryOn maintains carrier records across folds, revising affected records against bound evidence and applicable environment checks while carrying forward unaffected records and jointly updating execution context. Experiments on OSWorld 2.0 and BrowseComp-Plus show improved gains of 5.8% and 7.0% while reducing total token usage by 51.9% and 22.9%, respectively. Project page: https://ethannju.github.io/carryon