mlsanityData to 7 Oct 2026

StepFly: Agentic Troubleshooting Guide Automation for Incident Diagnosis

arXiv 2510.10074 ↗First posted 11 Oct 2025cs.AIcited by 5

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

  1. 2025Flow-of-Action: SOP Enhanced LLM-Based Multi-Agent System for Root Cause Analysis12 Feb
  2. 2024Exploring LLM-based Agents for Root Cause Analysis7 Mar
  3. 2024Executable Code Actions Elicit Better LLM Agents1 Feb
  4. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 16

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  3. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  4. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
  5. 2024Chain-of-Thought Reasoning Without Promptingcited by 208
  6. 2023TaskWeaver: A Code-First Agent Frameworkcited by 85
  7. 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
  8. 2025NL2SQL-BUGs: A Benchmark for Detecting Semantic Errors in NL2SQL Translationcited by 31
  9. 2023Xpert: Empowering Incident Management with Query Recommendations via Large Language Modelscited by 22
  10. 2023Assess and Summarize: Improve Outage Understanding with Large Language Modelscited by 17
  11. 2024Bridging Context Gaps: Leveraging Coreference Resolution for Long Contextual Understandingcited by 16
  12. 2021Groot: An Event-graph-based Approach for Root Cause Analysis in Industrial Settingscited by 15
4 more
  1. 2022AutoTSG: Learning and Synthesis for Incident Troubleshootingcited by 12
  2. 2024Nissist: An Incident Mitigation Copilot based on Troubleshooting Guidescited by 11
  3. 2024Cloud Atlas: Efficient Fault Localization for Cloud Systems using Language Models and Causal Insightcited by 11
  4. 2024NL2KQL: From Natural Language to Kusto Querycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
  2. 2025An Empirical Study on Failures in Automated Issue Solving
  3. 2026AgentEval: DAG-Structured Step-Level Evaluation for Agentic Workflows with Error Propagation Tracking
  4. 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
  5. 2026When Agentic Executions Fail: Detecting and Localizing Runtime Faults from Telemetry
  6. 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair
  7. 2026RAFT: A Stateful Retrieval-Augmented Framework for Troubleshooting Agents
  8. 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systems