AI summary · arXiv: 2609.00006v1 · cs.SE
Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
The essentials
The paper maps the architecture and evolution of eleven coding-agent harnesses, arguing that they are shifting from tools into platforms.
Question
What components define a production coding-agent harness, how do leading systems implement them, and how is the harness layer evolving? The study also examines whether common architectural patterns or notable absences emerge across systems.
Method
The authors conduct a source-code comparison of eleven harnesses pinned to July 2026 releases, analyzing seven subsystems: the agent loop, LLM integration, tools, memory and context, safety, orchestration, and extensibility. They also compare retained April 2026 snapshots for eight systems to study change over one quarter; Omnigent is included as a meta-harness contrast point.
Findings
-
Result
Across the studied runtimes, the authors found no use of general-purpose agentic frameworks or embedding-based code retrieval.
See the passage in the paper
Two absences survive a threefold corpus expansion: across roughly four million lines of Python, TypeScript, and Rust, no agent runtime imports a general-purpose agentic framework (LangChain, LangGraph, AutoGen, or a dozen others; Gemini CLI uses neither of Google’s own), and none retrieves code with vector embeddings; the field runs on hand-rolled async loops and deterministic retrieval (ripgrep, tree-sitter, glob, auto-discovered Markdown context files).
-
Result
SKILL.md skills were more widely adopted than MCP in the corpus, while ACP appeared in six systems and took on a harness-hosting role.
See the passage in the paper
The extensibility standards resolved: SKILL.md skills lead MCP in adoption (9/11 vs. 8/11), with registries, trust tiers, and the corpus’s first agent-authored skills; ACP ships in six systems and acquired a third role, harness hosting, with OpenHands running Claude Code, Codex, or Gemini CLI as interchangeable backends.
-
Result
The quarter-long comparison found signs of imitation between harnesses and a shift of behavioral policy from prompts into configuration.
See the passage in the paper
The diff shows convergence becoming imitation (Codex adopts Claude Code’s hook vocabulary verbatim and ships an importer for its sessions and settings; OpenHands reads Claude Code’s plugin format), while behavioral policy migrates from prompt prose to configuration, and three of the April edition’s observations required substantive revision in place.
-
Authors’ interpretation
The authors interpret new SDKs, marketplaces, governance features, and meta-harness orchestration as evidence that the harness layer is becoming a platform.
See the passage in the paper
These threads converge on the paper’s thesis: in the first half of 2026 the coding harness completed a turn from tool to platform.
Limitations
- The study includes a circulated Claude Code source snapshot from March 2026, which may not reflect the July 2026 shipping binary.
See the passage in the paper
Claude Code cells here and in the other July-dated tables reflect the March-2026 source snapshot, the newest source available to us; the shipping binary (2.1.206, July 2026) may differ.
- The paper cautions that the compared benchmark figures are self-reported and use different models and configurations, limiting direct comparison.
See the passage in the paper
The April edition of this study tabulated SWE-Bench Verified scores per system. We have removed them from the comparison table: the available figures are self-reported, obtained on different model generations and configurations, and several predate the systems’ current defaults.
- The corpus is a selected sample rather than a census of the field; the authors report that a July 2026 sweep identified many additional maintained harnesses.
See the passage in the paper
A market sweep conducted for this revision (July 2026) identified over two dozen actively maintained coding-agent harnesses beyond the systems analyzed here; Table 2 lists the most significant.
Why it matters
The authors present the study as a source-grounded reference anatomy for harness engineering, connecting implementation choices across production systems rather than ranking them by benchmark scores. They argue that the harness layer is becoming platform infrastructure, with SDKs, marketplaces, governance, cross-harness interfaces, and meta-harnesses emerging around it.
Written by AI from the paper. Passages are checked word for word against the text we analysed; the rest may contain errors.
Ask questions about this paper to our AI assistant
How to chat with this paper? Illustrated guide
You can also chat with multiple papers at once here.
Keep this conversation — a free account saves your questions and answers, your collections of papers and your alerts.
Continue with Google Create a free accountTools for this paper
Advanced tools Premium
For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium
Papers around this one
See them on a mapRanked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent HarnessesJiahang Lin, Shichun Liu, Chengjun Pan et al. · 2026 · Computation and Language · preprint, not peer reviewed · cited 194 times · AI summary available
Agentic Harness Engineering automates harness evolution through component, experience, and outcome observability, while this paper compares production harness source code and evolution.
Abstract
Harnesses are now central to coding-agent performance, mediating how models interact with tools and execution environments. Yet harness engineering remains a manual craft, because automating it faces a heterogeneous action space across editable components, voluminous trajectories that bury actionable signal, and edits whose effect is hard to attribute. We introduce Agentic Harness Engineering (AHE), a closed loop that addresses these challenges through three matched observability pillars: (1) component observability gives every editable harness component a file-level representation so the action space is explicit and revertible; (2) experience observability distills millions of raw trajector…
-
Code as Agent HarnessXuying Ning, Katherine Tieu, Dongqi Fu et al. · 2026 · Computation and Language · preprint, not peer reviewed · cited 63 times · AI summary available
Code as Agent Harness surveys code-centered harness infrastructure, while this paper empirically analyzes production coding-agent implementations.
Abstract
Recent large language models (LLMs) have demonstrated strong capabilities in understanding and generating code, from competitive programming to repository-level software engineering. In emerging agentic systems, code is no longer only a target output. It increasingly serves as an operational substrate for agent reasoning, acting, environment modeling, and execution-based verification. We frame this shift through the lens of agent harnesses and introduce code as agent harness: a unified view that centers code as the basis for agent infrastructure. To systematically study this perspective, we organize the survey around three connected layers. First, we study the harness interface, where code c…
-
What makes a harness a harness: necessary and sufficient conditions for an agent harnessSanderson Oliveira de Macedo · 2026 · arXiv.org · preprint, not peer reviewed · cited 7 times · Not summarized yet
What makes a harness a harness defines necessary and sufficient boundaries for agent harnesses, while this paper maps their components and implementations.
Abstract
The term agent harness now circulates widely in software engineering with generative artificial intelligence. It names the layer that wraps a language model and turns it into a coding agent able to act on a repository. The usage is loose and polysemous. Sometimes the term denotes the whole product (Claude Code, Codex CLI); sometimes it denotes the evaluation scaffold that runs an agent against tasks (the SWE-bench harness); sometimes it gets conflated with an agent framework, an SDK, an IDE plugin, or an orchestrator. What is missing is a reference definition that works as an instrument, one that includes and excludes cases consistently. We build that definition through a conceptual analysis…
-
Harness Engineering for AI Coding Agents: Emerging Practices and PrinciplesHua Zheng, Cheng Wen, Muhammad Sadiq et al. · 2026 · 2026 10th International Conference on Electronic Information Technology and Computer Engineering (EITCE) · cited 1 time · Not summarized yet
Harness Engineering for AI Coding Agents synthesizes emerging practices and principles, while this paper compares eleven systems’ source code.
Abstract
As LLM-based coding agents transition from research prototypes to production tools, practitioners are discovering that system reliability depends less on model capability than on the engineering of the surrounding environment. A nascent discipline, harness engineering, has emerged to address this gap, encompassing the design of constraints, feedback loops, context management strategies, and verification mechanisms that govern how coding agents operate within real codebases. However, current knowledge remains fragmented across blog posts, technical reports, and isolated case studies, with no unified framework to guide practitioners or researchers. In this paper, we synthesize early industry p…
-
Natural-Language Agent HarnessesLinyue Pan, Lexiao Zou, Shuo Guo et al. · 2026 · Computation and Language · preprint, not peer reviewed · cited 67 times · AI summary available
Natural-Language Agent Harnesses encodes run policy in executable documents interpreted by a shared runtime, unlike this paper’s source-code comparison of harnesses.
Abstract
Agent performance is strongly shaped by the surrounding harness: the external execution system around a model that organizes a task run. Yet this logic is usually buried in tightly coupled controller code, which makes harnesses hard to inspect, compare, transfer, and ablate. This paper asks whether the reusable design pattern of an agent harness can be represented as an executable natural-language object. We introduce Natural-Language Agent Harnesses (NLAHs), editable documents that describe run-level harness policy, and Intelligent Harness Runtime (IHR), a shared runtime that interprets these documents into agent calls, handoffs, state updates, validation gates, and artifact contracts. Acro…
-
Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding AgentsYuyao Ge, Sheng-Hua Liu, Pei-Zhong Gao et al. · 2026 · Not summarized yet
Doc2Harness benchmarks how well models construct coding-agent harnesses, drawing on a development document covering twelve harnesses, while this paper studies their implementations.
Abstract
Agents driven by large language models are increasingly deployed on long-horizon tasks, where they use tools and modify real workspaces. How well they perform depends as much on the harness around the model as on the model itself. Existing benchmarks measure downstream task success under a fixed harness, leaving harness engineering itself unexplored. We propose Doc2Harness, a two-stage benchmark that evaluates long-horizon harness engineering directly. In Stage 1, a build model operating inside a fixed builder harness receives an interface-only contract skeleton and a development document that consolidates behavior across twelve frontier harnesses, and then constructs a complete candidate ha…
-
Self-Harness: Harnesses That Improve ThemselvesHangfan Zhang, Shao Zhang, Kangcong Li et al. · 2026 · Computation and Language · preprint, not peer reviewed · cited 152 times · AI summary available
Self-Harness has agents iteratively improve their operating harnesses, while this paper documents existing systems and their changes over a quarter.
Abstract
The performance of LLM-based agents is jointly shaped by their base models and the harnesses that mediate their interaction with the environment. Because different models exhibit distinct behaviors, effective harness design is inherently model-specific. Yet agent harnesses are still largely engineered by human experts, a paradigm that scales poorly as modern LLMs become increasingly diverse and rapidly evolving. In this paper, we introduce Self-Harness, a new paradigm in which an LLM-based agent improves its own operating harness, without relying on human engineers or stronger external agents. We operationalize Self-Harness as an iterative loop with three stages: Weakness Mining, which ident…
-
Harnesses That Improve Themselves: A Unifying Framework for Self-Improving Agent HarnessesD. Shah, Nehal Kathrotia · 2026 · Not summarized yet
Harnesses That Improve Themselves presents a framework for self-improving harnesses, while this paper catalogs production harness architectures and their evolution.
Abstract
Whether a foundation model succeeds as an autonomous agent depends as much on its runtime software as on its weights. This runtime, the agent harness, manages context and memory, steers multi-turn control, executes tool actions in sandboxes, and verifies work before stopping. Because models differ in how they use tools and how they fail, a static harness tuned for one model or task often stalls, wastes tokens, or regresses on another. This bottleneck has driven a shift from prompt tuning to self-improving agent harnesses: systems that inspect their own execution traces, separate runtime bugs from model limits, and rewrite their own code. We present a unifying architectural and design framewo…
Papers that cite it
-
Beyond the Agent Harness: Boundary Criteria for Software-Factory Orchestration - A Single-Operator Case StudyL. Hua · 2026 · Not summarized yet
Beyond the Agent Harness distinguishes run-level harness mechanisms from factory orchestration, a boundary relevant to this paper’s harness subsystem analysis.
Abstract
Several recent systems add a layer above the coding-agent harness that organises many agent runs into continuous delivery. The existence of such a layer is not our contribution. What is missing is a rule for deciding which layer a mechanism or a failure belongs to. We propose boundary criteria based on an operational definition of a run. A mechanism confined to one run belongs to the agent harness. One that coordinates runs, hands state from one run to a later one, or is updated from run outcomes belongs to a factory harness. One that must change with the application domain belongs to the domain layer. Two residual tests assign infrastructure and model causes. For failures, we code where the…
-
Trial by Trace: Benchmarking AI Agent Harnesses for Reliability and Failure AttributionZhi-Yong Cao, Heng-Jie Zhu, Yong-Xin Wang et al. · 2026 · cited 2 times · Not summarized yet
Trial by Trace evaluates harness reliability through executable tasks across seven components, while this paper compares harness source code and design patterns.
Abstract
LLM agents are increasingly used to solve real-world problems, and their effectiveness depends on both the underlying models and the harnesses that support their operation. However, most existing benchmarks focus on model capabilities and overall agent performance, with limited attention to the evaluation of agent harnesses. To address this gap, we introduce TraceTrial-Bench, which organizes harness reliability into seven components covering context, execution, governance, lifecycle, observability, tools, and verification. We construct 95 expert-level, mechanism-oriented tasks with executable or state-based ground truth to support semantically equivalent comparisons while preserving the nati…
-
When Routine Operations Break Architectural Pattern Relationships in LLM Agent HarnessesBo-Ming Xia, Qing-Hua Lu, Dino Sejdinovic et al. · 2026 · Not summarized yet
When Routine Operations Break Architectural Pattern Relationships examines how operations alter patterns in released harnesses, while this paper catalogs harness patterns and implementations.
Abstract
LLM agent harnesses distribute tool mediation, state management and safety guardrails across native services, independently written plugins and configuration. Routine operations can change the runtime order or retained state that architectural pattern relationships require, without any code change. We study five relationships associated with the Guardrail Enforcement Point, Autonomy Controller and Blackboard patterns across five released harnesses, analysing a main sample of fourteen independently written plugins. Using PatternOps, our assessment procedure, we trace requirements from pattern descriptions, provider documentation and deployment profiles to the providers that realise them and t…
-
Software Engineering in the Agent Era From Trustworthy Change to Human Agent Software OrganizationsZhong-Jie Wang, Ming-Yi Liu · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet
Software Engineering in the Agent Era frames governance of delegated software work, a broader organizational topic than this paper’s coding-agent runtime analysis.
Abstract
Software agents make digital execution elastic: repository analysis, code generation, testing, migration, tool use, and operations can be replicated and parallelized without proportional human headcount. Problem framing, semantic commitment, verification, integration, attention, and residual-risk acceptance remain bounded by human cognition, organizational authority, and economic capacity. How should scalable execution be governed so organizations can accept and sustain its changes? Our testable framework has two constructs and one execution abstraction. Trustworthy Change (TC) is the engineering object moving from intent through delegated execution, verification, integration, acceptance, an…
-
Hidden in Plain Sight: an Empirical Study about The Instruction Stacks of Coding AgentsFelipe de Sant'Anna Paixão, Dhyego Tavares, E. Almeida et al. · 2026 · Not summarized yet
Hidden in Plain Sight studies instruction-stack composition and release-to-release changes in coding agents, overlapping this paper’s analysis of harness evolution.
Abstract
Coding agents send their models more than the user's prompt: they add instructions, tool definitions, and environmental context that form an instruction stack. This stack guides execution and changes across releases, yet remains largely unexposed to users and insufficiently characterized in research. We present a longitudinal, cross-agent study of the instruction stacks captured in the first model requests of 1,886 releases of Claude Code, Codex, Gemini CLI, Qwen Code, and OpenCode. Under controlled conditions, we analyze their composition and evolution and trace changes in the four open-source agents to documented motivations. Our findings show why examining the system prompt or reporting t…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 25 November 2026.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.