this is absolutely unreal
Annatar.md
Visit on X@AnnatarXBT4.2K followers
13,083 views
this is absolutely unreal
Google open-sourced Harness², and it lets an agent rewrite its own harness for every new task
the harness is everything around the model: system prompt, guardrails, memory, tool guidance, subagents, skills, scripts, plugins
normally a person designs it once, and every later task runs on that fixed setup
Harness² edits the setup per task and never touches the model weights:
> propose - the agent drafts edits to its own harness
> probe - it runs a few candidate versions on the same task
> compose - it builds a better harness from how those runs differed
the clever part: it learns from the differences between runs, so it works on tasks with no answer key or grader
it also keeps notes. the harness it settled on and the lessons that held up get saved, so the next task begins with those notes in hand
Google ran it with Gemini 3.5 Flash and GLM-5 on JobBench, LAB and WorkBuddy-Bench. one round of edits already beat the original harnesses, and more rounds pushed the scores higher
rounds can go wide, several candidates at once, or deep, one harness refined step by step through OpenCode or Codex
whoever wires this into a team's agents stops losing evenings to failed traces
the harness setup that keeps agents from falling apart is below ↓
6 Comments
Comments from the original post on X (Twitter)

@MarcinKukla4
I did that 6 months ago.
1 like

@luxurycachecom
Rewriting ones harness, what could go wrong? LOL
1 like

@swshakib2x
An agent rewriting its own harness for every new task is the part that actually changes how people build

@king_ldp
智能体开始自己改写 harness,这层递归有点意思

@linyun1128
Self-rewriting harness makes the eval the only real spec.

@Mr_Buzzoni
my harness is still one file i never touch lol
