mlsanityData to 7 Oct 2026

Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure

arXiv 2604.02547 ↗First posted 2 Apr 2026cs.SEcited by 9

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Coding agents represent a new paradigm in automated software engineering, combining the reasoning capabilities of Large Language Models (LLMs) with tool-augmented interaction loops. However, coding agents still have severe limitations. Top-ranked LLM-based coding agents still fail on over 20% of benchmarked problems. Yet, we lack a systematic understanding of why (i.e., the causes) agents fail, and how failure unfolds behaviorally. We present a large-scale empirical study analyzing 9,374 trajectories from 19 agents (8 coding agent frameworks, 14 LLMs) on 500 tasks. We organize our analysis around three research questions. First, we investigate why agents fail on specific tasks and find that patch complexity alone does not explain difficulty: 12 never-solved tasks require only simple patches and were considered easy by human annotators, yet all agents fail due to gaps in architectural reasoning and domain knowledge. Second, we examine how behavioral patterns differentiate success from failure. The widely reported correlation between trajectory length and failure reverses direction once task difficulty is controlled, revealing it as a confound. Instead, trajectory structure discriminates consistently: agents that gather context before editing and invest in validation succeed more often, and these strategies are agent-determined rather than task-adaptive. Third, we disentangle LLM capability from framework design and find that the LLM is the primary driver of both outcome and behavior: agents sharing the same LLM agree on far more tasks than agents sharing the same framework, and the framework performance gap shrinks with each generation of LLM improvement. Framework prompts do influence agent tactics, but this influence diminishes with stronger LLMs.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 16 of its 33 references that are in the map. First posted on arXiv 2 Apr 2026.

Builds on

16 of 33 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb
  2. 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun

Other references · 14

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  3. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
  4. 2024A Survey on Large Language Models for Code Generationcited by 646
  5. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  6. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
  7. 2024ProSA: Assessing and Understanding the Prompt Sensitivity of LLMscited by 145
  8. 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agentscited by 35
  9. 2025Understanding Code Agent Behaviour: An Empirical Study of Success and Failure Trajectoriescited by 30
  10. 2025Process-Centric Analysis of Agentic Software Systemscited by 24
  11. 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
  12. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
2 more
  1. 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
  2. 2025Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systemscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures
  2. 2026Latent Programming Horizons in Coding Agents
  3. 2026Confident and Wrong: Silent Semantic Failures in Coding Agents
  4. 2026Agent psychometrics: Task-level performance prediction in agentic coding benchmarks
  5. 2025Where LLM Agents Fail and How They can Learn From Failures
  6. 2026How Coding Agents Fail Their Users: A Large-Scale Analysis of Developer-Agent Misalignment in 20,574 Real-World Sessions
  7. 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks
  8. 2026CodeCompass: Navigating the Navigation Paradox in Agentic Code Intelligence