File 2605.18747, filed 18 May 2026, section: Agents & harnesses
Code as Agent Harness
Xuying Ning, Katherine Tieu, Dongqi Fu, Tianxin Wei, Zihao Li, Yuanchen Bei, Jiaru Zou, Mengting Ai et al.
In brief
Argues that code is the core interface of an agent harness: how agents reason, act, model their environment, remember and verify.
Why builders should care
A strong mental model: when in doubt, let the agent work through code.
How to apply it
- 1.Where possible, give agents code-executable tools and checks instead of free-text actions.
Key results
Quoted from the abstract- 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.