Can you prove one piece of an AI agent's setup — like its planning step — actually caused a better score, not just a cheaper run?
Can individual harness components improve accuracy on specific benchmarks?
This explores whether specific parts of an agent's harness (the planning step, context management, tool setup, verification code wrapped around a frozen model) can raise scores on particular benchmarks, and how we'd know if the gain is real.
This explores whether you can point to one piece of the scaffolding around a model (its planning step, how it manages context, how it filters its own reasoning) and show that piece raises a benchmark score. The short answer is yes, but less often than the headlines suggest, and the gain often shows up as lower cost rather than higher accuracy. Whole-harness gains are well documented. One execution system lifted several frozen models on Terminal-Bench 2.1 without changing their weights, and the same runbook carried over to newer models Can execution harnesses lift model performance without retuning weights?. In RSIGym trials, fixing the harness kept improving frontier models, while extra fine-tuning lowered scores in eight of ten comparisons Do harness fixes or heavier training drive frontier model gains?.
When researchers take the harness apart, the value of each component depends on the situation. A controlled study of coding harnesses found that context management matters most when the context window is tight. Planning does something different depending on the model: it improves accuracy for weaker models, but for stronger models its main effect is lowering cost Which coding harness components matter most in different conditions?. Some components do produce large, specific gains. A stronger model built inference harnesses that nearly doubled a weaker model's Theory-of-Mind scores. The gain came mainly from moving unstable reasoning steps into deterministic code and routing each task type to its own handling, not from making the model think longer Can a stronger model lift a weaker one at test time without retraining?. A narrower component, filtering reasoning traces by step-by-step confidence instead of an average over the whole trace, matched majority-voting accuracy while generating far fewer traces Does step-level confidence outperform global averaging for trace filtering?.
The twist is measurement. On SWE-bench Verified, rerunning the *same* harness flips task outcomes about as often as switching to a different one. A typical 45-task comparison catches a real 13-point gap only half the time Do harness comparisons on SWE-bench Verified measure real differences?. Across three production coding harnesses and five models, switching harnesses moved accuracy no more than rerun noise did, but it changed token cost by up to three times Does switching between coding harnesses change model accuracy?. Automated harness search shows the same pattern: four discovered mechanisms (action execution, context compaction, observation handling, delegated reading) cut token traffic by nearly half while accuracy stayed roughly flat Can agent harnesses be automatically optimized across many environments?. Even when accuracy does rise, some of the gain may just be extra compute. Evolved harnesses should be compared against plain test-time search with the same budget before the design gets credit How should we measure gains from automatic harness evolution?.
There's also a risk that a component which works on one benchmark is overfit to it. ModularRSI tackles this by evolving each harness module separately, on data kept apart from the benchmark, and updating a module only after evidence from many tasks agrees. That separates reusable improvements from benchmark-specific tuning Can harness modules improve separately from benchmark data?. Safety harnesses show the opposite problem: settings strict enough for one model block too much on another, so they have to be tuned for each deployment Should safety harnesses be customized for each deployment?. Weng argues that this kind of harness engineering, not models rewriting their own weights, is where recursive self-improvement starts in the near term Does recursive self-improvement start with harness engineering?. If so, telling real component gains apart from noise and overfitting matters more than any single benchmark number.
Sources 12 notes
StateM improves Terminal-Bench 2.1 accuracy across multiple models by optimizing execution systems around frozen weights. The same runbook transfers to newer models without modification, achieving 95.3% on GPT-5.6 and lifting DeepSeek-V4 Flash by 5.4 points.
Across six frontier models in RSIGym's Joint track, harness fixes consistently improved performance while additional fine-tuning lowered scores in eight of ten comparisons. Claude agents ranked highest by spending more time diagnosing and revising harnesses rather than scaling training.
A controlled study varying planning, action space, and context management across models and budgets found that context management becomes most valuable under tight windows, while planning shifts from helping weaker models to cutting costs for stronger ones.
A stronger model built inference-time harnesses that nearly doubled weaker model performance on Theory-of-Mind benchmarks without retraining, primarily by moving unstable reasoning into deterministic code and task-specific routing rather than encouraging extended reasoning.
Local step-level confidence catches reasoning breakdowns that global averaging masks and enables early stopping before traces complete. This approach achieves comparable accuracy gains to naive majority voting with far fewer generated traces, proving trace quality matters more than quantity.
Show all 12 sources
On SWE-bench Verified, rerunning the same harness flips task outcomes as often as swapping harnesses. A 13-point accuracy gap is caught only half the time on typical task set sizes, requiring a rerun baseline to verify any claimed harness advantage.
Across three production harnesses and five models on SWE-bench Verified, switching harnesses shifted pass rates within normal rerun variation but changed token cost up to threefold. The cost difference came from fixed overhead in system prompts and tool schemas, multiplied by step count.
Cross-environment harness optimization yielded four mechanisms (action execution, context compaction, observation handling, delegated reading) that reduced token traffic by 44.7–49.0% while maintaining comparable performance on a 51-task benchmark, suggesting harness-level gains are orthogonal to model improvements.
Automatic harness evolution must be compared against task-level test-time search under equal feedback and inference budgets. Only gains beyond what matched search achieves are attributable to the harness design itself, not just more computation.
ModularRSI evolves harness modules independently using contrastive trajectories on benchmark-disjoint data, showing consistent gains across unseen tasks and domains. The approach isolates mechanism-level improvements from task-specific adaptation by aggregating evidence across tasks before updating components.
A harness strict enough for one model over-blocks another, while policies general enough to transfer across domains miss application-specific safety relations. Domain semantics and model characteristics jointly determine which harness is effective.
Weng argues RSI's initial path moves through optimizing deployment harnesses—instruction prompts to harness code to optimizer code—rather than models directly rewriting weights. This staged progression mirrors how prompt engineering gave way to instruction tuning while interface needs persisted.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?
- Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agents
- Sharpening Tax in Post-Training
- What Does a Harness Buy? Tokens, Mostly
- Scaling Laws for Agent Harnesses via Effective Feedback Compute
- Rethinking the Evaluation of Harness Evolution for Agents
- DarwinX: Evolving Agent Harnesses Through Natural Selection
- Harness Engineering for Self-Improvement