Google Research open-sources Harness², an agent harness that rewrites itself
Google Research has open-sourced Harness² (Recursive Agent Harnessing for an Open World) on GitHub under Apache 2.0, a framework that lets agents recursively rewrite their own harness — prompts, memory, tools, skills, subagents and other components — without changing model weights. Task-level recursion runs a Propose–Probe–Compose loop that keeps only edits supported by observed execution behavior and requires no ground truth, while a harnessing-level reflector saves adopted edits and lessons into an experience library for later tasks. The release supports OpenCode and Codex executors (OpenCode by default), and Google Research says it remains a research project rather than an officially supported product; Google's own benchmarks report one-step gains of up to 11.5 points on WorkBuddy-Bench, 4.5 on JobBench and 11.8 percentage points on LAB with GLM-5 and Gemini 3.5 Flash. DoNews noted that default network access is unrestricted and the Codex executor disables the sandbox, so formal evaluation needs network restrictions.
It offers an open-source route to improving agent performance through harness edits and extra test-time compute instead of weight updates, though the reported benchmark gains come from Google's own evaluations.

谷歌研究团队开源了一套名为 Harness² 的智能体框架,试图让 AI Agent 在不修改模型权重的情况下,通过持续调整系统提示词、记忆、工具指导、skill、子智能体等外部组件,实现递归式能力提升。
目前,Harness² 已在 GitHub 以 Apache 2.0 协议开源,支持 OpenCode 和 Codex,默认使用 OpenCode,也可以切换至 Codex。Google Research 同时强调,Harness² 仍属于研究项目,并非谷歌官方支持的产品。
GitHub地址:
https://github.com/google-research/harness2"
团队将这套可修改的 Harness 拆成8类组件,包括系统提示词、护栏、记忆、工具指导、子智能体、Skills、脚本和插件。这些组件共同决定 Agent 如何构建上下文、调用工具、委派任务,以及如何在多轮工具调用中完成工作。
#Google Research#Harness²#Gemini 3.5 Flash#GLM-5#OpenCode#Codex#Jev#WorkBuddy-Bench#JobBench#LAB#Claude Opus 4.8#Northwestern University