Xu et al. (Google Research) — Harness²: Recursive Agent Harnessing for an Open World (README, Oct 2026)
TL;DR
The README of Harness², an open-source framework from the Google Research GitHub organisation. It was first committed on 8 October 2026 and last changed on 14 October; the repository had about 25,500 stars when fetched. The framework is licensed Apache-2.0, and the README disclaims it as “not an officially supported Google product.” The README names no authors, so author: is the repository’s owner. Its citation block cites the paper by nine authors, which is ingested as Xu et al., Harness² (arXiv, 9 Oct 2026). The paper holds the method and results, with baselines, spread and cost; this page covers what the README itself says and ships.
- Definitions. A harness is “the system around a model that enables it to act as an agent”: prompts, tools, memory, skills, orchestration. Harnessing is the process of optimizing that system. This is the agent-harness definition the wiki already uses, with a verb added.
- Built for an open world. The target setting is agents that meet tasks nobody anticipated when the harness was designed. Model weights stay fixed throughout.
- Two levels of recursion.
- Task-level recursion refines the harness for the task in hand through Propose–Probe–Compose: propose edits, probe their effects by running them on the same task, then compose a refined harness from the behavioral contrasts between those runs. It works “without ground-truth feedback”.
- Harnessing-level recursion updates a persistent improvement harness after each task, with the adopted harness and “evidence-supported lessons,” to guide the next refinement.
- Eight editable components: system prompt, guardrails, memory, tool guidance, subagents, skills, scripts, plugins. The figure groups them by runtime role:
- prompt, guardrails, memory and skills construct context;
- tool guidance and scripts define the tool interface;
- subagents orchestrate delegated work;
- plugins are middleware.
- Two ways to spend more compute. Parallel recursion probes k general and k domain-specific candidate harnesses and composes k refinements from the shared evidence (“explores wider”). Sequential recursion carries the refined harness and its evidence through k successive steps (“refines deeper”). The budget is the
--kflag. - Headline results, as stated in the README. Across three professional benchmarks and four model–harness configurations, a single step improves GLM-5 and Gemini 3.5 Flash over their base harnesses. The gains are up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB’s partial pass rate. A larger recursion budget brings further gains (no figures given).
- What ships. OpenCode (default) and Codex as executors; JobBench (professional work), LAB (legal work) and WorkBuddy-Bench (office, web and code) as benchmarks. A local demo runs both recursion modes with deterministic editors and needs no model credentials. Model-backed runs use Vertex AI and “incur API costs”.
- A warning about its own benchmarks. Executor network access is unrestricted, and Codex runs with its sandbox disabled. “Public benchmark rubrics may be accessible online”, so users must restrict network access before evaluating, or the agent can find answers and grading criteria.
The figures, from their alt text
The README’s three diagrams were not downloaded. Their alt text is detailed enough to record:
- Pipeline. In task-level recursion, an agent executor runs the initial harness, a harness editor proposes invariant and domain edits, candidate probes execute them, and a harness composer combines them into the final harness. In harnessing-level recursion, an experience reflector reflects on the step and updates the improvement harness used for the next task.
- Components. The eight components, grouped by runtime role (claim 4).
- Recursion modes. Parallel: probe k general and k domain-specific candidates, then produce k compositions from shared evidence. Sequential: k Propose–Probe–Compose steps carrying the refined harness and accumulated evidence.
How it sits next to the wiki’s harness-optimization sources
All five neighbours keep the model fixed and change what is around it. They differ in what is optimized, against what signal, and over what horizon.
| Source | What changes | Signal | Horizon |
|---|---|---|---|
| Meta-Harness (Lee et al., Mar 2026) | The whole harness, as code | Scores on a task set, with full traces on a filesystem | One task domain at a time (e.g. classification, math, TerminalBench-2) |
| AutoHarness (Lou et al., Mar 2026) | A code harness: action filter, action verifier or policy | The environment’s rules (illegal moves) | One game |
| Continual Harness (Karten, Zhang et al., May 2026) | System prompt, subagents, skills, memory | The run itself | Within a long episode |
| Harness² (this page) | Eight components per task, plus a persistent improvement harness | Contrasts between probe runs, no ground truth | Per task, and across tasks |
| Holmes (Warp) (Nov 2026) | Improvements to the team’s agent setup, proposed by an agent | Stored transcripts scored by LLM judges against rubrics | Across a team’s work, on a schedule |
Trivedy’s anatomy gives the vocabulary all of them use. The README’s eight components refine his five categories: guardrails split from prompts, and tool guidance split from the tools themselves.
Why no dynamic-capabilities tags
A research framework for optimizing agent harnesses is agent engineering. It has no use case in a firm’s digital transformation, so the field is left off per the schema’s “purely methodological” rule.
Related in this wiki
- Xu et al., the Harness² paper: method, baselines, three-run results, compute and ablations behind this README.
- Lee et al., Meta-Harness: end-to-end harness search by a coding agent that reads the full history of earlier candidates.
- Lou et al. (DeepMind), AutoHarness: a model synthesizing the code harness that keeps its own actions legal.
- Karten, Zhang et al., Continual Harness: online harness adaptation inside long game runs, automating what was human-in-the-loop refinement.
- Holmes (Warp), an agentic self-improvement loop: a team’s outer loop that scores stored runs and proposes improvements on a schedule.
- agent-harness: the concept page this definition belongs to.
- ai-benchmarks: three professional-work benchmarks new to the wiki (JobBench, LAB, WorkBuddy-Bench).
- reward-hacking: the README’s warning that agents with open web access can reach benchmark rubrics.
- Stanford CS329A, Self-Improving AI Agents: the course frame for self-improvement at inference time.
Linked entities and concepts
- Entities: Google Research.
- Concepts: agent-harness, ai-benchmarks, reward-hacking.
- Dangling (single-source mention, deferred): the benchmarks JobBench, LAB and WorkBuddy-Bench; GLM-5; OpenCode. The nine authors are listed on the paper page, not here: the README names its owner, not authors.
Debates and supersession
-
README claims, now checked against the paper (added 2026-11-28). The README states its gains without baselines, spread, run counts or cost, and does not name two of its four configurations. The paper supplies all of these. The four configurations are GLM-5 and Gemini 3.5 Flash, each under OpenCode and Codex. Results are means of three runs against three baselines, and compute is given as a chart: one step costs roughly 5–8 times the base run’s tokens. The headline gains are over the base harness; against the strongest baseline, 8 of 12 margins are inside the run-to-run spread.
-
“Without ground-truth feedback.” The README does not say what makes one run better than another without a grader. The paper does:
- a composer decides each edit from named moments in the trajectories;
- when there are several deliverables, a selector compares them blind against the request and the sources;
- a guard keeps rubrics and scores out of every improver’s workspace.
The editor and selector are Claude Opus 4.8, which is also JobBench’s judge. See that page’s Debates section.
-
Contamination is left to the user. Networking is open by default, and the README says public rubrics may be reachable. Any result reported from a default run could include agents finding grading criteria. This is the reward-hacking concern in benchmark form.
-
Popularity is not evidence. About 25,500 stars in under two months say the release drew attention, not that it works.
What was actually ingested
The README in full, verbatim at blob a5e9120, fetched with the GitHub API on 28 November 2026, plus the repository’s metadata and the README’s commit history. The arXiv paper (2610.14224) was ingested the same day as its own page. Not ingested here: the project website, the docs folder (benchmark, setup and experiment guides), the code, the setup GIF and the video overview. The three diagrams are recorded from their alt text, not viewed.