Code as Agent Harness
XNXuying NingKTKatherine Tieu…Pan Chen
This survey introduces a unified view that centers code as the operational substrate for AI agents, called code as agent harness. It organizes the agent infrastructure around three connected layers: the harness interface (code for reasoning, action, and environment modeling), harness mechanisms (planning, memory, tool use, feedback-driven control), and scaling to multi-agent settings (shared code artifacts for coordination and verification). The survey summarizes representative methods across these layers and practical applications spanning coding assistants, automation, embodied agents, and scientific discovery, while outlining open challenges for reliable, verifiable, and stateful agent systems.

arXiv ·
· May 18, 2026