Abstract
Harness² improves agent execution harnesses through recursive task-level refinement and continual harness-level learning, boosting performance across benchmarks without ground-truth verifiers.
LLM agents' capabilities depend not only on their underlying models but also on their execution harnesses. Recursive self-improvement (RSI) offers a promising approach to automatically evolve these harnesses. However, deploying RSI in open-world settings still faces two critical challenges. First, open-world tasks are typically unseen during the harness design phase and novel at test time, leaving no ground-truth verifiers to reliably guide online harness edits. Second, the RSI process remains highly task-specific and fails to generalize to novel scenarios. We introduce Harness^2, a plug-and-play, recursive agent harnessing framework that addresses these challenges through two connected levels of recursion. Task-level recursion refines the current task's harness using a contrastive Propose-Probe-Compose step that reliably guides edits without ground-truth verifiers, and can be scaled further via parallel or sequential recursion. Harnessing-level recursion then extracts experience from these edits to update a continual improvement harness, enabling the agent to better adapt to future tasks. Across three professional benchmarks and four model-harness configurations, a single step consistently improves GLM-5 and Gemini 3.5 Flash over their base harnesses, yielding gains of up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB, with further gains as the task-level recursion budget increases.
Community
TLDR: Harness² brings recursive self-improvement to open-world agents, improving the current task’s execution harness and learning from those edits to improve future harnessing, without ground-truth feedback.
Getting useful harness edits without a ground-truth verifier is the hard part, so the contrastive Propose-Probe-Compose step is what I'd look at first. I'm curious how you keep the continual-improvement harness from carrying forward edits that only helped on one task.
Appendix E.1 is especially actionable: ablating skills loses 5.3 points on the three-domain WorkBuddy average, scripts 3.7, grouped prompt files 1.5. Those are non-additive ablations, but the cost asymmetry matters: skills and scripts run on demand, while prompt text is always in context. Could you publish per-task context tokens and wall-clock cost for the retained edits? A gain-per-cost view would help teams choose which harness components to evolve first.
One code-level detail sharpens this: PR #127 says RunView.cost_usd was never populated, so executor rollout spend was recorded as $0 in the ledger; only improver spend reached it. Any gain-per-dollar view from the current report would undercount. A retrospective table from raw executor and improver usage would make cost comparisons interpretable.
I made a short visual walkthrough of Harness² for anyone who wants to understand the idea before diving into the paper. It starts with a spreadsheet mistake and uses it to explain how Propose, Probe, Compose works, how the agent carries lessons into future tasks, and what the benchmarks showed.
Get this paper in your agent:
hf papers read 2610.14224 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper