Developer Tools

New paper defines 'agent harness' with clear test for 6 tools like Claude Code

A conceptual analysis traces the term from horse tack to Claude Code, offering an operational definition.

Deep Dive

The term 'agent harness' has become ubiquitous but ambiguous in generative AI software engineering—sometimes referring to products like Claude Code, sometimes to evaluation scaffolds like SWE-bench, and often conflated with frameworks or SDKs. Sanderson Oliveira de Macedo addresses this by systematically analyzing the concept's history, from the literal horse's tack to classic test harnesses in software testing, then through machine-learning evaluation harnesses, and finally to today's agentic systems. The result is a constitutive definition with clear necessary and sufficient conditions for a system to qualify as an agent harness, along with an operational inclusion/exclusion test.

The definition is validated against six real-world implementations (Claude Code, Codex CLI, Aider, Cline, OpenHands, and SWE-agent) and deliberate edge cases, including frameworks (LangChain), SDKs (OpenAI Agents SDK), and IDE plugins (GitHub Copilot). The test consistently includes only the harnesses and excludes the others. The paper closes with a research agenda organized around design tension axes, such as breadth vs. depth of agent capabilities, and tight vs. loose coupling to the underlying model. For professionals building or evaluating AI coding agents, this work provides the missing shared vocabulary needed to compare tools rigorously and guide engineering decisions.

Key Points
  • Traces the term 'agent harness' from horse tack through test harness to ML eval harness and finally to LLM-based coding agents.
  • Provides a test of necessary and sufficient conditions, applied to 6 real systems (Claude Code, Codex CLI, Aider, Cline, OpenHands, SWE-agent) and edge cases.
  • Clearly distinguishes agent harnesses from frameworks, SDKs, IDE plugins, eval harnesses, and orchestrators.

Why It Matters

Ends the definitional chaos around AI coding agents, enabling clear engineering comparisons and a shared vocabulary.

📬 Get the top 10 AI stories daily