人在回路:长时程智能体的实时自我改进
研究论文 · 2026/08/28
长时程智能体运行产生的经验可以改善当前运行和未来工作。大多数自我改进方法仅在执行结束后处理这些经验,因此无法重定向正在进行的运行或立即应用和验证从中获得的教训。我们认为自我改进应该是实时的,利用新出现的经验来重定向当前运行并更新持久化工具。现有智能体架构不完全支持这一目标。单智能体自我纠错将任务执行和轨迹评估结合在一个上下文中,而子智能体委派分离了执行,但通常无法重定向正在进行的子智能体。我们提出了PILOT,一个监督者-工作者架构,通过两个耦合机制实现实时自我改进:(1) 实时引导允许独立的监督者在执行期间重定向或中止正在工作的智能体;(2) 实时自我进化将执行中揭示的程序和失败模式提炼为可复用的技能和记忆。在两个固定基座模型和三个基准测试中,PILOT在六种配置中的五种中排名第一。在Terminal-Bench 2.0上,PILOT比对应架构高出最多9.8个百分点。在自我改进设置中,PILOT在GLM-5.1上提升14.6个百分点,在Kimi-K2.6上提升12.4个百分点。平均输出令牌分别下降42.9%和47.4%,而每百万输出令牌的成功评估分别上升110.3%和134.0%。
该论文提出了一种新颖的实时自我改进框架,解决了现有方法无法在运行中调整和学习的局限,实验证明其显著提升性能并降低计算成本,对长时程智能体研究有重要价值。
Long-horizon agent runs generate experience that can improve both the current run and future work. Most self-improvement methods process this experience only after execution ends, so they cannot redirect the active run or immediately apply and validate lessons learned from it. We argue that self-improvement should instead be live, using emerging experience both to redirect the active run and to update the persistent harness. Existing agent architectures do not fully support this goal. Single-agent self-correction combines task execution and trajectory assessment within one context, while subagent delegation separates execution but typically cannot redirect an active subagent. We present PILOT, a supervisor-worker harness for live self-improvement through two coupled mechanisms: (1) live steering lets a separate supervisor redirect or abort the active worker during execution; and (2) live self-evolution distils procedures and failure modes revealed during execution into reusable skills and memory. Across two frozen backbones and three benchmarks, PILOT ranks first in five of six configurations. On Terminal-Bench 2.0, PILOT outperforms counterpart harnesses by up to 9.8 percentage points. In the self-improvement setting, PILOT gains 14.6 points with GLM-5.1 and 12.4 points with Kimi-K2.6. Mean output tokens fall by 42.9% and 47.4%, while successful evaluations per million output tokens rise by 110.3% and 134.0%, respectively.