paper-with-me

Papers

An Empirical Study of Harness Design for Coding Agents

2026-09-17 · Run-Ze Fan, Zihao Zhang, Simin Ma, Yebowen Hu, Shouju Wang, Kaiqiang Song, Fei Liu, Hamed Zamani, Xiaoyang Wang hf

Coding harnesses shape how autonomous coding agents translate model capabilities into long-horizon software-engineering performance, yet existing work typically evaluates harnesses as monolithic systems, leaving the effectiveness of individual components unclear. To enable component-level comparisons, we study this question with a lightweight coding harness whose execution loop is fixed while three components are varied: planning, action space, and context management. Across four models evaluated on SWE-Bench Verified and Terminal-Bench 2.1, we evaluate 176 matched settings spanning five context-management strategies, four context-window budgets, and targeted ablations of planning and action space. We find that: (1) Context management becomes increasingly valuable as the context-window budget tightens, with most of its benefit coming from preventing context-overflow failures. (2) Staging rule-based elision before LLM-based summarization provides the strongest overall efficiency among the context-management strategies, whereas making elided content recoverable adds machinery that models rarely use and yields no accuracy gain. (3) Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger models, with little change in accuracy. (4) Predefined tools improve performance for models with weaker bash proficiency, whereas bash-capable models can operate effectively with a bash-only interface and achieve substantially lower cost, especially on command-line-centric tasks. Trajectory-level analysis explains these effects: context management extends execution trajectories without substantially altering agent behavior, planning changes where trajectories stop, and the action space changes the granularity at which code is written. These findings inform model- and budget-aware harness design and provide a modular framework for evaluating future harness components.

📄 PDF Abstract BibTeX arXiv:2609.20804

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

VeRO: A Harness for Agents to Optimize Agents

2026-02-25 · Varun Ursekar, Apaar Shanker, Veronica Chatrath, Yuan Xue 외 arxiv

An important emerging application of coding agents is agent harness optimization: the iterative improvement of a target agent by editing and evaluating its code. Despite its relevance, the community lacks a systematic un…

Recursive Agent Harnesses

2026-06-11 · Elias Lumer, Sahil Sen, Kevin Paul, Vamse Kumar Subbiah arxiv

Recursive language models (RLMs) showed that recursion over model calls is an effective strategy for long-context reasoning, and production coding agents have begun to write code that spawns subagents at scale, most rece…

ClayBuddy: A Framework, Evaluation, & Mitigation of Coding Agent Failures

2026-06-13 · Kenneth Ge, Andre Assis arxiv

Software engineering and deployment are increasingly delegated to AI coding agents. The scale of their adoption is surfacing rare, but highly destructive, failure modes. In this paper, we study these failure modes as ste…

openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agents

2026-08-28 · openJiuwen Team, Tao Yu, Xinyu Zhang, Qianqian Chen 외 arxiv

Long-horizon coding agents operate over evolving repository states while increasingly relying on heterogeneous capabilities, delegated agents, and multi-agent coordination. These trends pose two complementary challenges …

The Interplay of Harness Design and Post-Training in LLM Agents

2026-06-24 · Kyungmin Kim, Youngbin Choi, Seoyeon Lee, Suhyeon Jun 외 arxiv

Tool-integrated LLM agents are often wrapped within a harness: the scaffolding that determines which tools are exposed, how they are described, and what auxiliary information accompanies each per-step observation. While …