arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10074cs.AI
收藏

StepFly: 用于事件诊断的代理自动化故障排查指南

StepFly: Agentic Troubleshooting Guide Automation for Incident Diagnosis

Tsinghua University(清华大学);Microsoft(微软);Microsoft Research(微软研究院);Renmin University of China(中国人民大学)

Jiayi Mao, Liqun Li, Yanjie Gao, Zegang Peng, Shilin He, Chaoyun Zhang, Si Qin, Samia Khalid, Qingwei Lin, Saravan Rajmohan, Sitaram Lanka, Dongmei Zhang

AI总结:

StepFly通过三阶段框架实现故障排查指南自动化,提升TSG质量并支持并行执行,实测在GPT-4.1上达到94%的成功率。

摘要:

大规模IT系统中的有效事件管理依赖于故障排查指南(TSGs),但其手动执行效率低且易出错。尽管近年来大语言模型(LLMs)的进步为自动化事件管理任务提供了可能,但现有基于LLM的解决方案缺乏对关键挑战的专门支持,包括管理TSG质量问题、解释复杂控制流、处理数据密集型查询以及利用执行并行性。我们首先对92个真实世界的TSGs进行了实证研究,并基于我们的发现,提出了StepFly,一种新型的端到端代理框架,用于故障排查指南自动化。我们的方法包括三个阶段的工作流程:第一阶段提供一个全面的指南和工具TSG Mentor,帮助站点可靠性工程师(SREs)改进TSG质量;第二阶段使用LLMs进行离线预处理,从非结构化的TSGs中提取结构化的执行有向无环图(DAGs)并创建专用的查询准备插件(QPPs);第三阶段使用DAG引导的调度器-执行器框架和内存系统进行在线执行,以确保正确的流程并支持独立步骤的并行执行。我们在真实世界的TSGs和事件集合上的实证评估表明,StepFly在GPT-4.1上实现了约94%的成功率,优于基线,消耗更少的时间和令牌。此外,它在可并行化的TSGs上实现了显著的执行时间减少,从32.9%到70.4%。我们的代码和示例数据可在https://github.com/microsoft/StepFly公开获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑