{"slug": "harness-engineering-anatomy-architecture-and-evolution-of-coding-agents", "title": "Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents", "summary": "A July 15, 2026 arXiv paper titled \"Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents\" audited the source code of eleven production coding harnesses — Claude Code, Codex CLI, Gemini CLI, Mistral Vibe, OpenHands, Aider, Mini-SWE-Agent, Hermes, Pi, OpenCode and OpenClaw — plus the meta-harness Omnigent, mapping seven canonical subsystems and cataloging 29 recurring design patterns. Across roughly four million lines of Python, TypeScript and Rust, the study found no agent runtime imports a general-purpose agentic framework and none retrieves code with vector embeddings, with the field running on hand-rolled async loops and deterministic retrieval. SKILL.md skills led MCP in adoption (9/11 versus 8/11), ACP shipped in six systems with a new harness-hosting role, and the paper concludes with 18 design recommendations and a 90-line minimum-viable-harness scaffold.", "body_md": "# Computer Science > Software Engineering\n\n  [Submitted on 15 Jul 2026]\n\n# Title:Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems\n\n[View PDF](https://arxiv.org/pdf/2609.00006)\n\n[HTML (experimental)](https://arxiv.org/html/2609.00006v1)\n\nAbstract:An agent is a model plus a harness -- the runtime that couples an LLM to the world through a loop, tools, context management, safety controls, orchestration, and extension surfaces. Harness engineering, named as a discipline in early 2026, is the design and evolution of that runtime. This paper gives the young discipline its most comprehensive empirical foundation to date: a source-code anatomy of eleven production coding harnesses (Claude Code, Codex CLI, Gemini CLI, Mistral Vibe, OpenHands, Aider, Mini-SWE-Agent, Hermes, Pi, OpenCode, OpenClaw), plus Omnigent, the first meta-harness, analyzed as a contrast point. We define what a harness is, map its seven canonical subsystems with the minimal and maximal implementation of each, and dissect all eleven systems along those subsystems. The audit yields 13 cross-cutting observations and a catalog of 29 recurring design patterns. 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, and none retrieves code with vector embeddings; the field runs on hand-rolled async loops and deterministic retrieval. [this http URL](http://SKILL.md) skills lead MCP in adoption (9/11 vs. 8/11), and ACP ships in six systems with a new third role: harness hosting. Because the original eight systems were re-pinned rather than replaced, the study also contains a controlled longitudinal sample -- the same harnesses source-diffed across one quarter -- showing convergence becoming imitation and behavioral policy migrating from prompt prose to configuration. These threads converge on the paper's thesis: in the first half of 2026 the coding harness completed a turn from tool to platform. The paper closes with 18 design recommendations and a 90-line minimum-viable-harness scaffold.\n    \n\n### References & Citations\n\nLoading...\n\n# Bibliographic and Citation Tools\n\nBibliographic Explorer \n\n*(*[What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))\nConnected Papers \n\n*(*[What is Connected Papers?](https://www.connectedpapers.com/about))\nLitmaps \n\n*(*[What is Litmaps?](https://www.litmaps.co/))\nscite Smart Citations \n\n*(*[What are Smart Citations?](https://www.scite.ai/))\n# Code, Data and Media Associated with this Article\n\nalphaXiv \n\n*(*[What is alphaXiv?](https://alphaxiv.org/))\nCatalyzeX Code Finder for Papers \n\n*(*[What is CatalyzeX?](https://www.catalyzex.com))\nDagsHub \n\n*(*[What is DagsHub?](https://dagshub.com/))\nGotit.pub \n\n*(*[What is GotitPub?](http://gotit.pub/faq))\nHugging Face \n\n*(*[What is Huggingface?](https://huggingface.co/huggingface))\nScienceCast \n\n*(*[What is ScienceCast?](https://sciencecast.org/welcome))\n# Demos\n\n# Recommenders and Search Tools\n\nInfluence Flower \n\n*(*[What are Influence Flowers?](https://influencemap.cmlab.dev/))\nCORE Recommender \n\n*(*[What is CORE?](https://core.ac.uk/services/recommender))\n# arXivLabs: experimental projects with community collaborators\n\narXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.\n\nBoth individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.\n\nHave an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).", "url": "https://wpnews.pro/news/harness-engineering-anatomy-architecture-and-evolution-of-coding-agents", "canonical_source": "https://arxiv.org/abs/2609.00006", "published_at": "2026-10-04 22:31:41+00:00", "updated_at": "2026-10-04 22:42:53.771239+00:00", "lang": "en", "topics": ["ai-agents", "artificial-intelligence", "ai-research", "developer-tools", "agent-protocols"], "entities": ["Claude Code", "Codex CLI", "Gemini CLI", "Mistral Vibe", "OpenHands", "Aider", "Mini-SWE-Agent", "Omnigent"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/harness-engineering-anatomy-architecture-and-evolution-of-coding-agents", "markdown": "https://wpnews.pro/news/harness-engineering-anatomy-architecture-and-evolution-of-coding-agents.md", "text": "https://wpnews.pro/news/harness-engineering-anatomy-architecture-and-evolution-of-coding-agents.txt", "jsonld": "https://wpnews.pro/news/harness-engineering-anatomy-architecture-and-evolution-of-coding-agents.jsonld"}}