跳到正文
arXiv (AI + Vision + Imaging)· Jayant Parashar, Eugene F. Douglass, William C. Bastian, Suchendra M. Bhandarkar·· 8 天前AI 评分28

Vestrum:从少量长程任务中学习Agent Harness的验证、检索与结构

Vestrum: Learning the Verification, Retrieval and Structure of Agent Harnesses from a Few Long Episodes

AI 导读

Vestrum 通过逐组件改进现有 Agent Harness,从 1-10 个长开发任务中学习,将失败归为可识别类别并只修改出错组件。在 Claude Code 上,它将 Terminal-Bench 4 Hard 的测试通过率从 63.7% 提升至 70.3%,测试成本为 1.03 倍。

正文 · 原文

arXiv:2609.33822v2 Announce Type: replace Abstract: Agent harnesses decide what the model retrieves, decomposes, remembers and verifies, and most people use harnesses that are pre-built and fixed, such as Claude Code or a published memory system. Harness optimizers rewrite their own harness code rather than editing pre-built systems, and they learn from tens to hundreds of tasks, while long-horizon work offers a handful of episodes, each hundreds of tool calls long. We present Vestrum, which improves existing harnesses component by component. It reads full raw traces, states each failure as a recognizable class, and changes the one component where the error arose (a self-verification, a retrieval view, a decomposition step or a memory operation). Each change targets a failure that recurs across tasks of the same kind. Before anything runs, a generalization filter refuses changes that copy facts from the development tasks. Vestrum learns from one to ten long development episodes and improves tasks it has never seen in all five settings. On Claude Code, Vestrum raises Terminal-Bench 4 Hard from 63.7% to 70.3% of test checks at 1.03x the test cost. It raises expert cell-type agreement from 67.5% to 77.8% on held-out sections of one slide. On the GAM memory system, it raises UltraHorizon from 47.6 to 59.8, AMA-Bench from 64.2% to 74.2% and LoCoMo from 71.5% to 74.9%. It beats the GEPA prompt search we ran on the same data in every paired evaluation, and these gains hold under a test model different from the one Vestrum's search used. Across the searches, every self-verification the loop kept acts early: it checks an intermediate result against recorded evidence before the result is committed, or, on Terminal-Bench, requires an invariant and a probe before the first edit. In development, auditors that re-examined every finished answer broke more correct answers than they fixed, and the loop did not keep them.

来源:arXiv (AI + Vision + Imaging) · arxiv.org