
HARNESS Harness²: fix the setup around the agent, not the model
Harness²: fix the setup around the agent, not the model
Open the paper on arXiv
Checked on 1 December 2026 against the paper itself and the code's README.
arxiv.org · checked on December 1, 2026
A research method that improves an agent without changing the model: how it works, what the results say, what you can use today
In short:
- What it is: Harness² is a research paper (arXiv, 9 October 2026). The idea: an agent's results depend not only on the model but also on the setup around it (the harness). In this method the model never changes; its weights stay fixed.
- What changes are files: the system prompt, guardrails, memory, skills, tool guidance, scripts, plugins and subagents. Eight components in the paper's diagram.
- Within a task: it proposes edits, tries each candidate on the same task and keeps only the edits that worked in those runs (Propose–Probe–Compose).
- Across tasks: it turns those runs into lessons, writes them to a lasting improvement library and uses it on the next task.
- Results: in the researchers' own three benchmarks the gains were roughly 4.5 to 12 points (at most: WorkBuddy-Bench +11.5 points, JobBench +4.5 points, LAB +11.8 percentage points). There is no independent replication.
- Code: open and free (Apache-2.0); the link is in the paper's full text, right below the abstract. Setup needs Linux, Python 3.12 and uv. The free demo runs without keys; real tasks cost model API fees.
Watch out
This is research code, not a ready-made app. The model is not trained; when people say it “learns from its mistakes”, what changes are the files around the model. The numbers come from the authors' own benchmarks, and part of the scoring in those benchmarks is itself done by AI models. The README says real runs incur API costs and suggests starting with a small task selection. Note: AI makes things easier for bad actors too. Check what it does before installing, and try it first in a separate folder.
My take
“You can use the idea today: keep a lessons file for your agent (e.g. CLAUDE.md) and add a line after every mistake. That's my suggestion, not a claim from the paper.”
Sources
Hear about new tools early. Follow so you don't miss them.
Follow on Instagram