Harness engineering means changing the setup around an AI model, such as its instructions, the documents and tools it can reach and the checks on its work, while the model itself stays the same. In our November 2026 tests on invented companies, the right setup change moved results far more than the choice of model. On hard coding tasks the newest numbers show a stronger model adding more than most harness changes, so which fix comes first depends on the mistake. What is an agent harness? covers the parts.
Does a better setup beat a better model?
For the mistakes in our business tests, yes. A stronger model is the fix when the agent has the right information and still reasons badly.
All five AI assistants we asked said a setup change often helps more than a better model, and four of the five said there is no single number for how much. Our handbook test points the same way. Claude Sonnet 5.5, the larger model, answered 30 of 30 with the whole handbook, the same as three of the four low-cost models, and without the handbook none of the four low-cost models could answer a single policy question.
Which change should you try first?
The one that matches the mistake, so sort the wrong answers before you change anything.
| What the agent gets wrong | Try first | What it did in our tests |
|---|---|---|
| A fact or rule it was never given | Give it the document that holds the answer | Handbook questions went from 0 of 80 to 79 of 80 |
| A habit nobody wrote down | Give it the corrections, or lessons written from them | Habit emails went from 32 of 90 to 79 of 90 |
| Anything about one customer’s order or booking | Connect the system that holds the record | Booking questions went from “I can’t see bookings” to 32 of 32 answered right |
| A request it should never act on alone | A rule that hands it to a person | With that rule, 0 of 72 trick emails obeyed, across 24 tries on four models |
| Hard reasoning with the right information in front of it | A stronger model or a higher reasoning setting | Not in our tests, and the coding numbers further down show the size |
The first two rows are documents that a person who knows the job can write. The middle two usually need whoever built the agent, and improving an agent a business already runs is work Airu Labs does. Only the last row costs more on every run. In one of our agent tests the most expensive model cost about 70 times the cheapest for the same eight busy runs, mostly from the price of each token and partly because our test left Claude’s caching off, which the always-on model comparison breaks down.
Airu Labs builds custom AI systems for small and mid-size companies. On an agent that keeps getting things wrong, we would sort its wrong answers by the rows above before we changed the model. If yours keeps making the same mistakes, book a 30-minute call and bring five of them.
How much has a setup change moved results?
In our business tests, anywhere from a loss to a near-complete fix. In the newest coding studies, by 2 to 21 points.
| What changed, with the model the same | Before | After |
|---|---|---|
| Gave four models the company handbook | 0 of 80 handbook questions right | 79 of 80 |
| Gave five models the lessons they wrote from a day of corrections | 32 of 90 habit emails right | 79 of 90 |
| Moved a service sheet out of GPT-6 Luna’s instructions into a tool | 48 of 48 tries clean | 20 of 24, worse |
These three come from our November 2026 tests on invented companies, and an AI model (Claude) wrote their messages and answer keys before any model ran. Each item was answered once, except the service-sheet row, which counts repeated tries.
What published studies found on coding and professional tasks, with the model held the same:
| What changed | Measured by | Gain in points |
|---|---|---|
| One automatic rewrite of GLM-5’s harness by Harness², on WorkBuddy-Bench | Google researchers, October 2026 | 11.5, from 64.2 to 75.7 |
| Shorter old tool results in a 20,480-token context window, Qwen3.6-35B-A3B on SWE-bench Verified | Sydney Lewis, August 2026 | 21, from a 28% to a 49% mean fail-to-pass fraction |
| DeepSeek V4.1 Flash moved from OpenCode to mini-SWE, on DeepSWE | DeepSeek’s own report, September 2026 | 8.7, from 65.5 to 74.2 |
| Seven models swapped among Claude Code, mini-SWE-agent and OpenCode | Yangze Liu and Zhongyi Han, November 2026 | Usually 2 to 5, about as much as a rerun |
Harness², from Google researchers in October 2026 and open source on GitHub, has a second model, the editor, rewrite an agent’s harness while the working model stays fixed. It can change eight parts, among them the system prompt, guardrails, memory and tool guidance. Its one step put GLM-5 past the 72.4 that Gemini 3.5 Flash scored with its stock harness on WorkBuddy-Bench, one of the paper’s three tests of professional work, and took Gemini 3.5 Flash itself to 77.5. Not every automatic method helped, since in the same paper another one, Harness Scaling, scored below the stock harness in seven of twelve pairings.
The biggest gain in the table came under pressure. Sydney Lewis cut the model’s context window on purpose, and with a wide window the paper reports the two setups close.
A stronger model still added more on hard coding work than most of these changes. On the Terminal-Bench 4.1 leaderboard, read November 22, 2026, Claude Code at maximum effort solved 40% of the tasks with Claude Haiku 5.5 and 65.8% with Claude Opus 5.5, about 26 points apart, while three production harnesses on the same model usually came within 2 to 5 points of each other in the newest study of them.
Can a setup change make the agent worse?
Yes, and the same change can help one model while it hurts another.
When we moved a supplier’s service sheet out of the agent’s instructions and behind a tool, GPT-6 Luna went from 48 of 48 clean tries to 20 of 24, while DeepSeek V4.1 Flash had one bad try either way. In the lessons test, giving five models the raw log of corrections got every habit email right, 90 of 90, but sent 3 of 40 ordinary emails the way of a habit that did not apply, which self-improving AI agents goes through.
The newest outside study finds the same. Yangze Liu and Zhongyi Han ran seven models through Claude Code, mini-SWE-agent and OpenCode and found no harness led across them. Swapping harnesses changed about as many task results as rerunning the same setup did, and the exceptions pointed both ways, with OpenCode 8 to 9 points behind on one model and 14 ahead on another. Only one of the five AI assistants we asked warned that a setup gain may not carry over to another model.
How do you know a change worked?
Run the same jobs before and after, several times each, and count the wrong results that would have gone out.
One run can mislead. In our repeat test, 116 of 120 tries were clean, yet Claude Haiku 5.5 passed one run on its first try and then sent a reply with no check on 3 of the next 5.
- Take 30 jobs the agent got wrong or nearly wrong, and write down the right result for each.
- Sort them by the rows of the first table above.
- Change one thing.
- Run the same 30 jobs at least three times each with the same settings, and compare how many wrong results would have reached a customer.
How to test an AI agent sets the pass mark for that count by the harm a wrong result can do. Before you pay for a bigger model, read ten of the agent’s wrong answers and check whether what it needed was in front of it.
