TL;DR
Nissist is an LLM-powered "copilot" designed to help cloud engineers mitigate high-severity service incidents faster. By transforming messy, unstructured troubleshooting guides (TSGs) into a structured knowledge base of executable actions, Nissist enables a multi-agent system to automate complex resolution steps, slashing the average Time to Mitigate (TTM) by over 90%.
What Problem Does This Paper Address?
In the world of massive cloud services like Microsoft Azure or AWS, system incidents are inevitable and expensive. While simple, repetitive issues are handled by automated scripts, high-severity "incidents" often require manual intervention from On-Call Engineers (OCEs).
To help, teams write Troubleshooting Guides (TSGs). However, these guides are often a mess: they are frequently unstructured, incomplete, outdated, or scattered across different team repositories. For a new engineer under the pressure of a live outage, navigating these documents is slow and error-prone, leading to "on-call fatigue" and prolonged service downtime. The authors set out to bridge the gap between static, messy documentation and active, automated incident resolution.
Methods
Nissist operates in two main phases: Offline Processing and Online Mitigation.
1. Building the Knowledge Base (Offline)
Instead of just performing a keyword search over documents, Nissist uses LLMs to parse unstructured TSGs into a structured format. It breaks guides down into discrete JSON nodes containing:
- Intent: What the step is trying to achieve (used for indexing).
- Action: The specific command or code block to run.
- Linker: Logic that connects the outcome of one action to the next step (e.g., "If the error is 404, go to Node B").
Crucially, it also uses an Enhancer module to pull fresh knowledge from historical incident chat logs, ensuring the system knows about recent fixes not yet documented in official TSGs.
2. The Multi-Agent System (Online)
When an incident occurs, Nissist acts as a semi-automated agent:
- Intent Interpreter: Clarifies what the engineer is trying to do.
- Node Retriever & Selector: Finds the most relevant executable nodes from the knowledge base.
- Action Planner: Formulates a step-by-step plan.
- Execution Engine: Runs automated tools (APIs, Kusto queries, etc.) and feeds the results back into the loop.
- Expert Model (Post-Processor): To prevent LLM hallucinations, a LLaMA2 model fine-tuned on Microsoft Cloud documentation reviews the plan to ensure it aligns with domain-specific best practices.
Datasets
The researchers evaluated Nissist using:
- Historical Analysis: A study of ~1,000 high-severity incidents from the past year at Microsoft to establish a baseline for how TSGs affect mitigation time.
- Expert Model Training: A corpus of Microsoft Cloud internal documentation used to fine-tune the LLaMA2-based "Expert Model."
- User Study: An evaluation involving 20 OCEs (ranging from new hires to veterans) tasked with resolving five real-world incident scenarios.
Key Insights and Ideas
- From Documents to Nodes: The "aha moment" is treating troubleshooting as a graph of executable nodes rather than a search problem. This allows Nissist to discover Cross-TSG flows—solutions that require jumping between guides written by different teams, something humans find very difficult during a crisis.
- The Power of the "Linker": By explicitly modeling the "if-then" logic found in TSGs, Nissist can handle branching paths in troubleshooting automatically.
- Semi-Automation is a Feature, Not a Bug: The system doesn't try to do everything. If a step is too risky or requires a human to physically check something, it delegates to the OCE. This "human-in-the-loop" approach ensures safety while still removing the bulk of the cognitive load.
Key Results
The user experiments yielded dramatic improvements over manual mitigation:
- Time to Mitigate (TTM): Reduced by 98.93% for simple incidents and 94.85% for hard incidents.
- Full Automation: Nissist was able to resolve 77.19% of simple incidents without any human intervention beyond the initial query.
- Reduced Effort: Even for "hard" incidents, human intervention was only required for about 15.79% of the total steps.
Limitations and Future Work
- Security Constraints: Some actions are intentionally left manual for security reasons (e.g., destructive operations). Future work could involve more granular permission sets for the AI.
- Scope Limits: If an incident is entirely new and not covered by any TSG or history, Nissist hits a wall. The authors suggest improving the system's ability to "fail gracefully" and provide better hand-offs to human experts.
- Code Availability: While a demo is available, the full code is currently listed as "work in progress" for public release.
Summary updated