Google Harness2: Propose, Probe, Compose Explained

Julian Goldie — founder, AI Profit Boardroom
By Julian Goldie · 7 min read
Get The AI Profit Stack Join AIPB →
🎯 1,000+ done-for-you AI agent workflows 📅 4 live coaching calls every week 🛡️ 7-day refund + 30-day ROI guarantee 👥 3,400+ AI operators inside

Google Harness2 is a new open-source framework from Google Research that lets an AI agent improve its own setup, meaning its prompts, tools, memory and skills, without touching the model at all. It's written Harness² and you say it "Harness squared". The model stays exactly the same. What gets better is everything wrapped around it.

📺 Watch: Google Harness²: NEW Self-Improving AI Agent!

🔥 Get the Agent OS as a free bonus: AI Profit Boardroom members get the full Agent OS zip, prompt libraries, daily tutorials and weekly live coaching calls. → Get inside

I covered it in my video "Google Harness²: NEW Self-Improving AI Agent!" on 20 October 2026. This page is the written version: what it is, how it works, what the numbers say, and how you can use the same idea in your own agents today, even if you never touch the code.

What Google Harness2 is

Start with the word "harness". Per Google's paper, a harness is the system around a model that lets it act as an agent. That means the prompts, the tools, the memory, the skills and the orchestration. Harnessing means optimising that system.

Harness² is a plug-and-play framework for recursive agent harnessing in what the paper calls an "open world". That's a world where agents run into tasks nobody planned for. Instead of a human rewriting the setup every time the agent struggles, the agent tests changes to its own harness and keeps what works. Model weights stay fixed.

The paper is "Harness²: Recursive Agent Harnessing for an Open World" (arXiv 2610.14224) by Xu, Chen, CuiZhu, Dalvi Mishra, Ming, Yu, Han, Lee and Pfister. The code lives at google-research/harness2, and there's a project page at harness2.github.io.

Model vs harness: the chef and the kitchen

Here's how I explain it. The model is the chef. The harness is the kitchen: the recipes on the wall, the tools, the notes on the fridge, the helpers.

A great chef in a messy kitchen still serves bad food. Wrong recipe, missing knife, nobody told them the customer is allergic to nuts. You don't fix that by hiring a new chef. You fix the kitchen.

That's exactly what I see in my own Agentic Operating System. I run Claude, Hermes, OpenClaw and OpenCode all sharing one memory in Obsidian. When an agent does a job badly, the fix is almost never a new model. It's a rule in a skill file, a missing memory note, or vague instructions. Right now I usually fix that by hand. Harness² hands that job to the agent.

If you want that same setup without building it yourself, the AI Profit Boardroom gives you the Agent OS with shared memory and skill files, a 30-day roadmap and 4 coaching calls a week, for $69/mo.

The results

Per the paper, Google tested Harness² across three professional benchmarks and four model–harness configurations. A single Harness² step improved GLM-5 and Gemini 3.5 Flash over their base harnesses.

BenchmarkWhat it testsGain
WorkBuddy-BenchOffice, web and code tasksUp to +11.5 points
JobBenchProfessional workUp to +4.5 points
LABLegal workUp to +11.8 percentage points on partial pass rate

That's one step. Per the paper, a bigger task-level recursion budget brings further gains. Same model, better kitchen, better food.

📺 Watch: Claude AI SEO System Ranks Me #1 on Google

How it works: Propose, Probe, Compose

The first level of recursion happens on each task. Google calls it a contrastive Propose–Probe–Compose step. The clever part is it works without ground-truth feedback. Nobody hands the agent the right answer.

Propose

A harness editor proposes edits to the current harness. Some are general "invariant" edits that should help on any task. Others are domain-specific, aimed at the kind of work in front of it.

Probe

Candidate probes run those edited harnesses on the same task. So you get several versions of the agent attacking one job, each with a slightly different setup. The differences in how they behave are the evidence.

Compose

A harness composer looks at those behavioural contrasts and combines what worked into one improved harness. Think of it as cooking the same dish in four kitchens, then building one kitchen from the best bits of each.

The 8 components Harness² can edit

Per the README, there are eight editable components. They group by role: system prompt, guardrails, memory and skills construct context; tool guidance and scripts define the tool interface; subagents orchestrate delegated work; plugins control middleware, which is behaviour inside the tool loop.

ComponentWhat it controls
System promptThe core instructions that shape the agent's context
GuardrailsRules and limits on what the agent should and shouldn't do
MemoryWhat the agent knows and carries between steps
SkillsReusable know-how for specific jobs
Tool guidanceHow and when the agent uses its tools
ScriptsReady-made code the agent can call through its tool interface
SubagentsDelegated work handed to helper agents
PluginsMiddleware that changes behaviour inside the tool loop

Look at that list. Most of it is plain English. That's the bit non-coders should pay attention to.

📺 Watch: NEW Google Pomelli Update Is INSANE!

The hidden second loop: harnessing-level recursion

This is the part most people skip, and it's the bit I like most. The second level of recursion sits above individual tasks.

An experience reflector updates a persistent "improvement harness". It stores the harnesses that got adopted and evidence-supported lessons. Then it uses all that to guide the next task. So the agent doesn't just fix its kitchen for tonight's dinner. It learns how to fix kitchens.

The words "evidence-supported" matter a lot. A memory full of guesses makes an agent worse, not better. I've seen it in my own setup: one wrong note in memory and the agent confidently repeats the mistake forever. Harness² only keeps lessons it has evidence for. If you're building memory for your own agents, copy that rule. I go deeper on this in the best Hermes agent memory setups.

Parallel vs sequential recursion

Per the README, you can scale Harness² two ways, and the --k flag sets the budget.

Wider is like testing many recipes at once. Deeper is like perfecting one recipe over several nights. Both cost more runs, so pick the budget with your wallet in mind.

How to run it

Here are the basics from the README. This is a technical setup, not a no-code tool.

On cost, the README is blunt: "Model-backed runs incur API costs; start with a small task selection." Each probe is a full run, so costs add up quickly.

On safety, the README warns that executor network access is unrestricted and Codex runs with its sandbox disabled. Configure network restrictions before you run any evaluation. Don't skip that step.

Stuck on where agents like this fit in your business? Book a free AI strategy session and we'll map it out together.

Limits

Still, people clearly want it. The repo was created on 6 October 2026 and had about 15,400 GitHub stars and 1,400 forks at the time of writing. It's under the Apache-2.0 licence.

One commenter on my video said it was "hermes redone basically". Not quite. Hermes already learns skills from experience. Harness² is a research framework for automatically optimising the whole harness: prompts, guardrails, memory, tools, subagents, scripts and plugins together, tested against each other.

How to use the lesson in your own agents today

The big takeaway for non-coders: the setup around the model matters. Instructions, rules, memory and skills are plain English you can improve today in Claude Code, Hermes or OpenClaw. You can run the Harness² idea by hand.

  1. Stop blaming the model first. When the agent fails, look at the kitchen before you swap the chef.
  2. Check the system prompt. Is it vague? Make the goal and the finished result specific.
  3. Add a guardrail. If it keeps making the same mistake, write a rule that says "never do X".
  4. Fix the memory. Delete guesses. Keep only lessons you've seen proven.
  5. Write a skill file. Turn any job you repeat into a step-by-step skill. My list of the best Hermes agent skills is a good start.
  6. Test two versions. Run the same task with your old setup and your new one. Keep what wins. That's Propose, Probe, Compose, done by you.
  7. Log the lesson. Write down what worked and why, so the next task starts smarter.

My Agent OS guide shows how I wire shared memory and skill files across agents. And if you want to see how I compare agents on real jobs, check Goldie Bench.

Want the done-for-you version? Inside the AI Profit Boardroom you get the Agent OS with shared memory and skill files, the 30-day roadmap and 4 coaching calls a week, all for $69/mo. Prefer to talk it through first? Grab a free AI strategy session.

FAQ

What is Google Harness2?

Google Harness2 (Harness², "Harness squared") is an open-source framework from Google Research that lets AI agents improve their own harness, meaning prompts, guardrails, memory, skills, tools, scripts, subagents and plugins, while the model weights stay fixed. It uses a Propose–Probe–Compose loop on each task plus a persistent improvement harness that carries lessons forward.

Is Harness2 free?

The code is free under the Apache-2.0 licence, and the local harness2-demo runs with no model credentials. Model-backed runs are not free: per the README, they incur API costs, so start with a small task selection.

Does Harness2 work with Hermes or Claude Code?

Not directly. The supported executors are OpenCode (the default) and Codex. The ideas apply to any harness, though. You can improve your prompts, rules, memory and skills in Hermes or Claude Code by hand today using the same test-and-keep-what-works approach.

Is Harness2 an official Google product?

No. It comes from Google Research, but the README states, "This is not an officially supported Google product." It's version 0.1.0 research code, so treat it as an experiment, not a finished tool.

If you want help turning ideas like Google Harness2 into agents that do real work for your business, book a free AI strategy session.

What members say about the AI Profit Boardroom

Read all 114 reviews on Skool →

★ 4.9 out of 5 from 114 member reviews on Skool

Yosuke Sato, AI Profit Boardroom member review (5 stars, paying member for 17 months): The best Skool course you get for AI! I have attended a few Skool courses before, but AI Profit Boardroom is the most active community and has great support from the management team, including Julian! You can get the most up-to-date information and practical implementations in this community. I highly recommend this!Mazzie T, AI Profit Boardroom member review (5 stars, paying member for 10 months): My mind is blown everyday with all the content and the incredible information. So much support and I love the personalised attention and quick responses. The community is great and people are very responsive and helpful.Rene Clayton, AI Profit Boardroom member review (5 stars, paying member for 9 months): The AI Profit Boardroom is a GAME CHANGER people. I could not be more thrilled that I joined!! So much support, more information than you can even consume, a huge value for what the small fee was. I have grown my business, my knowledge and my FUN!. SUCH a fantastic leader and group of humans. I am incredibly honored to be a part of this fantastic group of intelligent humans :-) THANK YOU!Arpiet Malpani, AI Profit Boardroom member review (5 stars, paying member for 8 months): Incredible learning from Julian and team. I started out in march and was able to build end to end SAAS with the help and learning from this group. I am incredibly thankful to Julian for crazy support and prompt response.James Grimm, AI Profit Boardroom member review (5 stars, paying member for 7 months): I asked Julian for help finding local business websites with little to no traffic. Julian was gracious in providing me my personal "how-to" video instruction. Wow, this is the pinnacle of customer service! I am just one of 3,400 subscribers and Julian took the time to help me personally. Thank you Julian for your assistance and outstanding custoemr support and care. James (Jim) GrimmNick Good, AI Profit Boardroom member review (5 stars, paying member for 4 months): I’m part of many AI groups and hands down, what Julian Goldie, has built here…the classroom trainings are amazing, but the community he has created is second to none (the community is worth the cost of joining!). If you’re looking to become the AI expert and build/create something meaningful, then AI Profit Boardroom is for YOU!Steven Gray, AI Profit Boardroom member review (5 stars, paying member for 4 months): Been in awhile. I’m a dad on a factory shift, not a tech bloke. Julian’s lot showed me how to use AI without drowning in tools. Avatar, voice, the workflow thinking — that’s what I needed. If you’re stuck on “where do I start,” this group’s worth it. I always read them.Steve Erickson, AI Profit Boardroom member review (5 stars, paying member for 4 months): I asked Julian a simple question, and he ended up creating a 10-minute video and a guide breaking down in extreme detail what I had asked. Amazing response!Rod Martin, AI Profit Boardroom member review (5 stars, paying member for 3 months): Julian is brilliant, and more prolific than I can keep up with (which is a great thing). His AgentOS is remarkable, and he is THE go-to guy for what you can really do (and not do) with the ever-increasing deluge of new AI upgrades and tools. HIGHLY recommend.Daniel Shulman, AI Profit Boardroom member review (5 stars, paying member for 4 months): Julian is very helpful. He doesn't try sell stuff you dont need and will give you a straight answer to your questions.Rj Herzog, AI Profit Boardroom member review (5 stars, paying member for 5 months): Top notch. If you are searching & searching thinking there is always something better out there.... You just found it. No need to look any further. Goldie covers it all & is super helpful. Can't beat the group either. Really can't recommend this group enough.Jermey Matthews, AI Profit Boardroom member review (5 stars, paying member for 6 months): While he has the capacity to do it, Julian is definitely doing the unscalable things to support his community.

Ready To Join The #1 AI Community?

Join 3,400+ entrepreneurs inside the AI Profit Boardroom. Get the Agent OS, 1,000+ plug-and-play AI agent workflows, daily Q&A with Julian and 4 live coaching calls every week.

Join The AI Profit Boardroom →

7-Day No-Questions Refund • 30-Day ROI Guarantee

← Back to all posts