✷ Harness
AI Agent Harnesses, Read From Source
A reading path through agent harnesses, from the source outward. Every claim is pinned to a file and a commit you can open.
Foundations
- What a Harness Actually Is, in 190 Lines of Code
The word harness is everywhere now, and almost nobody points out that it names two things at once: the program that runs the loop, and the files you prepare for it inside your own repository. Keep those fused and every harness article you read will, at some point, stop lining up. This one pulls them apart using the main loop of mini-swe-agent — 190 lines, short enough to read in one sitting, and each of the five subsystems (instructions, tools, environment, state, feedback) lands on a line number you can point at.