INQUIRING LINE

If you tune an AI agent's prompts and tools until it aces one test, do those gains survive elsewhere?

Does harness optimization generalize across different benchmarks and agent architectures?

This explores whether tuning the scaffolding around an LLM agent (its prompts, tools, memory and execution loop, known as the harness) gives gains that carry over to new benchmarks, models and agent designs, or only to the tasks it was tuned on.


This explores whether tuning the scaffolding around an LLM agent (its prompts, tools, memory and execution loop) gives gains that carry over to new benchmarks, models and agent designs, or only to the tasks it was tuned on. The corpus says partly yes, and the split is useful: general mechanisms transfer, while specific fixes mostly don't.

The evidence for transfer is real. Across models, one execution runbook lifted Terminal-Bench 2.1 scores for several models with their weights frozen, then carried over to newer models unchanged, reaching 95.3% on GPT-5.6 and adding 5.4 points to DeepSeek-V4 Flash Can execution harnesses lift model performance without retuning weights?. Across environments, running the optimization loop over many environments at once found four mechanisms (action execution, context compaction, observation handling, delegated reading) that cut token traffic by 44.7–49.0% at comparable performance on a 51-task benchmark Can agent harnesses be automatically optimized across many environments?. Across data, ModularRSI evolves harness modules on benchmark-disjoint data and still shows gains on unseen tasks and domains Can harness modules improve separately from benchmark data?. In a related result, AIDE2's gains held on four held-out benchmarks, including physics-based weather forecasting, which sits outside the distribution it was selected on Do AIDE2's improvements transfer to unseen tasks?.

The counterweight is that much of what a harness learns is memorization. An analysis of evolved harnesses found the edits were sensible, but most simply stored fixes an agent could have rediscovered in a single rollout. They cache what is already within reach and rarely turn hard failures into successes Do harness edits learn reusable strategies or memorize task fixes?. Set beside the results above, this suggests generality comes from how the optimizer is set up rather than from the harness itself. ModularRSI gathers evidence across many tasks before touching a component, and the cross-environment loop optimizes over many environments simultaneously. Both setups make it hard to get credit for a fix that only helps one task. This is my reading of the notes, not something any of them tests head-to-head.

The model on the receiving end matters too. Producing useful harness edits is about equally easy for every model tier, but benefiting from them follows an inverted U that peaks in mid-tier models. Weak models often fail to invoke the harness, and strong models struggle to follow its instructions faithfully Do stronger models always evolve harnesses better?. So a harness that transfers between two frontier models may still behave differently on a much smaller or larger one. Harness structure can also stand in for capability. Reorganizing a repository around a behavior-to-code map let weaker planners match stronger models' code localization and lifted win rates by 10–19 points Can explicit behavior maps help weaker planners compete with stronger models?. That tilts the answer toward a harness working better when it hands the model well-organized structure than when it hands over more instructions. Part of why so much work lands here is that non-parametric updates (prompts, memory, tools) are cheaper and reversible compared with retraining weights Do self-improving agents really split into two distinct loops?.

How you measure generalization also changes the answer. The best-supported transfer result above is about efficiency (fewer tokens at the same score), and identical task-success rates can hide large differences in efficiency, reliability and verification cost How should we measure agent system performance beyond task success?. A study that only checked pass rates on a second benchmark could miss the gains that transfer best. The corpus has little on the other half of the question: whether one harness carries across fundamentally different agent architectures, such as single-agent versus multi-agent setups. The transfer evidence here comes almost entirely from swapping models and benchmarks under a similar agent loop.


Sources 9 notes

Can execution harnesses lift model performance without retuning weights?

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.

Can agent harnesses be automatically optimized across many environments?

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.

Can harness modules improve separately from benchmark data?

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.

Do AIDE2's improvements transfer to unseen tasks?

The paper reports that AIDE2's improvements transfer to four held-out benchmarks spanning machine learning, algorithm engineering, and physics-based weather forecasting—the last being outside the selection task distribution. This demonstrates transferable gains beyond overfitting to the selection set.

Do harness edits learn reusable strategies or memorize task fixes?

Analysis of evolved harness trajectories shows rational, well-motivated edits across prompt and tool layers, but most persist fixes an agent could rediscover in a single rollout. Gains remain limited because memorized shortcuts cache what's already within reach rather than converting hard failures into successes.

Show all 9 sources
Do stronger models always evolve harnesses better?

Model capability to produce useful harness edits stays constant across tiers, but capacity to actually benefit from those edits follows an inverted U-shape, peaking in mid-tier models. Weak models fail to invoke harnesses; strong models struggle with faithful instruction-following.

Can explicit behavior maps help weaker planners compete with stronger models?

A behavior-to-code mapping representation improved win rates by 10–19 points while reducing planner tokens by 8–13%. Weaker planners using this mapping matched stronger models' code localization across all precision and recall metrics.

Do self-improving agents really split into two distinct loops?

A survey framework organizes self-improving agents into two update mechanisms: slow parametric loops updating foundation model weights, and fast non-parametric loops updating prompts, memory, and tools. Recent progress concentrates in the fast loop because scaffold updates are cheaper and reversible than weight updates.

How should we measure agent system performance beyond task success?

Single task-success metrics obscure how agents achieve results across memory, context, and verification layers. Research shows identical success rates can mask enormous differences in efficiency, reliability, and deployment readiness—requiring harness-level benchmarks that measure trajectory, memory hygiene, and verification costs.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.