paper-with-me

홈 › Papers

Failure as a Process: An Anatomy of CLI Coding Agent Trajectories

2026-07-10 · Xiangxin Zhao, Han Li, Shuaiting Li, Tianyi Zhao, Earl T. Barr, Federica Sarro, He Ye arxiv

Large language model (LLM) coding agents are increasingly deployed to autonomously perform software engineering tasks in terminal-based environments, making their reliability a growing concern. Existing empirical studies investigate why coding agents fail, yet they largely treat failure as a final outcome rather than a temporal process, providing limited insight into how failures emerge, evolve, and become unrecoverable. We present the first large-scale empirical study of CLI coding-agent failure trajectories, introducing a process-oriented framework that analyzes failure through its onset, evolution, and recovery across execution trajectories. We first collect 3,843 execution trajectories generated by seven frontier models across three coding-agent scaffolds (OpenHands, MiniSWE, and Terminus2) on Terminal-Bench, then carefully filter them to obtain 1,794 complete and valid trajectories for manual annotation (over 63,000 execution steps), from which we derive 14 findings spanning failure occurrence, root causes, recovery, and cross-system consistency. Our findings show that coding-agent failures are predominantly driven by epistemic errors, typically begin within the first few execution steps, and often remain hidden until recovery is no longer possible, suggesting that improving coding-agent reliability requires earlier validation and intervention rather than relying solely on final-outcome evaluation.

📄 PDF Abstract BibTeX arXiv:2607.09510

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectories

2026-06-05 · Marut Pandya, Kasey Zhang, Baiqing Lyu arxiv

LLM-based coding agents sometimes acknowledge a problem in their own reasoning and then proceed anyway. We call this pattern strained coherence: a safety-relevant failure mode in which an agent has information that shoul…

Wink: Recovering from Misbehaviors in Coding Agents

2026-02-19 · Rahul Nanda, Chandra Maddila, Smriti Jha, Euna Mehnaz Khan 외 arxiv

Autonomous coding agents, powered by large language models (LLMs), are increasingly being adopted in the software industry to automate complex engineering tasks. However, these agents are prone to a wide range of misbeha…

Prime Agent: A Self-Improving RLM Harness

2026-08-24 · Seth Karten, Alex L. Zhang, Kevin Thomas, Sebastian Müller 외 arxiv

Language models are sequential processors, but long-horizon agency requires external information and computation beyond model weights and active context. Prime Agent is an open-source harness for long-horizon evaluation …

AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systems

2026-05-09 · Boxuan Zhang, Jianing Zhu, Zeru Shi, Dongfang Liu 외 arxiv

LLM-based multi-agent systems are increasingly deployed on long-horizon tasks, but a single decisive error is often accepted by downstream agents and cascades into trajectory-level failure. Existing work frames this as \…

Reinforcement Learning

From Confident Closing to Silent Failure: Characterizing False Success in LLM Agents

2026-06-01 · Laksh Advani arxiv

LLM agents can fail silently by asserting task completion when the environment state shows otherwise. We study this failure mode, false success, across two agent benchmarks: 9,876 tau2-bench trajectories from 8 model fam…