A preprint posted to arXiv, "Code as Agent Harness," argues that code now serves as the operating infrastructure for AI agents rather than only their output.
The retrieved arXiv text did not show authors, affiliations or a submission date. An X post by @Gyome1_2, published Nov. 7, 2026, attributes the survey to researchers at Stanford, Meta and UIUC. The post is a secondary summary and does not establish that attribution.
According to the arXiv abstract1, recent large language models are strong at understanding and generating code, from competitive programming to repository-level software engineering. In emerging agentic systems, the authors write, code "increasingly serves as an operational substrate" for reasoning, acting, environment modeling and execution-based verification. They call this view "code as agent harness."
The survey is organized around three layers. The first is the harness interface, where code connects agents to reasoning, action and environment modeling. The second is harness mechanisms: planning, memory and tool use for long-horizon execution, plus feedback-driven control and optimization. The third is scaling from single-agent to multi-agent settings, where shared code artifacts support coordination, review and verification.
The abstract lists applications spanning coding assistants, GUI/OS automation, embodied agents, scientific discovery, personalization and recommendation, DevOps, and enterprise workflows. Its open challenges are evaluation beyond final task success, verification under incomplete feedback, regression-free harness improvement, consistent shared state across agents, human oversight for safety-critical actions, and multimodal extensions.
The X post summarizes a harness as "the tools, memory and checks around the model" and gives the formula "agent = model + harness." The abstract does not contain that formula or definition. The post's further list of requirements (permissions, a sandbox, hooks and replayable logs) also does not appear in the abstract.
Automatica has separately covered an X post describing AgentDojo3, a testing environment for agent security and reliability. That coverage does not concern this survey.
The paper is a preprint. This report is based on the abstract, because the PDF and HTML versions could not be retrieved. The abstract's comments field points to a GitHub repository, but the retrieved text did not include the link.