コーディングエージェントの実行基盤を要素別に比較
An Empirical Study of Harness Design for Coding Agents
この論文をやさしく読む
ひとことで言うと
コーディングエージェントの実行基盤を計画、行動空間、コンテキスト管理に分け、部品ごとの効果を比較した実証研究です。
何に役立つ?
モデル能力とコンテキスト予算に応じて要約・省略・計画・ツールを選ぶ設計指針になります。二つのベンチマークで部品単位の比較を行えます。
この研究の面白いところ
4モデル・176設定を比較し、コンテキスト管理は予算が厳しいほど有効、規則ベース省略後のLLM要約が効率的と報告しました。計画は弱いモデルで精度、強いモデルでコストに効き、Bashに強いモデルはBashのみでも低コストでした。
どこまで分かった?
結果は固定ループ、4モデル、SWE-Bench VerifiedとTerminal-Benchに依存します。別タスクや予算、ツール構成で同じ効果が出るかは要旨からは分かりません。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
コーディングの実行基盤は、自律的なコーディングエージェントがモデルの能力を長期にわたるソフトウェア工学上の性能へどう変換するかを左右する。しかし、従来研究は通常、実行基盤を一体のシステムとして評価しており、個々の構成要素の有効性は明らかでない。 構成要素単位で比較できるよう、実行ループを固定し、計画、行動空間、コンテキスト管理の三要素を変える軽量な実行基盤で、この問題を調べる。SWE-Bench VerifiedとTerminal-Bench 2.1で評価する4種類のモデルを通じて、5種類のコンテキスト管理戦略、4段階のコンテキスト窓予算、計画と行動空間について狙いを絞った要素除去実験を含む、条件を対応させた176設定を評価する。 結果は次の通りである。(1)コンテキスト窓の予算が厳しくなるほどコンテキスト管理の価値が増し、その利点の大部分はコンテキスト超過による失敗の防止から得られる。(2)LLMによる要約の前に規則に基づく省略を行う方法は、コンテキスト管理戦略の中で総合的な効率が最も高い。一方、省略内容を復元可能にしても、モデルがほとんど使わない仕組みが増えるだけで、精度は改善しない。(3)計画は、能力の低いモデルでは精度を支える足場となるが、能力の高いモデルでは精度をほぼ変えずにコストを節約する役割へ変わる。(4)事前定義のツールはbashの扱いが不得手なモデルの性能を改善する一方、bashを使いこなすモデルはbashのみのインターフェースでも効果的に動作でき、とりわけコマンドライン中心の課題でコストを大幅に減らせる。 実行軌跡単位の解析が、これらの効果を説明する。コンテキスト管理はエージェントの行動を大きく変えずに実行軌跡を延長し、計画は軌跡がどこで止まるかを変え、行動空間はコードを書く粒度を変える。これらの知見は、モデルと予算を考慮した実行基盤の設計に役立ち、将来の構成要素を評価するためのモジュール式の枠組みを提供する。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-17(UTC)
- 最新改訂
- 2026-09-17 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-17 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
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.
著者のコメント
43 pages
arXiv ID: 2609.20804 / 要約の誤りについて