Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
- Source
- arxiv.org
- Author
- Paul Barbaste, Tristan Darrigol, Germain Vu, Tom Wiltberger
- Date
A source-code study compares eleven production coding-agent systems, including Claude Code, Codex CLI, Gemini CLI, Aider, OpenHands and OpenCode. The authors map them across seven runtime subsystems and identify 29 recurring implementation patterns. That makes the paper more useful as an architecture reference than another leaderboard because it shows where agent products make similar choices around loops, tools, context, safety, orchestration and extension points. The comparison can help teams separate model capability from harness design when diagnosing why an agent succeeds or fails. It does not prove that every recurring pattern is best, but it gives builders a concrete vocabulary for evaluating their own runtime.

Context
A depends on software around its : the loop that runs tools, manages working and enforces permissions. A source-code study of eleven coding systems reports that the inspected runtimes used custom execution loops and code-search tools rather than general-purpose agent frameworks or vector-based code , which searches through numerical representations of meaning.
That finding gives builders concrete architecture patterns to examine. It does not establish that those choices outperform every alternative: the authors inspected implementations rather than running all eleven systems on a shared task set. Their evidence describes how these agents were assembled, not a ranking of their effectiveness.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- Model — A computational system that uses learned patterns to produce an output from information supplied to it.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Retrieval — Selecting evidence relevant to the current request.
articleBeyond the Model: Demystifying Harness Effects in Software Engineering AgentsHaichuan Hu, Quanjun Zhang, Shengcheng Yu, Zhifei Chen, Tianyu Luo, Chunrong Fang, Zhenyu Chen, Liang Xiao
articleHarness or Model? Isolating the Harness Effect in Agentic Coding with a Contamination-Controlled Private SuiteMohsen Arjmandi
articleA Visual Guide to Agent Harnessesmariuz