An engineer's guide to harnesses
Summary
Baseten's Alex Ker and Zak Keener collect their widely read X essays on harness engineering into a downloadable guide, pitching the harness as what turns a stateless model into useful work.
A harness is the loop around the model.
It manages context, tool calls, I/O, and guardrails, which is why Claude Code, Codex, OpenCode, Cursor Agent, and custom scaffolding all count.
Mechanically, it's a while (have next message) do {tool} loop.
Models and harnesses are a pair.
Labs post-train them together, so swapping either half costs quality, latency, and money.
Judgment moves into the harness.
Engineering skill now shows up in the harness more than in model choice.
Engineers used to argue about IDEs; now they argue about harnesses.
Not only for engineers.
Progressive disclosure, RPI, and subagents apply to anyone driving an agent; routing, caching, and joint post-training are for engineers.
Highlights
Section 3 argues that harness fleets are inevitable and makes the case for depots as the next abstraction layer.
Read the original ↗Save to Sponge
Summarized with Sponge. Quotes are the author’s own words.