Google Research just open-sourced a recursive Agent Harness 🤯
Published on October 20, 2026
Google Research just open-sourced a recursive Agent Harness 🤯
It lets AI agents rewrite their own harness for every new task.
It's called Harness². And it's 100% Open Source.
A harness is everything that turns a model into an agent: the system prompt, tools, memory, skills, subagents, and guardrails.
Teams usually tune it once and ship it. Then the agent hits a task nobody designed for, and the harness has no way to adapt.
Harness² refines the harness on the task itself with a Propose, Probe, Compose step:
• Propose edits across eight parts of the harness, from the system prompt to skills, scripts, and plugins
• Probe each edit by running it on the same task
• Compare how those runs behaved and compose the best edits into one refined harness
None of this needs ground-truth answers. The agent learns from the differences between its own runs, and the model weights stay frozen the entire time.
After every task, it keeps the setup that worked best and writes down what it learned. The next task starts from there, so by task 50 the agent is drawing on lessons from the 49 tasks before it.
Google Research tested it on professional, office, and legal work. One round of self-editing improved scores by up to 11.8 points, and letting it run more rounds pushed scores higher.
You can run it in parallel, testing many candidate harnesses at once, or sequentially, refining one harness step by step.
There's a local demo that runs both modes without any model credentials, so you can watch the loop before paying for a single API call.
IMP: This is not an officially supported Google product.