Human-in-the-Loop Runbook Improvement with Agentic Support Automation

Rocker D'Antonio, Harry XiearXiv 2026 · DOI

It’s late, your eyes are heavy, and somewhere in a data center far away, a server just decided to stop cooperating. You reach for the "runbook"—that digital manual that’s supposed to tell you how to fix this—only to find it hasn't been updated since the last solar eclipse. This is the "documentation rot" that plagues every engineering team.

In their paper, Human-in-the-Loop Runbook Improvement with Agentic Support Automation, Rocker D’Antonio and Harry Xie from Amazon Web Services propose a way to turn that late-night frustration into a self-healing system.

TL;DR

The authors built an AI "copilot" that doesn't just help engineers triage production outages in real-time; it performs a "post-game" audit of every incident. By comparing what an engineer actually did to what the manual said, the AI automatically suggests specific updates to the documentation, ensuring the runbook evolves as fast as the software it describes.

What Problem Does This Paper Address?

Software is messy, and "incidents" (when things break) are inevitable. To handle these, teams use runbooks: step-by-step guides for triage and remediation. However, runbooks are notoriously difficult to keep up-to-date. They are often too vague, missing crucial steps, or completely silent on new types of failures.

While automation can help, it often lacks the "fuzzy judgment" a human operator brings to a crisis. The authors tackle the gap between rigid automation and fallible human memory, aiming to reduce the Mean Time to Resolve (MTTR) while simultaneously fixing the underlying problem of incomplete documentation.

Methods

The researchers implemented a system based on Agentic AI. Unlike a standard chatbot, an "agent" has agency—it can use tools, query logs, and follow a multi-step reasoning process.

The architecture is layered:

  • Retrieval-Augmented Generation (RAG): The system "reads" the entire corpus of existing runbooks to understand the established procedures.
  • The Orchestrator: Using Claude Sonnet 3.7, a supervisor agent coordinates specialized sub-agents (like a log inspector or a metric query tool) to analyze incoming tickets.
  • The "Gap-Audit" Loop: This is the novel bit. When a ticket is closed, a second agent compares the initial AI assessment, the documented runbook steps, and the actual actions taken by the human. If the human had to "improvise" a fix not found in the manual, the AI identifies this as a gap and suggests a concrete edit to the runbook.
Fig. 1: Agent Flow Implementation Details

Datasets

This wasn't a laboratory simulation. The authors conducted a 17-week production study involving:

  • 232 production incidents (a mix of automated system alarms and manual customer reports).
  • 8 on-call engineers rotating weekly.
  • A live documentation repository (Markdown files) used by a real online data reporting service.

Key Insights and Ideas

  • Speed over Super-Intelligence: The AI’s primary value wasn't that it was "smarter" than the engineers, but that it was significantly faster. It could gather logs and suggest the right runbook page in seconds, allowing humans to focus on high-stakes decision-making.
  • Documentation as Code: By treating runbooks like source code (stored in Git with Pull Requests), the AI could suggest edits that humans could easily review and merge.
  • The Confidence Signal: Interestingly, even when the AI found no gaps in the documentation, it was still useful. It served as a "green light" for the operator, confirming that the existing manual was solid and comprehensive.
  • Explainability: Because the AI uses the runbook as its primary medium, its suggestions are inherently explainable. It’s not a "black box" making decisions; it’s a digital assistant pointing at a specific paragraph in the manual.

Key Results

The study showed a clear positive trend in operational efficiency:

  • MTTR Reduction: After an initial learning period (about 3 weeks), the Mean Time to Resolve incidents trended downward significantly for both system alarms and customer tickets.
  • Operational Footprint: The median time for the agent to provide its first helpful comment was just 36 seconds, with a mean cost of only $0.012 per incident.
  • Continuous Improvement: The system successfully drove a steady increase in documentation volume and specificity without overwhelming the team with "spammy" update requests.
Fig. 2: P1 MTTR between Alarm and Customer Tickets

Limitations and Future Work

The authors are refreshingly honest about the hurdles:

  • Hallucinations: The AI occasionally suggested checking log files that didn't actually exist. This reinforces why the "human-in-the-loop" is critical—a human must still verify the AI's homework.
  • Novelty: If a root cause was entirely new (e.g., a "black swan" event), the AI struggled because it had no prior documentation to reference.
  • Maintenance Bloat: There is a risk that over years, runbooks could become "bloated" with too many AI-suggested edge cases. Future work may involve agents that can "prune" or archive obsolete information.

In the end, the paper suggests that the future of DevOps isn't replacing the human on-call engineer, but giving them a partner that never sleeps and actually enjoys updating the documentation.

Summary updated

BibTeX
@misc{dantonio2026human,
  author = {Rocker D'Antonio and Harry Xie},
  title = {{Human-in-the-Loop Runbook Improvement with Agentic Support Automation}},
  year = {2026},
  eprint = {2611.28441},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28441},
}
Figure