Code as Agent Harness

📅 2026-05-18
📈 Citations: 0
Influential: 0
📄 PDF

career value

229K/year
🤖 AI Summary
This work proposes the “Code as Agent Suite” framework, elevating code from a passive output target to the foundational infrastructure of agent-based systems. Addressing limitations in existing AI systems—particularly regarding executability, verifiability, and state management—the framework integrates reasoning, memory, tool invocation, and multi-agent coordination through a three-layer architecture comprising interface, mechanism, and extension layers. Leveraging the code comprehension and generation capabilities of large language models, the system enables stateful, verifiable single- and multi-agent applications. It demonstrates high reliability and scalability across diverse domains, including GUI automation, scientific discovery, programming assistance, and DevOps, thereby establishing, for the first time, a systematic paradigm that positions code as the operational substrate for intelligent agents.
📝 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 connects agents to reasoning, action, and environment modeling. Second, we examine harness mechanisms: planning, memory, and tool use for long-horizon execution, together with feedback-driven control and optimization that make harness reliable and adaptive. Third, we discuss scaling the harness from single-agent systems to multi-agent settings, where shared code artifacts support multi-agent coordination, review, and verification. Across these layers, we summarize representative methods and practical applications of code as agent harness, spanning coding assistants, GUI/OS automation, embodied agents, scientific discovery, personalization and recommendation, DevOps, and enterprise workflows. We further outline open challenges for harness engineering, including evaluation beyond final task success, verification under incomplete feedback, regression-free harness improvement, consistent shared state across multiple agents, human oversight for safety-critical actions, and extensions to multimodal environments. By centering code as the harness of agentic AI, this survey provides a unified roadmap toward executable, verifiable, and stateful AI agent systems.
Problem

Research questions and friction points this paper is trying to address.

code as agent harness
agentic AI
executable agents
multi-agent coordination
verification
Innovation

Methods, ideas, or system contributions that make the work stand out.

code as agent harness
agentic AI
executable reasoning
multi-agent coordination
feedback-driven control
🔎 Similar Papers
No similar papers found.
Xuying Ning
Xuying Ning
University of Illinois Urbana-Champaign
Graph LearningLarge Language ModelsRecommender Systems
K
Katherine Tieu
University of Illinois Urbana-Champaign
Dongqi Fu
Dongqi Fu
Research Scientist, Meta AI
Geometric Deep LearningSequence ModelingProbabilistic Graphical Models
Tianxin Wei
Tianxin Wei
University of Illinois Urbana Champaign
Trustworthy Machine LearningLLMInformation Retrieval
Zihao Li
Zihao Li
Univerisity of Illinois at Urbana-Champaign
musicsportsvideo gamescooking
Y
Yuanchen Bei
University of Illinois Urbana-Champaign
Jiaru Zou
Jiaru Zou
University of Illinois Urbana-Champaign
LLM ReasoningAgentsReinforcement Learning
Mengting Ai
Mengting Ai
PhD Student, University of Illinois, Urabana-Champaign
efficient machine learninglarge language model
Zhining Liu
Zhining Liu
Ph.D. Candidate, UIUC
LLMData-centric AIResponsible AIImbalanced LearningGraph Mining
Ting-Wei Li
Ting-Wei Li
University of Illinois Urbana-Champaign
graph machine learningdata-centric machine learning
Lingjie Chen
Lingjie Chen
Computer Science, University of Illinois Urbana-Champaign
Trustworth LLMMechanistic Interpretability
Yanjun Zhao
Yanjun Zhao
UIUC
ml
Ke Yang
Ke Yang
University of Illinois at Urbana-Champaign
Natural Language ProcessingMachine Learning
Bingxuan Li
Bingxuan Li
UIUC
Cheng Qian
Cheng Qian
University of Illinois, Urbana-Champaign
Tool LearningAgent
G
Gaotang Li
University of Illinois Urbana-Champaign
Xiao Lin
Xiao Lin
Ph.D., University of Illinois Urbana-Champaign
Machine LearningGraph LearningTime Series Analysis
Zhichen Zeng
Zhichen Zeng
University of Illinois at Urbana-Champaign
Ruizhong Qiu
Ruizhong Qiu
University of Illinois Urbana-Champaign
Large Language ModelsOptimizationGraph Neural Networks
Sirui Chen
Sirui Chen
University of Illinois Urbana-Champaign
Reinforcement LearningInformation Retrieval
Y
Yifan Sun
University of Illinois Urbana-Champaign
Xiyuan Yang
Xiyuan Yang
UIUC
Trustworthy Machine Learning
R
Ruida Wang
University of Illinois Urbana-Champaign
Rui Pan
Rui Pan
UIUC; Meta
OptimizationAcceleration
Chenyuan Yang
Chenyuan Yang
University of Illinois Urbana-Champaign
System ReliabilityMachine Learning