Metraipolis › archive › dc_d373133130f0
Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents — arXiv:2609.30725
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.30725
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T01:38:15.631Z
- SHA-256 of the archived text
49662acc1d69985c8864574a577e16555ffce47942707558e1150d7c868cf59e- Stable URL of this page
https://metraipolis.com/documento/dc_d373133130f0
How to cite
Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents — arXiv:2609.30725 — arXiv (en), https://arxiv.org/abs/2609.30725 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d373133130f0 (Metraipolis archive dc_d373133130f0, sha256 49662acc1d69985c8864574a577e16555ffce47942707558e1150d7c868cf59e)
BibTeX
@misc{dcd373133130f0,
title = {Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents — arXiv:2609.30725},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.30725},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d373133130f0; sha256 49662acc1d69985c8864574a577e16555ffce47942707558e1150d7c868cf59e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.30725. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Although effective, coding agents often incur substantial monetary costs. Their recurring cost-inefficient behaviors remain underexplored. We conduct the first study of behavioral cost inefficiencies in coding agents, analyzing 1,200 trajectories from Claude Code and Mini-SWE-Agent across four configurations on SWE-bench Verified. We identify three cost-inefficient behaviors: subsumed retrieval, similar script generation, and test re-execution. We then evaluate three mitigation strategies: structure-aware retrieval, agent-synthesized skills, and developer-designed skills, over 10k trajectories on held-out SWE-bench Verified and Pro tasks. Our main findings are: (1) The three behaviors affect 79.00%--98.00% of coding tasks and account for up to 22.75% of task cost. (2) Structure-aware retrieval can introduce retrieval overhead and alter agent delegation, causing inconsistent improvements in retrieval efficiency and cost increases of up to 28.14%. (3) Agent-synthesized skills tend to produce low-level, trace-specific guidance, limiting their effectiveness and generality. (4) In contrast, developer-designed skills provide high-level, trace-agnostic guidance, reducing cost by up to 41.73%, roughly twice the maximum gain from agent-synthesized skills. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-28 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.30725 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T01:12:14.268Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).