As LLMs are increasingly deployed within agentic systems, their capabilities depend not only on the model weights but also on the harness: the prompts, tools, control flow, memory, and orchestration code surrounding them. This makes automated harness optimization, the improvement of a harness by an AI system, both a route to better AI systems and a demanding capability in its own right. We introduce HarnessOpt-Bench, a benchmark for end-to-end harness optimization under expensive and stochastic evaluation. HarnessOpt-Bench provides a sandboxed environment in which an optimizer, an LLM in a coding harness, iteratively edits and evaluates a target agent's harness within a fixed budget, then submits a final candidate that is scored by normalized gain over the baseline on a held-out test partition. We evaluate 5 frontier LLMs as optimizers under two shared and their native coding harnesses across 4 downstream tasks, with 3 runs per condition. Of the 10 model pairs, 7 differ clearly, and these differences hold when the final candidates are run with two unseen target models. Native coding harnesses give no consistent advantage. Gains depend on the task and on the starting harness's strength. These results establish harness optimization as measurable and discriminative, with space for improvement. Code is available at https://github.com/scaleapi/vero/tree/main.
翻译:暂无翻译