Manuscript Offprint

arXiv:2610.17418

Why Agentic Workflows Fail: A Taxonomy Derived from Literature and Empirical Data

Xin Li, Rami Bahsoon, Tao Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xin Li, Rami Bahsoon, and Tao Chen

School of Computer Science

University of Birmingham

Birmingham, United Kingdom

x.li.20@bham.ac.uk

Abstract—Agentic workflows combine large language models with planning, memory, tools, execution environments, and iterative feedback. Their failures are difficult to diagnose because the same user-visible symptom may originate from model behavior, workflow orchestration, external tools, infrastructure, or their interaction. This paper presents a source-aware taxonomy of agentic workflow failures and applies it to evidence from academic literature and GitHub. The taxonomy combines source attribution with three empirical dimensions: a concrete failure-type dictionary, workflow-stage localization, and agent-capability localization. Its central structure is a two-axis localization matrix: workflow stages form the horizontal process axis and agent capabilities form the vertical functional axis. This design moves beyond taxonomies that mainly classify final failure manifestations by localizing intermediate process states inside agent operation. Analysis of 397 literature-derived and 1,196 GitHub-derived failure records, followed by a separate temporal hold-out, shows that literature-derived failures emphasize planning, reasoning, learning, perception, and knowledge-related mechanisms, whereas GitHub-derived failures concentrate on execution-stage, actuation-related, tool, API, and infrastructure failures. The dominant hotspot in the collected GitHub evidence is iterative execution and actuation. These source-specific observations, which may also reflect reporting and observability differences, indicate that agentic workflow reliability should be treated as a systems problem rather than only a model-output problem. The taxonomy supports structured diagnosis and engineering triage, and motivates future research on evaluation, root cause analysis, and failure injection.

Index Terms—agentic workflow, LLM agent, failure taxonomy, empirical software engineering, GitHub mining, reliability

I. INTRODUCTION

Large language model (LLM) applications are increasingly organized as agentic workflows: systems in which an LLM interprets a goal, plans subtasks, invokes tools or external services, observes intermediate results, revises its behavior, and produces an outcome. Such workflows now appear in software engineering, web automation, data analysis, research assistance, and multi-agent collaboration. Prior work has studied foundation-model risks, LLM trustworthiness, and governance concerns [1]-[5]; tool-augmented and multi-agent architectures [6]-[12]; and benchmarks for web, software, operating-system, and tool-use agents [13]-[19]. These studies show that LLM agents can act beyond single-turn text generation, but they also expose new reliability problems: a failed workflow may result from goal misunderstanding, incomplete planning, wrong tool selection, invalid parameter binding, unsafe code execution, stale memory, poor recovery, or infrastructure changes outside the model.

Existing taxonomies only partially address this problem. Traditional defect and dependability taxonomies standardize how software anomalies are recorded and analyzed [20]–[22], while LLM risk taxonomies describe harms such as hallucination, bias, privacy leakage, misuse, and brittleness [2], [23]–[25]. However, agentic workflows combine model reasoning, prompts, memory, tools, execution environments, APIs, and human feedback. A single observed symptom may therefore cross responsibility boundaries: an agent may choose the wrong action, an external tool may fail, or the two may interact in a way that produces the failure. Existing work often identifies what went wrong, but not consistently where the failure occurred in the workflow, which capability was implicated, or whether the primary responsibility lies in the agent, the surrounding system, or their interaction.

This paper addresses this gap by developing and applying a source-aware taxonomy of agentic workflow failures. The taxonomy combines source attribution with three empirical analysis dimensions: (1) a dictionary of recurring failure mechanisms, (2) workflow-stage localization, and (3) agent-capability localization. The stage and capability dimensions can also be inspected jointly through a stage-capability matrix. The goal is not to replace existing software or LLM risk taxonomies, but to connect their insights to concrete failure episodes in multi-step agentic workflows. This structure allows the same failure record to be described by its responsibility boundary, mechanism, process location, and implicated capability.

We construct the taxonomy from 397 literature-derived failure records and refine and empirically apply it using 1,196 GitHub-derived failure episodes. This literature–GitHub comparison is central to the study design; observed differences are source-specific visibility patterns and need not imply differences in the underlying population prevalence of failures. Literature provides conceptual coverage of failures discussed in prior research, while GitHub provides engineering evidence from issues, pull requests, discussions, commits, and related artifacts. The formal research questions are introduced in Section V, where we align the empirical analysis with three taxonomy dimensions: failure type, workflow stage, and agent capability. We compare literature and GitHub evidence on each dimension and then integrate the results using the stage-capability matrix to identify cross-source failure hotspots. This paper makes three contributions:

• A source-aware taxonomy. We introduce a taxonomy for agentic workflow failures that combines responsibility attribution, failure type, workflow stage, and agent capability.

• A literature–GitHub empirical comparison. We apply the taxonomy to 397 literature-derived records and 1,196 GitHub-derived episodes, revealing source-specific visibility patterns rather than establishing differences in underlying failure prevalence.

• Evidence-based diagnostic insights. We localize the prominent S3 × D hotspot in public GitHub evidence, test the source contrast with clustered uncertainty estimates, and illustrate how source attribution can guide engineering triage. Failure injection and monitoring remain future applications.

The remainder of this paper is organized as follows. Section II reviews related work. Section III describes the methodology. Section IV presents the taxonomy. Section V reports the empirical results. Section VI discusses implications, Section VII summarizes threats to validity, and Section VIII concludes the paper and outlines future work.

References (43)