MicroRemed: Benchmarking LLMs in Microservices Remediation
Lingzhe Zhang, Yunpeng Zhai, Tong Jia, Chiming Duan, Minghua He, Leyi Pan, Zhaoyang Liu, Bolin Ding, Ying Li
TL;DR
MicroRemed introduces the first end-to-end benchmark for LLM-based microservice remediation, requiring models to generate executable Ansible playbooks directly from diagnosis reports to recover real microservice systems. It couples a dynamic failure-injection pipeline with three systems and nine LLMs, and proposes ThinkRemed, a four-agent, SRE-inspired framework that iteratively probes, reasons, executes, and verifies remediation actions. Experimental results show substantial challenges for current LLMs, with ThinkRemed delivering about a 7% accuracy improvement over one-shot baselines, especially on complex failure types, albeit at higher latency and token costs. The work demonstrates the potential and practicality of automated, LLM-driven microservice remediation while outlining limitations and avenues for refinement, such as adaptive probing and more efficient reflection strategies.
Abstract
Large Language Models (LLMs) integrated with agent-based reasoning frameworks have recently shown strong potential for autonomous decision-making and system-level operations. One promising yet underexplored direction is microservice remediation, where the goal is to automatically recover faulty microservice systems. Existing approaches, however, still rely on human-crafted prompts from Site Reliability Engineers (SREs), with LLMs merely converting textual instructions into executable code. To advance research in this area, we introduce MicroRemed, the first benchmark for evaluating LLMs in end-to-end microservice remediation, where models must directly generate executable Ansible playbooks from diagnosis reports to restore system functionality. We further propose ThinkRemed, a multi-agent framework that emulates the reflective and perceptive reasoning of SREs. Experimental results show that MicroRemed presents substantial challenges to current LLMs, while ThinkRemed improves end-to-end remediation performance through iterative reasoning and system reflection. The benchmark is available at https://github.com/LLM4AIOps/MicroRemed.
