Flow-of-Action: SOP Enhanced LLM-Based Multi-Agent System for Root Cause Analysis

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pei, Changhua, Wang, Zexin, Liu, Fengrui, Li, Zeyan, Liu, Yang, He, Xiao, Kang, Rong, Zhang, Tieying, Chen, Jianjun, Li, Jianhui, Xie, Gaogang, Pei, Dan
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916610080505856
author Pei, Changhua
Wang, Zexin
Liu, Fengrui
Li, Zeyan
Liu, Yang
He, Xiao
Kang, Rong
Zhang, Tieying
Chen, Jianjun
Li, Jianhui
Xie, Gaogang
Pei, Dan
author_facet Pei, Changhua
Wang, Zexin
Liu, Fengrui
Li, Zeyan
Liu, Yang
He, Xiao
Kang, Rong
Zhang, Tieying
Chen, Jianjun
Li, Jianhui
Xie, Gaogang
Pei, Dan
contents In the realm of microservices architecture, the occurrence of frequent incidents necessitates the employment of Root Cause Analysis (RCA) for swift issue resolution. It is common that a serious incident can take several domain experts hours to identify the root cause. Consequently, a contemporary trend involves harnessing Large Language Models (LLMs) as automated agents for RCA. Though the recent ReAct framework aligns well with the Site Reliability Engineers (SREs) for its thought-action-observation paradigm, its hallucinations often lead to irrelevant actions and directly affect subsequent results. Additionally, the complex and variable clues of the incident can overwhelm the model one step further. To confront these challenges, we propose Flow-of-Action, a pioneering Standard Operation Procedure (SOP) enhanced LLM-based multi-agent system. By explicitly summarizing the diagnosis steps of SREs, SOP imposes constraints on LLMs at crucial junctures, guiding the RCA process towards the correct trajectory. To facilitate the rational and effective utilization of SOPs, we design an SOP-centric framework called SOP flow. SOP flow contains a series of tools, including one for finding relevant SOPs for incidents, another for automatically generating SOPs for incidents without relevant ones, and a tool for converting SOPs into code. This significantly alleviates the hallucination issues of ReAct in RCA tasks. We also design multiple auxiliary agents to assist the main agent by removing useless noise, narrowing the search space, and informing the main agent whether the RCA procedure can stop. Compared to the ReAct method's 35.50% accuracy, our Flow-of-Action method achieves 64.01%, meeting the accuracy requirements for RCA in real-world systems.
format Preprint
id arxiv_https___arxiv_org_abs_2502_08224
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Flow-of-Action: SOP Enhanced LLM-Based Multi-Agent System for Root Cause Analysis
Pei, Changhua
Wang, Zexin
Liu, Fengrui
Li, Zeyan
Liu, Yang
He, Xiao
Kang, Rong
Zhang, Tieying
Chen, Jianjun
Li, Jianhui
Xie, Gaogang
Pei, Dan
Software Engineering
D.2.5
In the realm of microservices architecture, the occurrence of frequent incidents necessitates the employment of Root Cause Analysis (RCA) for swift issue resolution. It is common that a serious incident can take several domain experts hours to identify the root cause. Consequently, a contemporary trend involves harnessing Large Language Models (LLMs) as automated agents for RCA. Though the recent ReAct framework aligns well with the Site Reliability Engineers (SREs) for its thought-action-observation paradigm, its hallucinations often lead to irrelevant actions and directly affect subsequent results. Additionally, the complex and variable clues of the incident can overwhelm the model one step further. To confront these challenges, we propose Flow-of-Action, a pioneering Standard Operation Procedure (SOP) enhanced LLM-based multi-agent system. By explicitly summarizing the diagnosis steps of SREs, SOP imposes constraints on LLMs at crucial junctures, guiding the RCA process towards the correct trajectory. To facilitate the rational and effective utilization of SOPs, we design an SOP-centric framework called SOP flow. SOP flow contains a series of tools, including one for finding relevant SOPs for incidents, another for automatically generating SOPs for incidents without relevant ones, and a tool for converting SOPs into code. This significantly alleviates the hallucination issues of ReAct in RCA tasks. We also design multiple auxiliary agents to assist the main agent by removing useless noise, narrowing the search space, and informing the main agent whether the RCA procedure can stop. Compared to the ReAct method's 35.50% accuracy, our Flow-of-Action method achieves 64.01%, meeting the accuracy requirements for RCA in real-world systems.
title Flow-of-Action: SOP Enhanced LLM-Based Multi-Agent System for Root Cause Analysis
topic Software Engineering
D.2.5
url https://arxiv.org/abs/2502.08224