@rohanpaul_ai: This Meta + Stanford + Illinois survey paper argues that AI agents work better when code becomes their main working lay…
Summary
This survey paper from Meta, Stanford, and Illinois argues that AI agents perform better when code is used as their primary working layer, treating code as the environment for reasoning, action, and modeling. The authors introduce the concept of an 'agent harness' encompassing tools, memory, sandboxes, and feedback loops.
View Cached Full Text
Cached at: 05/26/26, 12:52 PM
This Meta + Stanford + Illinois survey paper argues that AI agents work better when code becomes their main working layer.
The problem is that an LLM by itself is mostly a text predictor, so long tasks can lose state, hide mistakes, and turn plans into actions in fragile ways.
The real advance is not “AI writes code,” but “AI uses code as the environment it thinks inside.”
The authors call the surrounding system an agent harness, meaning the tools, memory, sandboxes, checks, and feedback loops that turn a model into an agent.
Their core idea is that code should sit at the center of that harness, because code can be run, inspected, checked, saved, edited, and shared.
Tests become sensors.
Repositories become memory.
Logs become history.
Sandboxes become boundaries.
A generated script is no longer merely an answer; it is a handle the system can run, check, revise, share, and roll back.
The main finding is a pattern across many fields: code helps agents reason through executable steps, act through tool calls or control programs, and model environments through tests, traces, logs, repositories, and simulators.
Paper Link – arxiv. org/abs/2605.18747
Paper Title: “Code as Agent Harness”
Similar Articles
@AlphaSignalAI: https://x.com/AlphaSignalAI/status/2057153343081111582
A 100-page survey from UIUC, Meta, and Stanford introduces three harness layers (Interface, Mechanisms, Scaling) for AI agents, arguing that most agent failures stem from harness issues rather than reasoning flaws, and provides a taxonomy for auditing agent stacks.
Code as Agent Harness
This survey paper presents a unified view of code as the operational substrate for agent reasoning and execution in agentic systems, organizing the discussion around three layers: harness interface, mechanisms, and scaling.
@rohanpaul_ai: This paper shows that agent performance depends less on prompts alone and more on the harness around them. “Agent intel…
This paper argues that AI agent performance depends more on the harness (control layer) than on prompts alone, proposing natural-language agent harnesses to make design choices inspectable and portable.
@rohanpaul_ai: Meta's chief ai officer @alexandr_wang : "Internally at Meta, we have seen cases where, if you develop the right agenti…
Meta's chief AI officer Alexandr Wang claims that with the right agentic loop and evaluation system, a swarm of agents can outperform a team of 100 engineers, speaking at Y Combinator Startup School.
Your Agents Are Code. Stop Governing Them Like Documents.
Argues that AI agents in enterprises are composed of code artifacts like skills, tools, and MCP servers, so they should be governed like software code rather than as documents or approval lists, since agents are unstable while underlying skills are reusable and stable.