Harness2 pipeline diagram showing candidate agent configurations, a composer, and a reflection loop that updates instructions for the next task
Harness2 pipeline diagram showing candidate agent configurations, a composer, and a reflection loop that updates instructions for the next task
+ AI News

Google Research publishes Harness2 for recursive agent harnessing

Harness2 edits the software around an AI model and retains lessons across tasks. Its reported gains raise a practical question about execution budgets.

Google Research has published Harness2, an open-source framework that lets agents revise the software around a model while keeping its weights fixed. It tests changes on the current task, combines what it learns, and retains lessons to guide changes on later tasks.

The project calls this recursive agent harnessing. A harness is the system that lets a model act as an agent, including its prompts, tools, memory, and rules for delegating work. Harness2 makes that system editable and gives the process of improving it a persistent set of instructions of its own.

Two loops around a fixed model

The first loop works within one task. An agent runs with an initial configuration. An editor proposes changes, candidate configurations run against the same task, and a composer uses differences in their behavior to produce a refined configuration. The repository calls this process Propose-Probe-Compose and says it works without ground-truth feedback during refinement.

The second loop works across tasks. After each task, a reflection step updates a persistent improvement harness with the adopted configuration and evidence-supported lessons. That information guides future refinement. The framework therefore changes both how the agent does a task and the instructions used to improve how it works.

Harness2 exposes eight editable components: the system prompt, guardrails, memory, tool guidance, subagents, skills, scripts, and plugins. Its approach to agent improvement centers on these components rather than changes to model weights.

Developers can run the task-level loop in parallel or sequentially. Parallel mode tests general and domain-specific candidates and composes refinements from their shared execution evidence. Sequential mode carries a refined configuration and accumulated evidence through successive steps. The --k option sets the task-level recursion budget.

What the release reports

The repository reports results across three professional benchmarks and four model-harness configurations using GLM-5 and Gemini 3.5 Flash. It says a single refinement step improves on the base configurations, with gains of up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB’s partial pass rate. These are the project’s reported maxima across different measures. The authors also report further gains with larger task-level recursion budgets.

The release supports OpenCode and Codex executors. A local demo uses deterministic editors and real Python executions without model credentials. Model-backed benchmark runs incur API costs. The code has an Apache 2.0 license, and the repository describes it as a research project without official Google product support.

The setup also matters for interpreting results. The README says executor network access is unrestricted and Codex runs with its sandbox disabled. It warns that public benchmark answers and grading criteria may be accessible online and tells evaluators to configure network restrictions before evaluation.

Sources

The AI Feed Desk

The AI Feed Desk

Editorial desk

The AI Feed Desk tracks AI provider updates, model releases, agent tooling, and enterprise adoption, turning fast-moving announcements into source-linked context for builders and operators.

Noticed a typo, incorrect information, or translation error?

Tell us so we can fix it.

Help Improve This Article

Related Articles

A white E Ink display shows a bridge illustration beside a daily briefing and reminders

Meta open sources code so developers can build their own Muse gadgets

Meta has released ESP32 and Linux device code for Muse. E Ink projects have source links, the HDMI stick is coming soon, and Home Link has a limited giveaway.

The AI Feed Desk

By The AI Feed Desk

1Password diagram shows a browser agent requesting a login, a person approving it, and the agent retrieving an airline invoice

1Password adds approved sign-ins for AI agents without exposing passwords

1Password for Agents lets users approve account sign-ins while keeping passwords hidden from the agent. Approval still means trusting it with account access.

The AI Feed Desk

By The AI Feed Desk

Red Adobe wordmark over a person using a laptop with white headphones around their neck

Adobe adds creative agents and connects its tools to Google apps

Adobe's MAX announcements cover Firefly planning, agents that edit Creative Cloud files, and Google integrations. Several workflows still await release.

The AI Feed Desk

By The AI Feed Desk

An MCP agent test bench replays clean, faulted, and mitigated tool responses

AgentCheck tests whether MCP agents fail safely

A July 13 paper introduces AgentCheck, an MCP workbench for replaying tool faults and confirming whether agent mitigations actually fix them.

The AI Feed Desk

By The AI Feed Desk

Laptop screen showing four Airbnb homes compared side by side with AI summaries beside a Paris map

Airbnb adds AI search and social features as Chesky calls for an agent operating system

Airbnb adds natural-language search and home comparisons. Chesky's agent vision raises a separate test: preserving the booking tools travelers need.

The AI Feed Desk

By The AI Feed Desk