Years ago I shot on a Canon 7D. Out of the box it recorded video the way Canon decided it should: compressed H.264, with most of what the sensor captured thrown away before it reached the card.
Then I installed Magic Lantern, the third party firmware, and the same camera started writing 14 bit RAW. Same sensor, same lens, same body. Suddenly I had the dynamic range and colour depth to grade footage the way people graded footage off a RED. The sensor had been seeing all of it the whole time. The stock firmware was the ceiling, not the hardware.
For a long time I didn't apply that lesson to agents. When a model looped, mangled an edit or invented a file, I assumed I needed a bigger model. Then I went looking for results where only the harness changed, and they're not small:
LangChain kept GPT 5.2 Codex fixed and changed only their harness: a verification pass before the agent is allowed to finish, loop detection when it keeps editing the same file, time budget warnings, and a map of the working directory at startup. Terminal Bench 2.0 went from 52.8% to 66.5%, from outside the top 30 to the top 5.
Can Bölük changed nothing but the edit tool, so the model points at lines by a short hash instead of retyping them. Grok Code Fast 1 went from 6.7% to 68.3% on his edit benchmark. The weakest models gained the most.
Artificial Analysis ran Mistral Large 4 on Terminal Bench in two harnesses. 24.7% in mini SWE agent, 41.4% in Mistral's own Vibe. Same weights, about 17 points apart.
But here's the part that changed how I build: in Can's same table, DeepSeek V3.2 got worse with the new edit format. So there's no universal best harness. Every model has its own sensor quirks, and the firmware has to be written for that sensor.
So I distilled what people already know about each model into a harness for that model. For 69 open models, across 665 builds (GGUF, MLX, FP8 and so on), we read the model card, the official serving recipe, Hugging Face discussion threads, GitHub issues and papers, and pulled out the faults people actually report. There are 216 of them. The biggest groups are tool calls (62), loops (43), chat template problems (34) and making things up (28). One DeepSeek V4 Flash build, for example, has users reporting 6 of 6 long sessions on one host stuck repeating "Run." instead of calling the tool.
Each fault becomes a fix in the place the agent actually obeys, which is the same point the Claude Code setup post here made: guardrails belong in hooks and settings, not prose. So a fix can be a rule in AGENTS.md or CLAUDE.md, a guard hook that refuses the bad action, a reviewer, or gates that run after every edit (does it parse, do the imports exist) and before the agent says it's done (types, tests). The fixes land differently per agent too. Claude Code runs the gates itself; OpenCode has no hook that can refuse, so there the model is asked to run them.
The other half is per repo. It reads your git history (which files are hot, which ones always change together, what got reverted and how your team writes commit messages) and writes CLAUDE.md or AGENTS.md, a SKILL.md with its references, two check scripts and a reviewer, laid out the way each of nine agents expects. Cursor wants .mdc rules with globs. Codex has no agent files, so the reviewer becomes a second skill.
What I can't claim yet: none of the per model harnesses has been benchmarked. They're built from reports, not measured, and 36 of the 69 models have no reports of their own and borrow from their closest sibling. Measuring them is the next job, and I'd rather say that than lean on LangChain's numbers as if they were mine.
The per model harnesses are here: https://github.com/kopias/loreto-mcp
or
https://loreto.io/#find-your-model
Disclosure: I run Loreto. The per model harnesses are free (one command, npx or a zip). The per repo harness built from your git history is paid.
Has anyone measured the same open model in two harnesses on their own codebase? I'd like to know whether the gap you saw looked more like Mistral's 17 points or the few points that model card thread says is typical.