为长周期终端智能体实现自我进化
研究论文 · 2026/10/21
长时程终端智能体可能在单次运行中解决任务,但在重复运行中失败。随机错误会通过动作和上下文传播,造成能力与可靠执行之间的差距。我们提出RiseHarness,一个在模型权重固定下迭代改进智能体运行框架的框架。它专注于翻转在相同配置下既有成功又有失败的任务,利用成功运行作为失败分析的参考。RiseHarness结合智能体轨迹与来自运行时监控器的内部框架追踪,以检查模型动作如何与命令执行、反馈、上下文管理和完成决策交互。Harness Handbook将这些证据与框架行为和源代码联系起来,帮助识别跨任务共享机制中的重复问题。然后,RiseHarness在其他框架中搜索相关实现,并将其适配为当前模型和执行协议的设计参考。候选变更经过行为检查和重复任务评估;具有测量增益的版本作为下一次迭代的种子。这个循环将不同框架中的合适机制集成到一个框架中,并利用新的执行证据指导进一步变更。我们在多个模型上评估任务成功率和可靠性,消融框架执行证据和外部研究,并测试同一模型下对未见基准的迁移。RiseHarness将特定模型作为框架适配的单元,研究对共享交互机制的更改如何使现有能力在跨任务中更可靠。
该研究针对长时程终端智能体在重复运行中的可靠性问题,提出了一种在模型权重固定下迭代改进运行框架的方法,通过结合成功与失败运行的分析、内部追踪和跨框架机制借鉴,系统性地提升智能体执行的稳定性。其方法具有创新性,且实验涵盖了多模型评估、消融研究和迁移测试,对提升智能体实际部署的可靠性有重要参考价值。
Long-horizon terminal agents may solve a task in one run yet fail across repeated runs. Stochastic errors can propagate through actions and context, creating a gap between capability and reliable execution. We present RiseHarness, a framework for iteratively improving agent harnesses with model weights fixed. It focuses on flipping tasks with both successful and failed runs under the same configuration, using successful runs as references for failure analysis. RiseHarness combines agent trajectories with internal harness traces from a runtime monitor to examine how model actions interact with command execution, feedback, context management, and completion decisions. A Harness Handbook links this evidence to harness behaviors and source code, helping identify recurring problems in mechanisms shared across tasks. RiseHarness then searches other harness frameworks for relevant implementations and adapts them as design references to the current model and execution protocol. Candidate changes undergo behavioral checks and repeated task evaluation; versions with measured gains seed the next iteration. This loop integrates suitable mechanisms from different frameworks into a single harness and uses new execution evidence to guide further changes. We evaluate task success and reliability across models, ablate harness execution evidence and external research, and test transfer to unseen benchmarks with the same model. RiseHarness treats a specific model as the unit of harness adaptation, studying how changes to shared interaction mechanisms can make existing capabilities more reliable across tasks.