AdvancedAI

Google Open Sources Harness2 for Self-Improving AI Agents

On October 9, 2026, researchers from Google Cloud AI Research and Northwestern University posted Harness²: Recursive Agent Harnessing for an Open World and released the accompanying code on GitHub under the Apache 2.0 licence. The framework improves an AI agent’s harness — the prompts, tools, memory, skills and orchestration wrapped around a model — while leaving the model’s weights frozen. A single improvement step lifts reported scores by up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench and 11.8 percentage points on Harvey’s Legal Agent Benchmark (LAB). No weights ship with it, and there is no Hugging Face model or dataset card — just a paper page.

Diagram of the Harness² pipeline: a task-level recursion loop where an agent executor runs an initial harness, a harness editor proposes invariant and domain edits, candidate probes are executed, and a composer combines them into a final harness, plus a harnessing-level loop where a reflector updates the improvement harness.
Image credit: Google Research / Harness² repository (Apache 2.0)

What One Harness² Step Actually Does

Harness² defines the harness as eight editable files: system prompt, guardrails, memory, skills, tool guidance, scripts, subagents and a middleware plugin. The model stays frozen, so this is not fine-tuning and involves no reinforcement learning — only a search over the files around the model.

Each task runs through a contrastive Propose–Probe–Compose step. The agent first executes it from a base harness to produce a reference execution. A harness editor then drafts two candidates: an invariant one aimed at agentic weaknesses that recur across domains (planning, tool use, delegation), and a domain-specific one carrying the current field’s knowledge and procedures. Both are probed on the same task under matched settings and compared with the reference. Because the guiding signal is a behavioural contrast — did the edit change the behaviour it targeted? — no ground-truth answer is needed. A composer then merges the edits the evidence supports into a successor harness.

Diagram of the eight editable harness components in Harness², grouped by runtime role: system prompt, guardrails, memory and skills construct context; tool guidance and scripts define the tool interface; subagents orchestrate delegated work; plugins control middleware.
Image credit: Google Research / Harness² repository (Apache 2.0)

Task-level recursion has a budget, k. Parallel recursion probes k general and k domain-specific candidates at once and composes k successors; sequential recursion refines the harness through k successive steps. A second loop then runs: a reflector writes the adopted harness and a file of evidence-backed lessons into a persistent “improvement harness” library that guides proposals on later tasks. Every task still starts from the same base harness — what carries forward is the library, not a tuned harness. By default the editor is Anthropic’s Claude Opus 4.8 running under OpenCode, with Gemini 3.5 Flash and GLM-5 as the frozen executors.

Results, and What They Cost

The numbers come from three benchmarks: WorkBuddy-Bench (office, web and code deliverables), JobBench (end-to-end professional tasks) and LAB, Harvey’s legal benchmark. With Gemini 3.5 Flash under OpenCode, one step moves the WorkBuddy average from 72.4 to 77.5; for GLM-5 under the same harness it moves from 64.2 to 75.7, the largest single-step gain reported. On JobBench, Gemini gains 4.5 points (31.5 to 36.0); on LAB’s per-criterion partial pass rate, GLM-5 gains 11.8 percentage points (59.6 to 71.4). Scaling parallel recursion to k = 5 adds a further 2.9–3.9 points on WorkBuddy-Bench, 3.0–4.2 on JobBench and 2.6–6.7 points on LAB.

Two bar charts of overall results: on the left, WorkBuddy-Bench scores by domain for Gemini 3.5 Flash under OpenCode comparing the base harness, Meta-Harness and Harness² with recursion at k = 5; on the right, Harness² scores on WorkBuddy-Bench code improving as the budget k grows from 1 to 5.
Image credit: Google Cloud AI Research, arXiv:2610.14224 (CC BY 4.0)

Two patterns stand out. Weaker executors gain more: GLM-5 with an improved harness reaches 75.7 on WorkBuddy-Bench, above Gemini 3.5 Flash’s base score of 72.4 — a better harness can matter more than a better model. Ablations also show where the gain comes from: removing the persistent library costs 3.1 points on WorkBuddy-Bench and 1.8 on JobBench, removing the scoped invariant and domain editors costs 2.9 and 3.7, and removing composition costs 1.6 and 1.9.

Recursion raises the tokens spent before a deliverable is submitted, and it does not uniformly close gaps between configurations: Meta-Harness, an offline baseline that searches harness code against a training split, stays ahead on LAB for Gemini 3.5 Flash under Codex. The repository also warns that executor network access is unrestricted and Codex runs with its sandbox disabled, so “public benchmark rubrics may be accessible online.”

What This Means

“Self-improving” deserves precision here. Nothing in Harness² updates weights, generates training data, trains a reward model or plays games against itself. What improves is a set of configuration and instruction files, selected by comparing executions on the task at hand and kept as lessons. The persistent library is what lets the loop compound across a task stream; a JobBench-derived library that improved one-step refinement on WorkBuddy-Bench is the evidence those lessons are portable rather than task-specific.

The practical read: harness engineering is now a measurable axis of agent performance rather than prompt polishing. Dependencies are modest: Apache 2.0 code, Linux and Python 3.12, and a local demo that needs no model credentials, though model-backed runs need a Vertex AI project plus Docker or Pandoc. The default configuration is notable in itself — a Google framework whose harness editor is Anthropic’s Claude Opus 4.8 — and Google’s disclaimer still applies: a research release, “not an officially supported Google product.”

This post was drafted with AI assistance and reviewed by RITS staff.

Sources

Related stories

agentic ai

Qwen Releases QwenGyre for Long-Horizon Agent RL Training

Alibaba’s Qwen team has detailed QwenGyre — an elastic reinforcement learning (RL) framework for training AI agents on what the authors call “extreme-long” (xLong) tasks, where a single execution spans hours, hundreds of model–environment interactions, and close to one million tokens. The paper, submitted to arXiv on September 27, 2026 and announced by the Qwen […]

agentic ai

DeepSeek Open-Sources Harness, an All-Plugin Agent Runtime

DeepSeek released DeepSeek Harness v0.1 on August 13, 2026 — an open-source agent runtime, MIT-licensed and in developer preview, built on a single architectural bet: there is no privileged core. Models, tools, skills, sessions, sandboxes, filesystems, the agent loop itself, and even the UI are all plugins mounted into a shared context. The framework underneath, […]

Never miss a RITS update

Subscribe to the RSS feed for AI, emerging technology, and digital scholarship news curated for the NYU Shanghai community, or get in touch to suggest a story.