mlsanityData to 7 Oct 2026

SHIELDA: Structured Handling of Exceptions in LLM-Driven Agentic Workflows

arXiv 2508.07935 ↗First posted 11 Aug 2025cs.SEcited by 12

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large Language Model (LLM) agentic systems are software systems powered by LLMs that autonomously reason, plan, and execute multi-step workflows to achieve human goals, rather than merely executing predefined steps. During execution, these workflows frequently encounter exceptions. Existing exception handling solutions often treat exceptions superficially, failing to trace execution-phase exceptions to their reasoning-phase root causes. Furthermore, their recovery logic is brittle, lacking structured escalation pathways when initial attempts fail. To tackle these challenges, we first present a comprehensive taxonomy of 36 exception types across 12 agent artifacts. Building on this, we propose SHIELDA (Structured Handling of Exceptions in LLM-Driven Agentic Workflows), a modular runtime exception handling framework for LLM agentic workflows. SHIELDA uses an exception classifier to select a predefined exception handling pattern from a handling pattern registry. These patterns are then executed via a structured handling executor, comprising local handling, flow control, and state recovery, to enable phase-aware recovery by linking exceptions to their root causes and facilitating composable strategies. We validate SHIELDA's effectiveness through a case study on the AutoPR agent, demonstrating effective, cross-phase recovery from a reasoning-induced exception.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 38 of its 53 references that are in the map. First posted on arXiv 11 Aug 2025.

Builds on

38 of 53 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
  2. 2025LogiAgent: Automated Logical Testing for REST Systems with LLM-Based Multi-Agents19 Mar
  3. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  4. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future5 Aug
  5. 2024Towards Agentic Runtime Healing2 Aug
  6. 2023RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models25 Oct

Other references · 32

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
  5. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
  6. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
  7. 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
  8. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 476
  9. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 402
  10. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
  11. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
  12. 2024Knowledge Conflicts for LLMs: A Surveycited by 274
20 more
  1. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 257
  2. 2024Windows Agent Arena: Evaluating Multi-Modal OS Agents at Scalecited by 212
  3. 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 153
  4. 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systemscited by 126
  5. 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behaviorcited by 95
  6. 2025Agent-R: Training Language Model Agents to Reflect via Iterative Self-Trainingcited by 74
  7. 2024AvaTaR: Optimizing LLM Agents for Tool Usage via Contrastive Reasoningcited by 69
  8. 2025SHADE-Arena: Evaluating Sabotage and Monitoring in LLM Agentscited by 58
  9. 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agentscited by 56
  10. 2024A Survey on LLM-based Multi-Agent System: Recent Advances and New Frontiers in Applicationcited by 54
  11. 2024KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checkingcited by 26
  12. 2024Tools Fail: Detecting Silent Errors in Faulty Toolscited by 23
  13. 2024Triad: A Framework Leveraging a Multi-Role LLM-based Agent to Solve Knowledge Base Question Answeringcited by 18
  14. 2024Asynchronous LLM Function Callingcited by 18
  15. 2025ToolFuzz -- Automated Agent Tool Testingcited by 18
  16. 2024Automating the Enterprise with Foundation Modelscited by 14
  17. 2023Towards Responsible Generative AI: A Reference Architecture for Designing Foundation Model based Agentscited by 13
  18. 2024OneKE: A Dockerized Schema-Guided LLM Agent-based Knowledge Extraction Systemcited by 8
  19. 2024Human-Centered LLM-Agent User Interface: A Position Papercited by 3
  20. 2025Identifying and Mitigating API Misuse in Large Language Modelscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 6.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Seeker: Towards Exception Safety Code Generation with Intermediate Language Agents Framework
  2. 2024Towards Exception Safety Code Generation with Intermediate Representation Agents Framework
  3. 2026When Agentic Executions Fail: Detecting and Localizing Runtime Faults from Telemetry
  4. 2026Observability and Fault Injection for LLM-Based Multi-Agent Systems in Software Engineering
  5. 2026Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM Workflows
  6. 2025TRAIL: Trace Reasoning and Agentic Issue Localization
  7. 2025AgentCompass: Towards Reliable Evaluation of Agentic Workflows in Production
  8. 2026LLM-as-Code: Agentic Programming for Agent Harness