HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
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 iterative and evaluation-guided improvement of a harness by an AI system -- both an important route to improving AI systems and a demanding capability for AI systems themselves. Yet the community lacks a common protocol for measuring how well frontier LLMs perform at this task. We introduce HarnessOpt-Bench, a benchmark for end-to-end harness optimization under expensive and stochastic evaluation. An optimizer, an LLM paired with a coding harness, receives a target agent's seed harness, graded evaluation feedback, and a fixed target-evaluation budget. It edits the harness and nominates a final candidate, which is scored by its normalized gain over the seed on a held-out test partition that remains inaccessible throughout search. A trusted execution environment enforces the evaluation boundary, meters target-agent resource use, and preserves candidate versions for audit. We evaluate 5 frontier LLMs as optimizers both under a shared coding harness and under their native harnesses across 4 downstream tasks, over 111 scored runs. Experiment results show that optimizer models separate more than the coding harnesses they act through, native harnesses are not consistently superior, and gains vary substantially across tasks and seed regimes. These results establish harness optimization as a measurable and discriminative capability with large space for improvement.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 30 of its 37 references that are in the map. First posted on arXiv 6 Aug 2026.
Builds on
30 of 37 references.
Closest ancestors · 7
Same direction, newest first
- 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflows27 May
- 2026Stop Comparing LLM Agents Without Disclosing the Harness7 May
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
- 2026VeRO: A Harness for Agents to Optimize Agents25 Feb
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun
- 2025A Self-Improving Coding Agent21 Apr
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
Other references · 23
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2023Large Language Models as Optimizerscited by 864
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 469
- 2024Automated Design of Agentic Systemscited by 407
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 356
11 more
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
- 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 175
- 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 174
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 148
- 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 69
- 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundrycited by 47
- 2025LLM-AutoDiff: Auto-Differentiate Any LLM Workflowcited by 21
- 2026RSIBench-Data: Benchmarking Data-Centric Research for Recursive Self-Improvementcited by 18
- 2026Do Androids Dream of Breaking the Game? Systematically Auditing AI Agent Benchmarks with BenchJackcited by 14
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?cited by 13
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 3
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcutscited by 1
- 2026From Migration to Calibration: Aligning Agents with Deployment Requirementscited by 0
- 2026Turbo Harness: Instance-Adaptive Harness Optimizationcited by 0
- 2026What Does a Harness Repair? A Preregistered Study of Visibility, Baseline Adequacy and Evaluation Defectscited by 0
- 2026From Existing Methods to New Research Ideas: Two Perspectives on Recursive Self-Improvementcited by 0
- 2026EvoCowork: A Benchmark for Real-World Office Taskscited by 0
- 2026Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agentscited by 0
- 2026Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents14 Oct 2026
- 2026EvoCowork: A Benchmark for Real-World Office Tasks10 Oct 2026
- 2026From Existing Methods to New Research Ideas: Two Perspectives on Recursive Self-Improvement10 Oct 2026
- 2026What Does a Harness Repair? A Preregistered Study of Visibility, Baseline Adequacy and Evaluation Defects4 Oct 2026
- 2026Turbo Harness: Instance-Adaptive Harness Optimization30 Sep 2026
- 2026From Migration to Calibration: Aligning Agents with Deployment Requirements28 Sep 2026
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcuts16 Sep 2026
- 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?1 Sep 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Rethinking the Evaluation of Harness Evolution for Agents
- 2026Self-Harness: Harnesses That Improve Themselves
- 2026Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agents
- 2026LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Tasks
- 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptation
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimization
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces
- 2026Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streams