Harness² vs Meta-Harness (and Paper Baselines)
Last updated: October 19, 2026
Compare Harness² (arXiv:2610.14224) with Meta-Harness, ReasoningBank and Harness Scaling on verifiers, recursion and WorkBuddy, JobBench and LAB scores.
While LangChain and DSPy address application orchestration and metric-driven pipeline compilation, the Harness² paper (arXiv:2610.14224) evaluates Harness² directly against three agent-adaptation baselines under identical conditions:
- Meta-Harness (Lee et al., 2026b;
arXiv:2603.28052) — offline harness code search over full execution traces against a training or development split. - ReasoningBank (Ouyang et al., 2026b) — retrieval-only reasoning memory with a fixed execution harness.
- Harness Scaling (Wang et al., 2026a) — per-task, verifier-blind harness revision without cross-task state.
In Section 3 and Appendix C of arXiv:2610.14224, every baseline uses the same frozen executors (Gemini 3.5 Flash and GLM-5), the same initial harnesses (OpenCode and Codex), the same editor model (Claude Opus 4.8), the same test stream, and the same judges.
What Meta-Harness pioneered — and where it hits an open-world wall
Why Meta-Harness (arXiv:2603.28052) matters
Earlier prompt and workflow optimizers such as TextGrad or OPRO compress execution feedback into scalar scores or brief text summaries. Meta-Harness (Lee, Khattab, Finn et al., 2026b) showed that compressing long agent trajectories throws away the diagnostic evidence needed to fix complex code and tool interfaces. Instead, Meta-Harness gives an agentic proposer direct filesystem access (grep, cat) to the source code, evaluation scores, and raw multi-megatoken execution traces of every prior candidate harness.
How the Meta-Harness† baseline runs in arXiv:2610.14224
In Appendix C of arXiv:2610.14224, Meta-Harness† runs an offline evolutionary search and deploys the single winning harness unchanged on the test stream:
- Over
10iterations, each round proposes2candidate harness trees from the current frontier and validates them. - Each candidate is evaluated across the full search split with
3replicates per task — the pooled training half across categories on WorkBuddy-Bench and JobBench, or the24-task development set on LAB. - A candidate is accepted only if it beats the current frontier by at least a
0.01margin, and every candidate (accepted or rejected) is distilled into a lessons file read by the next iteration.
Where offline harness search breaks in an open world
Offline search assumes you already have both a representative training split and ground-truth evaluation scores during optimization. Once deployed, the harness is frozen: if an unseen open-world test task hits an unfamiliar document layout, domain rule, or tool edge case, a static offline-optimized harness cannot adapt at test time.
On Gemini 3.5 Flash / Codex in WorkBuddy-Bench, for example, the offline-tuned Meta-Harness† dropped below the unmodified Base harness (73.3 vs 74.5 Average, and 67.8 vs 72.5 on Web).
How Harness² differs
Harness² moves harness optimization online into the test stream without ground-truth verifiers, connecting two levels of recursion:
- Task-level recursion (
Propose–Probe–Compose). Within a task, Harness² runs the base harness (H₀), proposes scoped invariant and domain-specific edits, probes candidate harnesses on the task, and composes a refined execution harness (H') from behavioral contrasts between executions — without seeing hidden rubrics or verifier scores. - Harnessing-level recursion. After adoption, reflection extracts reusable harnesses and
EXPERIENCE.mdlessons into a persistent per-domain improvement library (R) to guide future refinement, while the executor resets toH₀for each new task.
Architecture and compute budget side-by-side
Comparing performance requires counting both offline search rollouts and test-time rollouts:
| Dimension | Harness² | Meta-Harness† | ReasoningBank | Harness Scaling |
|---|---|---|---|---|
| Modifies the 8 harness components? | Yes | Yes | No — prepends up to 3 retrieved items via gemini-embedding-001 | Yes — ported to the same 8-component tree |
| When optimization runs | Online per test task | Offline on a training/dev split; deployed static | Online per test task | Online per test task |
| Needs ground-truth scores during optimization? | No — verifier-blind behavioral contrast | Yes — 0.01 frontier margin on scored search split | No — answer-free self-judge labels trajectories | No — verifier-blind |
| Offline search rollouts | 0 | 10 × 2 × 3 × |D_search| = 60 × |D_search| (e.g. 1,440 rollouts on LAB's 24-task dev set) | 0 | 0 |
Test-time executor rollouts per task (k=1) | 4 (1 base H₀ + 1 invariant probe + 1 domain probe + 1 final run H') | 1 (static winning harness) | 1 (plus optional best-of-k for k > 1) | 2 (1 base rollout + 1 revised deployment) |
| Task-level design | Scoped invariant + domain candidates, probed and contrastively composed | Frontier tree search over 10 offline iterations | Embedding retrieval + contrastive trajectory distillation | Single-chain rewrite seeing prior trajectories and current tree |
| Cross-task state | Persistent per-domain improvement library (R) + EXPERIENCE.md | Offline lessons file used during search only | Distilled trajectory memory items per domain | None — isolated per task |
What the compute–performance Pareto frontier shows (Section 4)
In Section 4 (Figures 5 and 6 of arXiv:2610.14224), the authors compare total compute — counting all tokens spent before the final deliverable is submitted across both execution and improvement sessions — against benchmark gains:
- Pareto frontier. Both evaluated
Harness²configurations (k = 1andk = 5) sit on the empirical Pareto frontier on JobBench and WorkBuddy-Bench. - Total compute vs Meta-Harness. Even when
Harness²scales to parallelk = 5, Meta-Harness consumes more total compute while achieving lower performance once offline search rollouts are accounted for. - Budget scaling at
k = 2vsk = 5. On WorkBuddy Code and Office, both parallel and sequentialHarness²atk = 2already outperform every plotted baseline (ReasoningBank,Harness Scaling, andMeta-Harness) atk = 5.
Head-to-head benchmark results and #Steps efficiency (Tables 1 & 2)
Tables 1 and 2 of arXiv:2610.14224 report both accuracy and #Steps (average agent interaction steps per task) across 3 runs. Lower #Steps at higher score means the refined harness reaches a better deliverable with less wasted tool churn.
On
Gemini 3.5 Flash / OpenCodeWorkBuddy-Bench, offlineMeta-Harness†inflates average execution steps from25.4to28.8.Harness² (k=1)scores higher (77.5vs76.4) while cutting steps to21.9— 24.0% fewer steps per execution than Meta-Harness† and 13.8% fewer than the Base harness.
WorkBuddy-Bench (Code, Web, Office, Average & Avg. #Steps)
k=5 (parallel) values follow the paper's + Recursion mean-change rows relative to k=1.
| Configuration | Method | Code | Web | Office | Average | Avg. #Steps |
|---|---|---|---|---|---|---|
| Gemini 3.5 Flash / OpenCode | Base harness | 73.4 | 69.9 | 74.0 | 72.4 | 25.4 |
| ReasoningBank | 72.6 | 70.7 | 76.8 | 73.4 | 24.9 | |
| Meta-Harness† | 75.5 | 75.1 | 78.6 | 76.4 | 28.8 | |
| Harness Scaling | 74.0 | 74.0 | 77.9 | 75.3 | 22.3 | |
| Harness² · k=1 | 76.5 | 76.4 | 79.5 | 77.5 | 21.9 | |
| Harness² · k=5 (parallel) | 80.8 | 78.3 | 83.4 | 80.8 | 21.1 (-0.8) | |
| Gemini 3.5 Flash / Codex | Base harness | 74.0 | 72.5 | 77.0 | 74.5 | 28.3 |
| ReasoningBank | 73.5 | 65.7 | 78.4 | 72.5 | 29.2 | |
| Meta-Harness† | 74.6 | 67.8 | 77.6 | 73.3 | 28.6 | |
| Harness Scaling | 75.5 | 69.3 | 76.7 | 73.8 | 30.0 | |
| Harness² · k=1 | 79.4 | 74.7 | 78.5 | 77.5 | 23.9 | |
| Harness² · k=5 (parallel) | 81.0 | 77.3 | 82.8 | 80.4 | 23.7 (-0.2) | |
| GLM-5 / OpenCode | Base harness | 58.4 | 59.2 | 75.1 | 64.2 | 13.5 |
| ReasoningBank | 63.3 | 61.4 | 72.0 | 65.6 | 14.4 | |
| Meta-Harness† | 69.0 | 61.9 | 78.1 | 69.7 | 15.3 | |
| Harness Scaling | 60.3 | 63.4 | 79.8 | 67.8 | 12.6 | |
| Harness² · k=1 | 77.1 | 69.1 | 80.8 | 75.7 | 13.7 | |
| Harness² · k=5 (parallel) | 81.9 | 74.4 | 82.5 | 79.6 | 11.0 (-2.7) | |
| GLM-5 / Codex | Base harness | 56.8 | 59.6 | 76.9 | 64.4 | 23.3 |
| ReasoningBank | 50.2 | 66.3 | 75.8 | 64.1 | 21.1 | |
| Meta-Harness† | 76.8 | 67.8 | 77.9 | 74.2 | 29.7 | |
| Harness Scaling | 49.5 | 60.9 | 78.2 | 62.9 | 21.7 | |
| Harness² · k=1 | 74.9 | 70.0 | 81.1 | 75.3 | 21.3 | |
| Harness² · k=5 (parallel) | 77.2 | 73.3 | 84.3 | 78.3 | 20.0 (-1.3) |
JobBench (Score & #Steps) and LAB (Partial % & #Steps)
| Configuration | Method | JobBench Score | JobBench #Steps | LAB Partial (%) | LAB #Steps |
|---|---|---|---|---|---|
| Gemini 3.5 Flash / OpenCode | Base harness | 31.5 | 63.6 | 79.9 | 29.0 |
| ReasoningBank | 30.8 | 65.7 | 77.3 | 31.3 | |
| Meta-Harness† | 35.8 | 71.8 | 81.6 | 31.1 | |
| Harness Scaling | 32.9 | 64.5 | 78.9 | 31.4 | |
| Harness² · k=1 | 36.0 | 69.3 | 81.9 | 33.0 | |
| Harness² · k=5 (parallel) | 39.0 | 65.4 (-3.9) | 84.5 | 31.3 (-1.7) | |
| Gemini 3.5 Flash / Codex | Base harness | 33.9 | 53.6 | 71.6 | 49.8 |
| ReasoningBank | 30.2 | 54.1 | 74.8 | 52.7 | |
| Meta-Harness† | 34.8 | 57.4 | 76.5 | 56.7 | |
| Harness Scaling | 33.6 | 50.8 | 67.9 | 53.1 | |
| Harness² · k=1 | 35.3 | 54.5 | 75.6 | 44.2 | |
| Harness² · k=5 (parallel) | 39.5 | 55.7 (+1.2) | 78.5 | 49.0 (+4.8) | |
| GLM-5 / OpenCode | Base harness | 20.6 | 20.0 | 59.6 | 13.6 |
| ReasoningBank | 20.7 | 21.4 | 71.3 | 15.3 | |
| Meta-Harness† | 20.9 | 20.1 | 60.0 | 14.0 | |
| Harness Scaling | 19.3 | 22.2 | 67.8 | 17.6 | |
| Harness² · k=1 | 24.2 | 23.6 | 71.4 | 15.8 | |
| Harness² · k=5 (parallel) | 28.4 | 23.1 (-0.5) | 78.1 | 18.8 (+3.0) | |
| GLM-5 / Codex | Base harness | 23.6 | 22.3 | 58.1 | 16.5 |
| ReasoningBank | 22.8 | 25.3 | 63.8 | 16.9 | |
| Meta-Harness† | 23.9 | 22.3 | 59.0 | 22.0 | |
| Harness Scaling | 17.5 | 22.8 | 63.7 | 24.3 | |
| Harness² · k=1 | 24.8 | 25.3 | 65.9 | 22.3 | |
| Harness² · k=5 (parallel) | 27.9 | 27.0 (+1.7) | 70.7 | 26.7 (+4.4) |
Case study & ablation: why retrieval and unguided edits fall short
Inside a JobBench failure: 43.1 → 77.8 (Section 4, Figure 9)
Section 4 of arXiv:2610.14224 walks through a concrete JobBench task under Gemini 3.5 Flash / OpenCode where the base harness scored 43.1. Inspection of the trajectory showed that the failure was procedural, not factual: the base agent never reconciled numbers across source spreadsheets and never reopened its finished deliverable to verify completeness.
Prepending retrieved text hints (as ReasoningBank does) leaves the execution mechanics unchanged. Instead, Harness² proposed two complementary interventions and retained all four resulting edits in the composer (H'):
- Invariant intervention (
Hᵢ): Added a process-level guardrail requiring the agent to inventory all inputs and trace every figure to its exact source, paired with a verification script that reopens and checks generated files before delivery. - Domain intervention (
H𝒹): Added a specialized reconciliation skill covering schedule, venue, labor, and budget files, plus tool guidance for parsing specific number formats.
Re-running the composed harness cross-referenced the figures and restored the memo's missing sections, raising the task score from 43.1 to 77.8 (+34.7 points).
What the ablation study proves (Table 3)
Removing any one of the three mechanisms that separate Harness² from Harness Scaling (single-chain revision) and Meta-Harness (static offline harness) drops performance across both WorkBuddy-Bench (3-domain mean) and JobBench (Gemini 3.5 Flash / OpenCode, k = 1):
| Variant | WorkBuddy Average | Δ vs Harness² | JobBench Score | Δ vs Harness² |
|---|---|---|---|---|
| Harness² (k=1) | 77.5 | — | 36.0 | — |
| w/o library (no cross-task read/write) | 74.4 | -3.1 | 34.2 | -1.8 |
| w/o scoping (2 generic editors vs invariant + domain) | 74.6 | -2.9 | 32.3 | -3.7 |
| w/o composition (pick 1 candidate vs compose parts) | 75.9 | -1.6 | 34.1 | -1.9 |
Separately, Section 4 (Figure 8) confirms that Harness² does not require a stronger editor model (Claude Opus 4.8) to work: using the same model as both executor and editor at k = 2 under OpenCode improved every tested model from GLM-5 (+13.7 points on LAB) to Claude Opus 5 (+3.3, +5.5, and +3.0 points on WorkBuddy-Bench, JobBench, and LAB).
Four takeaways from the paper
- Online contrastive harnessing beats offline search even at
k = 1. A single Harness² step outperformsMeta-Harness†on WorkBuddy-Bench Average and JobBench Score in all four model–executor configurations, and on LAB Partial in three of four. The lonek = 1exception is LAB underGemini 3.5 Flash / Codex(76.5%for Meta-Harness† vs75.6%for Harness²k = 1), where scaling Harness² tok = 5reaches78.5%. - A weaker model with an improved harness outperforms a stronger base model. On WorkBuddy-Bench, a single Harness² step lifts
GLM-5to75.7(OpenCode) and75.3(Codex), surpassing the unoptimizedGemini 3.5 Flashbase harnesses (72.4and74.5). - Unguided test-time revision (
Harness Scaling) frequently regresses. Without scope separation, contrastive composition, or a persistent library,Harness Scalingfalls below the unmodified base harness in7of12benchmark–configuration pairs. - Retrieval-only memory (
ReasoningBank) cannot fix structural harness gaps. When tasks require new verification guardrails, scripts, tool guidance, or skills rather than retrieved text hints,ReasoningBankdrops as much as6.6points below the base harness on coding tasks (50.2vs56.8onGLM-5 / CodexWorkBuddy Code).
When to use which
| Scenario | Better fit | Why |
|---|---|---|
| Fixed task distribution with a labelled training/dev split, automated verifier, and strict single-rollout test latency | Meta-Harness style offline search | Pays search cost once offline (60 × |D_search| rollouts) and deploys a static harness with 1 rollout per test task |
| Open-world or unseen tasks where no ground-truth verifier exists at test time | Harness² | Contrastive Propose–Probe–Compose adapts safely per task without labels (4 rollouts at k=1), trims per-run #Steps, and compounds into R |
| Static harness where only lightweight past trajectory hints are permitted | ReasoningBank | Keeps harness files untouched, though it trails structural harness edits on complex multi-file workflows |
For how Harness² configures parallel vs sequential recursion and builds the continual improvement library, continue to the Tutorial or Benchmarks.
Sources
Repository: github.com/google-research/harness2 · Paper: arXiv 2610.14224 · Official site: harness2.github.io
This page is part of an unofficial guide. Where the official docs do not specify something, this page says so rather than guessing.