Why Agentic Workflows Fail: A Taxonomy Derived from Literature and Empirical Data
Organizations: School of Computer Science, University of Birmingham, Birmingham, United Kingdom
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. Our empirical comparison 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 is iterative execution and actuation. These findings indicate that agentic workflow reliability should be treated as a systems problem rather than only a model-output problem. The taxonomy provides a basis for structured evaluation, root cause analysis, failure injection, and engineering triage.
Figures & tables
| Protocol item | Specification |
|---|---|
| Databases and expansion | IEEE Xplore, ACM Digital Library, and arXiv; backward and forward snowballing from relevant studies. |
| Search string | ( agent OR agentic OR LLM agent OR autonomous agent OR tool-use agent OR multi-agent OR workflow orchestration OR reflection ) AND ( failure OR fault OR error OR bug OR breakdown OR invalid output ). |
| Inclusion criteria | I1: studies or evaluates an agentic, tool-using, or multi-agent workflow; I2: reports failure phenomena, causes, symptoms, error patterns, or evaluation breakdowns; I3: provides evidence concrete enough to extract at least one failure episode. |
| Exclusion criteria | E1: traditional software defects without agentic workflow behavior; E2: pure model risks without workflow or tool-use context; E3: method-only papers with no identifiable failure evidence; E4: duplicate or superseded versions; E5: inaccessible full text. |
| Screening procedure | Title/abstract screening followed by full-text screening. Ambiguous records were retained until full-text inspection to avoid premature exclusion. |
| Dataset | Source | Stage | Cap. | Type | |
|---|---|---|---|---|---|
| GitHub | 150 | 0.71 | 0.69 | 0.67 | 0.65 |
| Literature | 80 | 0.79 | 0.61 | 0.63 | 0.72 |
| Control | Implementation |
|---|---|
| Source attribution | Classify each episode as Agentic, Non-Agentic, or Mixed according to whether the primary responsibility lies in agent behavior, external conditions, or their interaction. |
| Failure-type coding | Select the most specific dictionary type supported by evidence; use general labels only when finer attribution is unsupported. |
| Matrix localization | Map each episode to one workflow stage and one agent capability to capture its intermediate process state. |
| Tool support | Use fuzzy keyword matching, dictionary matching, regular expressions, and structured LLM suggestions only as candidate labels; final statistics use adjudicated labels. |
| Reliability check | Report full-dataset human–LLM agreement as auxiliary evidence and independent human–human checks on 150 GitHub failures and 80 literature records (with 50 additional non-failure steps reviewed). |
| Decision point | Rule | Example consequence |
|---|---|---|
| Earliest responsible stage | Prefer the evidenced stage where the defect was introduced; otherwise use its first observable manifestation, not merely the final user-visible symptom. | Goal misunderstanding leading to wrong output is S1; wrong final synthesis after correct work is S4. |
| Stage boundary | Separate task understanding (S1), planning-time choices (S2), runtime action/feedback/recovery (S3), and final response construction (S4). | Bad tool choice in a plan is S2; correct tool with malformed runtime arguments is S3. |
| Capability boundary | Separate decisions and inferences from concrete actions, and separate knowledge/memory from monitoring and recovery. | Wrong algorithm choice is C; malformed shell command is D; context loss is B; repeated failed retry is E. |
| Source attribution | Use Agentic for avoidable agent behavior, Non-Agentic for external conditions outside direct control, and Mixed only when both sides materially contribute or evidence is underdetermined. | API outage is Non-Agentic; wrong arguments are Agentic; malformed tool response plus no validation is Mixed. |
| Specificity | Use the most specific supported failure type; use AF00, NF00, or MF00 only when the source is clear but evidence does not support a finer subtype. | Revisit general labels when logs, comments, or fixes reveal a concrete mechanism. |
| GitHub-dominant types Failure type Lit.% GH% Gap External API/Tool Failure (NF03) 2.8 26.3 +23.6 Tool Misuse Failure (AF05) 2.8 14.9 +12.1 Non-Agentic Failure (General, NF00) 0.5 6.4 +5.9 Input Formatting Failure (NF14) 0.0 5.4 +5.4 Unsafe Code Execution (AF25) 0.5 5.2 +4.7 Constraint Modeling Failure (AF06) 3.5 5.9 +2.3 | Literature-dominant types Failure type Lit.% GH% Gap Perception Interpretation Failure (AF31) 8.6 1.0 -7.6 Planning Failure (AF03) 8.1 0.7 -7.4 Generalization Failure (NF17) 4.3 0.1 -4.2 Plan–Execution Mismatch (AF04) 4.3 1.0 -3.3 Knowledge Acquisition Failure (AF13) 5.3 2.4 -2.9 Knowledge Representation (AF14) 3.8 1.0 -2.8 |
Agent Failure Analysis
Agent failure analysis studies how and why AI agents make errors, traces causes through execution, and helps detect or prevent recurrence.
See all 153 papers