[2602.22480] VeRO: A Harness for Agents to Optimize Agents
Abstract:An important emerging application of coding agents is agent harness optimization: the iterative improvement of a target agent by editing and evaluating its code. Despite its relevance, the community lacks a systematic understanding of coding agent performance on this task. Harness optimization differs from conventional software engineering: agent harnesses interleave deterministic code with stochastic LLM completions, requiring structured capture of both intermediate execution traces and downstream outcomes. To address these challenges, we introduce (1) VeRO (Versioning, Rewards, and Observations), an outer harness that provides versioned snapshots, budget-controlled evaluation, and structured execution traces of target harnesses, and (2) VeRO-Bench, a benchmark suite of target agents and tasks with reference evaluation procedures. Using VeRO, we conduct an empirical study comparing optimizers across tasks and analyzing which modifications reliably improve target agent harnesses. We release VeRO to support research on agent optimization as a core capability for coding agents. Code is available at this https URL.
View PDF HTML (experimental) Abstract:An important emerging application of coding agents is agent harness optimization: the iterative improvement of a target agent by editing and evaluating its code. Despite its relevance, the community lacks a systematic understanding of coding agent performance on this task. Harness optimization differs from conventional software engineering: agent harnesses interleave deterministic code with stochastic LLM completions, requiring structured capture of both intermediate execution traces and downstream outcomes. To address these challenges, we introduce (1)…
saved by
related reading
- [2604.25850] Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessesarxiv.org
- The Last Harness You'll Ever Buildarxiv.org
- [2604.11811] M$^\star$: Every Task Deserves Its Own Memory Harnessarxiv.org
- Meta Context Engineering via Agentic Skill Evolutionarxiv.org
- Harness Engineering for Self-Improvement | Lil'Loglilianweng.github.io
- Towards self-driving codebases · Cursorcursor.com
- [2606.09498] Self-Harness: Harnesses That Improve Themselvesarxiv.org
- The Verification Horizon: No Silver Bullet for Coding Agent Rewardsarxiv.org
- Welcome to Learn Harness Engineeringwalkinglabs.github.io
- Effective harnesses for long-running agents \ Anthropicanthropic.com
- State of RL for reasoning LLMs | A. Weersaweers.de
- Harness design for long-running application developmentanthropic.com