# An Empirical Study of Harness Design for Coding Agents

- **ID:** 1070
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2609.20804
- **Authors:** Run-Ze Fan, Zihao Zhang, Simin Ma, Yebowen Hu, Shouju Wang, Kaiqiang Song, Fei Liu, Hamed Zamani, Xiaoyang Wang
- **Venue:** arXiv / UMass Amherst; Zoom; Emory University; UNC Charlotte
- **Publisher:** arXiv / UMass Amherst; Zoom; Emory University; UNC Charlotte
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** arXiv perpetual non-exclusive license 1.0
- **License family:** Other (auto-classified)
- **Tags:** coding-agents, harness-design, context-management, planning, action-space, swe-bench, terminal-bench, nemotron-3, mistral-medium-3.5, elision, summarization, zoom, umass, emory, unc-charlotte, gurtej-gill
- **Topics:** coding agents; harness design; context management; planning; action space; SWE-Bench; Terminal-Bench
- **Added:** 2026-09-26
- **Verified:** 2026-09-26
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/1070

## Summary

UMass Amherst / Zoom / Emory / UNC Charlotte (Fan & Zhang equal contrib.; Zoom internships; arXiv 2609.20804v1) fix a lightweight coding harness and vary planning, action space, and context management while holding the execution loop fixed. Across four models on SWE-Bench Verified and Terminal-Bench 2.1 they evaluate 176 matched settings (five CM strategies × 32k–128k windows plus planning-off and bash-only ablations). Context management gains grow as budgets tighten, mostly by preventing overflow; staging rule-based elision before LLM summarization is the strongest efficiency tradeoff, while recoverable elision adds unused machinery. Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger ones. Predefined tools help bash-weak models; bash-capable models often do fine (cheaper) with bash-only, especially on CLI tasks.

## Attributes

- **Purpose:** Ablate coding-agent harness components (planning, action space, context management) under matched settings to see when each helps
- **Scale:** 176 matched settings; 4 models (Nemotron-3 30B/120B/550B + Mistral Medium 3.5 128B); SWE-Bench Verified + Terminal-Bench 2.1; CM T0–T4 at 32k/64k/96k/128k; planning-off and bash-only ablations under T4/128k
- **Domain:** coding agents; harness design; context management; planning; action space; SWE-Bench; Terminal-Bench
- **Used for:** Model- and budget-aware coding-agent harness design; modular ablation framework for planning / tools / context management
- **Time period:** arXiv 2609.20804v1 published 2026-09-17; X https://x.com/gurtej__gill_/status/2103747422610735368 at 2026-09-26T07:24:05Z; cataloged 2026-09-26
- **Author type:** academia/industry (UMass Amherst; Emory; UNC Charlotte; Zoom)

## From the source (fetched 2026-10-03)

- **Published:** Sep 17, 2026 (arXiv)
- **arXiv categories:** cs.AI, cs.CL, cs.LG, cs.SE (arXiv)
- **Author comment:** 43 pages (arXiv)
- **Citations:** 1 (1 influential) (Semantic Scholar)
- **References:** 37 (Semantic Scholar)

## Abstract

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.

## Research notes

- Hudson user-fed 2026-09-26. X https://x.com/gurtej__gill_/status/2103747422610735368 (@gurtej__gill_ / Gill; created 2026-09-26T07:24:05.000Z). Truncated post mentions Coding Agent Harnesses + 176 experiments; t.co/M70LVO2uqv → photo/1 (no media ALT). Photo first page shows title + arXiv:2609.20804v1 [cs.AI] 17 Sep 2026. Conversation walk (4 replies) had no arXiv URL; resolved via photo + WebSearch. Dump /workspace/curator/research/coding-agent-harnesses-gurtej-2103747422610735368-20260926/ (NOTES.md, arxiv_api.xml, arxiv_abs.html, paper.pdf, photo.jpg). Dedup clean for 2609.20804 / title / status id / gurtej.

## Cites, within this collection

- [GLM-5: from Vibe Coding to Agentic Engineering](https://papers.projxon.ai/entries/532) (paper 2026, #532)

## Similar entries

- [AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents](https://papers.projxon.ai/entries/1211) (paper, #1211)
- [RRSI: Regularized Recursive Self-Improvement of Agent Harnesses](https://papers.projxon.ai/entries/1026) (paper, #1026)
- [Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine](https://papers.projxon.ai/entries/539) (paper, #539)
- [Composer 2 Technical Report](https://papers.projxon.ai/entries/1108) (paper, #1108)
- [Bootstrapping Composer with autoinstall](https://papers.projxon.ai/entries/1102) (post, #1102)
- [Mixture of Self-Improving Branches For Agent Harness Optimization](https://papers.projxon.ai/entries/1193) (paper, #1193)
