18 Jun 2026
Why the harness, not the model, decides whether an agent works
Founders keep asking me which AI model they should build on.
Wrong question. And I get why it's tempting. A new model drops, the demo looks like magic, so the model must be the thing that matters.
It isn't. I learned this the expensive way, watching "smart model" systems fall over in production while "dumb model" systems ran clean.
A raw model is an engine on a factory floor. It can't build a car. It needs belts, sensors, an assembly line, a quality check at the end. In AI, that surrounding machinery has a name. The harness. Your prompts, your tools, the rules for what the model can see, the checks that catch it when it's wrong, the loop that hands work back to it to try again.
Agent = Model + Harness. The model is maybe 10% of why your system works. The harness is the other 90%. And it's yours to build, not the model provider's.
The cleanest proof I've seen: on a public coding benchmark, one team moved their agent from outside the top 30 to the top 5 by changing nothing but the harness. Same model underneath. Better scaffolding around it.
So what does good scaffolding look like? It looks like loops, stacked.
- The core runs the show. The model acts, sees the result, decides its next move, repeats until done.
- Wrap that in a loop that grades the output against a real standard. Pass, or back with feedback.
- Wrap that in one that fires automatically when a ticket opens or a doc lands.
- Wrap that in a loop that reads the run logs and improves the harness itself.
Each layer makes the one inside it more reliable. You stop writing cleverer prompts. You start engineering the loop.
And here is the part most teams still miss. Not every loop needs your biggest model.
Generating a fresh architecture? Reach for the frontier model. Checking whether a function returns the right type, or routing a support ticket? A small, fast, cheap model does that better, at a fraction of the cost. The research on small specialized models is piling up, and it points one way. The future isn't one giant brain answering everything. It's the right-sized model wired into the right step of the loop.
This is why the model is almost never your bottleneck. The bottleneck is the system around it. The spec that tells it what "correct" means. The tests that catch it before it ships. The loop that lets it repair its own mistakes instead of waiting on you.
A lot of broken AI builds start in exactly this gap. A founder picked a great model, skipped the harness, and ended up with something that shines in a demo and buckles the moment real users hit it.
Generation is solved. Anyone can make a model produce code now.
The engineering is everything around it. The verification, the judgment, the loops. It's the part I stay closest to: I design most of the harness myself and own the spec the whole way through.
The model is the engine. The harness is the car, the road, and the traffic laws.
The "stacking loops" framing is something swyx named loopcraft, building on ideas from Peter Steinberger, Boris Cherny and Andrej Karpathy. LangChain's breakdown of the four loops is worth your time too.