Google open-sources Harness2 self-improving agent framework
TECH

Google open-sources Harness2 self-improving agent framework

32+
Signals

Strategic Overview

  • 01.
    Google Cloud AI Research open-sourced Harness2, a framework that lets AI agents recursively rewrite their own operational harness - system prompt, tools, memory, skills, and subagents - to improve task performance without changing the underlying model's weights.
  • 02.
    The framework can edit eight components of an agent's operating environment: system prompt, guardrails, memory, tool guidance, subagents, skills, scripts, and plugins.
  • 03.
    Improvement runs through a Propose-Probe-Compose loop: an editor model proposes two candidate harness edits per task - one addressing general weaknesses, one domain-specific - both are tested under matched conditions, and successful changes are merged while ineffective ones are discarded, with no ground-truth answer key required.
  • 04.
    Harness2 is released under the Apache 2.0 license on GitHub at google-research/harness2.
  • 05.
    In Google's own benchmark tests, executor agents ran on Gemini 3.5 Flash and GLM-5, but the editor model proposing and composing the harness changes was Claude Opus 4.8, built by rival lab Anthropic.
  • 06.
    Each improvement step is compute-intensive: roughly four agent executions per step at k=1 recursion, rising to about twenty executions per step at k=5, with no published per-task dollar cost.
  • 07.
    Google Research describes Harness2 as a research project, explicitly stating it is not an officially supported Google product.

A Rival's Model Is Doing Google's Optimization Work

The most striking detail buried in Google's own writeup is who actually does the thinking inside Harness2. The executor agents being improved ran on Gemini 3.5 Flash and GLM-5, but the editor model that proposes and composes every harness edit in Google's benchmarks was Claude Opus 4.8, built by Anthropic, a direct competitor [6]. In other words, Google's flagship self-improvement framework, when put through its own published experiments, leaned on a rival lab's model to generate the actual improvements. That is a quiet admission that the editing step - the part that decides what a system prompt, guardrail, or skill should say next - is a distinct and apparently hard capability, one Google didn't default to its own models for when it mattered.

Harness Quality Can Outweigh Model Choice

Harness Quality Can Outweigh Model Choice
Single-step Propose-Probe-Compose gains across three benchmarks, GLM-5 executor.

The headline numbers make a pointed argument: a smarter scaffold can beat a stronger model. On WorkBuddy-Bench, GLM-5's score jumped from 64.2 to 75.7, an 11.5-point single-step gain [4][5], while Gemini 3.5 Flash improved a more modest 5.1 points, from 72.4 to 77.5 [4]. Crucially, GLM-5's improved-harness score of 75.7 topped Gemini 3.5 Flash's own stock-harness score of 72.4 [4][5]- a cheaper, open-weight model outperforming Google's model simply because its operating environment was better tuned. Similar single-step gains appeared on JobBench, up to 4.5 points across 130 tasks spanning 35 occupations [1][3], and on Harvey's LAB legal benchmark, up to 11.8 points, with GLM-5's partial pass rate rising from 59.6 percent to 71.4 percent [1][5]. Pushing recursion deeper to k=5 added further gains on top of those single-step numbers: 3.9 points on WorkBuddy-Bench, 4.2 on JobBench, and 6.7 on LAB [1][5].

The Security Gap Behind the Self-Improvement Loop

Independent security analysis flags a structural problem with how Harness2 ships by default: executor network access is unrestricted and the Codex executor runs with its sandbox disabled [7]. The concern isn't abstract - an agent that can reach its own grading rubric can learn to game the score rather than genuinely improve, and an executor with open egress and no sandbox doubles as a data-exfiltration and SSRF surface [7]. Layered on top of that is a real compute cost: roughly four agent executions per improvement step at k=1, climbing to about twenty at k=5, with no published per-task dollar figure [8]. Together, the framework's gains come with both an unquantified operating cost and a governance gap that the project's own documentation does not resolve.

Open-Source Credibility Meets Community Skepticism

Google frames Harness2 explicitly as a research project rather than a supported product [2][3], a disclaimer that cuts both ways in how it's being received. Reaction skews by audience: enthusiasm on social platforms treated the Apache 2.0 release and the double-digit benchmark gains as straightforward credibility signals, while the more technical community response was noticeably more measured, debating whether the recursive-editing approach is genuinely novel versus prior self-improving-harness work, and raising overfitting concerns about how far repeated edits generalize beyond the benchmark tasks they were probed against. That split - excitement over the open-source release itself set against skepticism about the substance of the claimed advance - is likely to shape how quickly outside teams adopt the framework versus simply watching how it holds up under independent testing.

Historical Context

2026-10-09
Open-sources Harness2 under the Apache 2.0 license.
2026-10-12
The paper 'Harness2: Recursive Agent Harnessing for an Open World' (arXiv:2610.14224) is posted.
2026-10-18
Tech press and independent security analysts publish detailed coverage and governance critiques.
2026-10-19
Publishes a technical breakdown of GLM-5's benchmark gains under Harness2.

Power Map

Key Players
Subject

Google open-sources Harness2 self-improving agent framework

GO

Google Cloud AI Research

Developer and publisher of Harness2; released the paper, code, and benchmark results while explicitly framing it as a research project rather than a supported product, which limits its liability and support commitments.

TO

Tomas Pfister and co-authors (Ruiyao Xu, Yanfei Chen, Rujun Han)

Led and authored the research; the corresponding author is affiliated with Northwestern University, indicating academic collaboration alongside Google Cloud.

AN

Anthropic (Claude Opus 4.8)

Supplies the editor model that proposes and composes harness edits in Google's own experiments - a competitor's model performing the core optimization work for Google's agents.

ZH

Zhipu AI / GLM-5

Open-weight executor model used in benchmarks; with an improved Harness2 scaffold, GLM-5 outscored Google's own Gemini 3.5 Flash running its stock harness on WorkBuddy-Bench, showing harness quality can outweigh raw model strength.

HA

Harvey (LAB benchmark) and Tencent (WorkBuddy-Bench)

External benchmark providers whose legal and office/web/code evaluation suites were used to validate Harness2's reported gains, lending third-party credibility to the results.

Fact Check

8 cited
  1. [1] Harness2: Recursive Agent Harnessing for an Open World
  2. [2] google-research/harness2
  3. [3] Google's Harness2 Recursive Agent Harnessing Framework
  4. [4] Harness2: How Google's AI Agents Learn to Rewrite Their Own Playbook
  5. [5] Google Open-Sources Harness, Boosts GLM-5 Score by 11.5 Points
  6. [6] Google Open-Sources Harness2, Letting AI Agents Rewrite Their Own Playbook
  7. [7] Harness2 Self-Improving Agents: Security and Governance
  8. [8] Google Harness2: Setup, Cost, and Safety

Source Articles

Top 5

THE SIGNAL.

Analysts

“Warns that Harness2's default configuration ships with no sandboxing and unrestricted network egress for its executors, creating a path for self-improving agents to game their own evaluation or exfiltrate data: "executor network access is unrestricted... the Codex executor runs with its sandbox disabled... an agent that can reach the rubric can game the score, so a self-improving loop with open egress can 'improve' by cheating... an agent executor with unrestricted egress and no sandbox is a data-exfiltration and SSRF surface."”

PlayCISO
Independent security analysis blog
The Crowd

“Google Research open-sourced Harness², a framework that helps AI agents improve their own harness for every task they work on. Repo 👇”

@@ai_for_success747

“💥为了 Harness 也能 RSI,Google Research 开源了 Harness² ! 在模型权重完全不动的前提下,两层递归自进化: 🔹任务级:Propose → Probe → Compose(无需标准答案,只看行为对比) 🔹Harness级:把经验沉淀成持久改进库,指导未来任务 实测最高 +11.5 分,同样模型,更强 Agent。”

@@NFT_Chen118

“Google open-sourced Harness². It lets an AI agent improve its own setup on every new task, without retraining the model. The setup around a model, its "harness", is normally designed once by a person: the system prompt, guardrails, memory, tool guidance, subagents, skills,”

@@RoundtableSpace60

“Google Open Sources Harness2 for Self Improving AI Agents”

@u/chemist_slime1500
Broadcast
Recursive Self Improvement (RSI) of an AI Harness (Google)

Recursive Self Improvement (RSI) of an AI Harness (Google)

Recursive Harness Framework for Open World AI Agents

Recursive Harness Framework for Open World AI Agents

Google's self-improving agent skills harness

Google's self-improving agent skills harness