StepFly: Agentic Troubleshooting Guide Automation for Incident Diagnosis
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Effective incident management in large-scale IT systems relies on troubleshooting guides (TSGs), but their manual execution is slow and error-prone. While recent advances in LLMs offer promise for automating incident management tasks, existing LLM-based solutions lack specialized support for several key challenges, including managing TSG quality issues, interpreting complex control flow, handling data-intensive queries, and exploiting execution parallelism. We first conducted an empirical study on 92 real-world TSGs, and, guided by our findings, we present StepFly, a novel end-to-end agentic framework for troubleshooting guide automation. Our approach features a three-stage workflow: the first stage provides a comprehensive guide together with a tool, TSG Mentor, to assist site reliability engineers (SREs) in improving TSG quality; the second stage performs offline preprocessing using LLMs to extract structured execution directed acyclic graphs (DAGs) from unstructured TSGs and to create dedicated Query Preparation Plugins (QPPs); and the third stage executes online using a DAG-guided scheduler-executor framework with a memory system to ensure correct workflow and support parallel execution of independent steps. Our empirical evaluation on a collection of real-world TSGs and incidents demonstrates that StepFly achieves a ~94% success rate on GPT-4.1, outperforming baselines with less time and token consumption. Furthermore, it achieves a remarkable execution time reduction of 32.9% to 70.4% for parallelizable TSGs. Our code and sample data are publicly available at https://github.com/microsoft/StepFly.
Key facts. Cited by 5 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 20 of its 48 references that are in the map. First posted on arXiv 11 Oct 2025.
Builds on
20 of 48 references.
Closest ancestors · 4
Same direction, newest first
- 2025Flow-of-Action: SOP Enhanced LLM-Based Multi-Agent System for Root Cause Analysis12 Feb
- 2024Exploring LLM-based Agents for Root Cause Analysis7 Mar
- 2024Executable Code Actions Elicit Better LLM Agents1 Feb
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 16
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2024Chain-of-Thought Reasoning Without Promptingcited by 208
- 2023TaskWeaver: A Code-First Agent Frameworkcited by 85
- 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
- 2025NL2SQL-BUGs: A Benchmark for Detecting Semantic Errors in NL2SQL Translationcited by 31
- 2023Xpert: Empowering Incident Management with Query Recommendations via Large Language Modelscited by 22
- 2023Assess and Summarize: Improve Outage Understanding with Large Language Modelscited by 17
- 2024Bridging Context Gaps: Leveraging Coreference Resolution for Long Contextual Understandingcited by 16
- 2021Groot: An Event-graph-based Approach for Root Cause Analysis in Industrial Settingscited by 15
4 more
- 2022AutoTSG: Learning and Synthesis for Incident Troubleshootingcited by 12
- 2024Nissist: An Incident Mitigation Copilot based on Troubleshooting Guidescited by 11
- 2024Cloud Atlas: Efficient Fault Localization for Cloud Systems using Language Models and Causal Insightcited by 11
- 2024NL2KQL: From Natural Language to Kusto Querycited by 3
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Cloud-OpsBench: A Reproducible Benchmark for Agentic Root Cause Analysis in Cloud Systemscited by 13
- 2026SREGym: A Live Benchmark for AI SRE Agents with High-Fidelity Failure Scenarioscited by 8
- 2026Tool-Making and Self-Evolving LLM Agents in Low-Latency Systemscited by 2
- 2026SR-Agent: An Experience-Driven Agentic Framework for Post-Ranking Strategy Refinement in E-Commerce Recommendationcited by 0
- 2026SRE-Marathon: A Continuous, Change-Driven Benchmark for Autonomous Site Reliability Agentscited by 0
- 2026SRE-Marathon: A Continuous, Change-Driven Benchmark for Autonomous Site Reliability Agents26 Sep 2026
- 2026SR-Agent: An Experience-Driven Agentic Framework for Post-Ranking Strategy Refinement in E-Commerce Recommendation20 Jul 2026
- 2026Tool-Making and Self-Evolving LLM Agents in Low-Latency Systems9 Jul 2026
- 2026SREGym: A Live Benchmark for AI SRE Agents with High-Fidelity Failure Scenarios8 May 2026
- 2026Cloud-OpsBench: A Reproducible Benchmark for Agentic Root Cause Analysis in Cloud Systems28 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
- 2025An Empirical Study on Failures in Automated Issue Solving
- 2026AgentEval: DAG-Structured Step-Level Evaluation for Agentic Workflows with Error Propagation Tracking
- 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
- 2026When Agentic Executions Fail: Detecting and Localizing Runtime Faults from Telemetry
- 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair
- 2026RAFT: A Stateful Retrieval-Augmented Framework for Troubleshooting Agents
- 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systems