cd /news/artificial-intelligence/how-databricks-uses-ai-to-accelerate… · home topics artificial-intelligence article
[ARTICLE · art-108994] src=databricks.com ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

How Databricks Uses AI to Accelerate Incident Investigation

Databricks has built AI SRE, an AI-powered debugging agent that automatically investigates incidents across its 1500+ Kubernetes clusters, 70+ regions, and three clouds, correlating signals from platform health checks, service-level analysis, and runbook execution to help on-call engineers reach root cause faster. The agent, developed after observing debugging patterns across dozens of teams, runs three parallel investigation tracks when an incident fires, providing an initial assessment before the engineer even opens their laptop.

read9 min views2 publishedAug 24, 2026
How Databricks Uses AI to Accelerate Incident Investigation
Image: Databricks Blog

Lessons from building AI debugging agents that assemble context, execute runbooks, and help on-call engineers reach root cause faster.

by Avijeet Gupta, Bhuban Seth and Kusum Madarasu In our previous blog post, we shared how Databricks uses AI to debug thousands of databases. Here, we continue that story by exploring how our engineers use AI to operate 100s of microservices across 1500+ Kubernetes clusters, spanning 70+ regions and three clouds.

When something breaks at 2 AM, the on-call engineer needs to answer one question quickly: What changed?

AI SRE is an AI-powered debugging agent that begins investigating as soon as an incident fires. It correlates signals from across our stack and guides engineers through root cause analysis.

In this post, we describe the debugging journey that shaped AI SRE, the architecture behind it, and the engineering principles we followed to make an LLM-powered system trustworthy during incidents.

Picture a typical on-call page. A latency spike hits a customer-facing API. The engineer wakes up and starts the familiar drill:

Each of these workflows work fine in isolation, but the debugging workflow i.e. the act of connecting signals across them lives entirely in the engineer's mind. Experienced engineers could do it in a few minutes because they'd seen the pattern before. Newer engineers might spend hours, or escalate to someone.

The tools were not the primary problem. The burden of connecting their signals fell on the on-call engineer working against an SLA.

We didn't start by building an agent. We started by observing people debug.

Over several weeks, we interviewed on-call engineers across dozens of teams to map their debugging journeys end-to-end. We read postmortems and investigation docs. We asked a simple question: where do you spend your time, and where do you get stuck?

Three patterns emerged consistently:

Once we recognized debugging as a sequence of repeatable investigative steps followed by expert judgment, it became clear that AI agents could accelerate the work. But no single team could build an agent that understood every service, signal, and failure mode. We needed a shared platform that handled the common building blocks like gathering context, executing tools and runbooks, and correlating evidence, while allowing teams to extend it with their own operational knowledge. The question shifted from Can we automate debugging? to How do we give every team an AI-powered platform for faster, informed diagnosis and resolution?

AI SRE supports two complementary experiences: automatic triage, which begins when an incident fires, and interactive investigation, which lets on-call engineers explore hypotheses and request additional evidence.

When an incident fires, AI SRE kicks off immediately before the engineer has even opened their laptop. It launches three investigation tracks in parallel, gathering complementary evidence to produce an initial assessment:

Platform health checks assess the environment the service is running in.

This alone eliminates a large class of red herrings so an engineer no longer spends 30 minutes debugging their application code only to discover the root cause was a large-scale infrastructure issue.

Service-level analysis pulls the relevant logs, metrics, and traces for the affected service and its immediate dependencies. It examines recent deployments and configuration changes. It identifies anomalies relative to the service's baseline behavior, not just "CPU is high," but "CPU spiked 3x at 2:47 AM, coinciding with a deployment that changed the batch size in the processing pipeline."

Runbook execution is where AI SRE assumes a team-specific persona. Teams encode their debugging procedures like the checks a domain expert would run, the thresholds they'd look for, the mitigation steps they'd take. Teams can convert their existing runbooks into agentic runbooks using skills. These skills draw on the codebase, observability data, and past incident history to make runbooks more accurate and context-aware. It then executes these steps on behalf of the on-call engineer, performing the same investigation a domain expert would, but in seconds rather than minutes.

By the time the engineer reads the incident details for the first time, AI SRE has already assembled a rich diagnostic summary: here's what broke, here's what changed, and here's what your team's runbook says to check, all signals, correlation and next steps in a single view.

Not every investigation ends with auto-triage. Sometimes the root cause is subtle, or the engineer wants to explore a hypothesis. The AI SRE UI provides an interactive debugging environment where engineers can ask follow-up questions in natural language, request additional signals, and drill into specific time windows or components.

This is where the combination of structured health checks and conversational AI becomes powerful. An engineer might ask, "Was there anything unusual about the Kafka consumer lag in the 10 minutes before this alert?" AI SRE fetches the relevant metrics, overlays them against the incident timeline, and explains what it finds.

Our core insight from the customer interviews was that debugging isn't one problem, it's a stack of problems, and solving them requires deliberate abstractions. We designed AI SRE as a layered platform, where each layer has a clear responsibility and the layers above it can focus on increasingly higher-level concerns.

Primitives form the foundation: the raw operational data that every investigation ultimately depends on. Primitives for metrics, alerts, logs, release information and code already exist, but accessing them during an incident meant jumping between five different tools with five different query languages. The primitives layer doesn't replace these systems; it acknowledges them as the source of truth.

The API Layer utilises primitives and provides controlled, uniform access to the underlying data. Rather than having every debugging tool querying the data sources like the logs or metrics store directly, we built purpose-specific APIs: an Observability API, a Deployment API and an Alerts API that handle authentication, rate limiting, and data normalization. This is the layer that turns "raw infrastructure" into "debuggable infrastructure." It also means that when we swap out an underlying system, the debugging tools above don't break.

The Core Engine is where the intelligence lives. A bot framework provides the orchestration layer for building debugging workflows, and the engine handles the mechanics of parallel execution, result correlation, and LLM-powered synthesis. This is the platform that our first-party bots run on but critically, it's also the same platform available to every team that wants to build their own.

The Application Layer is where debugging actually happens. This is where our platform-level incident triage bot runs. It's also where third-party AI tools can plug in, providing complementary capabilities without us rebuilding everything from scratch.

This separation lets us improve data access and orchestration independently while supporting both centrally maintained workflows and team-owned runbooks

Making an LLM-powered agent reliable enough for incident response, where trust is everything, required deliberate engineering. A few principles guided us:

Structured checks before open-ended reasoning. AI SRE runs deterministic platform health checks and runbook steps first. The LLM layer synthesizes and explains the results, but the data gathering isn't left to the model's judgment.

Transparency over black-box answers. Every conclusion AI SRE presents links back to the underlying evidence: the specific metric, the log line, the deploy diff. Engineers can verify the reasoning, not just trust it. This was non-negotiable because on-call engineers won't act on a recommendation they can't audit.

Graceful degradation. If AI SRE can't determine a root cause with confidence, it says so explicitly and presents the evidence it did gather, organized by relevance. A partial investigation that's honest about its limits is far more useful than a hallucinated diagnosis.

AI SRE now supports more than 150 teams across Databricks, with 250+ weekly active users running over 2,000 investigations each day and saving several hours of debugging time. We have received positive feedbacks since the launch:

“The storage platform team relies heavily on AI SRE for triage. It front-runs my investigations: before I even open an alert, the agent has correlated signals and produced an initial root cause analysis. Kudos to the team for building a truly generic debugging platform that lets multiple teams weave agentic workflows into their day-to-day.”—Gaurav Garg, Sr. Staff Engineer

“Before AI SRE, the first stretch of an incident was context assembly: dashboards, time windows, fleet-wide filters. Now the relevant context lands in one place, already scoped to the alert/incident. I don't have to take the agent's word for it. The evidence is embedded in the investigation, and one click opens the underlying tool, pre-filtered, so I can verify it myself.”—Himanshu Mishra, Senior Engineer

“AI SRE has transformed incident response by unifying metrics, logs, and dependency health, accelerating incident triage, surfacing root causes earlier, thereby reducing company-wide MTTR.”—Adama Kone, Manager - NOC Team

The most important outcome was not replacing engineers’ judgment. It was giving them a faster, evidence-backed starting point for investigation.

Three takeaways from building AI SRE:

Let teams own their expertise. A centralized agent that tries to encode every team's domain knowledge will always be stale and brittle. By making agentic runbooks a composable primitive that teams own and maintain, we turned AI SRE into a platform that gets smarter as it grows without the platform becoming the bottleneck.

Build the context layer before optimizing the model. We spent more time mapping how engineers actually investigate incidents than we did on prompt engineering. That upfront investment in understanding the problem meant we built the right thing i.e. an agent that assembles context and executes known checks rather than the obvious thing, which would have been a chatbot bolted onto our observability system.

Earn trust through traceable evidence. On-call engineers operate under pressure and can't afford to chase false leads. Every recommendation AI SRE makes is backed by traceable evidence. This transparency is what turned skeptical early adopters into daily users.

Guardrails matter more for agents than for people. Giving agents access to observability data meant redesigning our API layer, not just opening it up. Agents query differently than humans do. They hit endpoints in bursts, run checks in parallel, and don't get tired or back off on their own. We had to build in guardrails so agents could work fast without taking down infrastructure that also powers business-critical alerting and monitoring.

AI SRE today focuses on the investigation phase of incident response: understanding what happened and why. The natural next step is extending into guided mitigation not just diagnosing the problem, but helping engineers take the right corrective action safely.

We're also investing in cross-incident learning: using patterns from past incidents to improve future diagnoses, surface recurring issues before they page, and help teams identify systemic reliability gaps.

As we look ahead, we’re excited to keep pushing the boundaries of how AI can shape production systems and make complex infrastructure feel effortless. If you’re passionate about building the next generation of AI-powered internal platforms, join us!

Subscribe to our blog and get the latest posts delivered to your inbox.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @databricks 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-databricks-uses-…] indexed:0 read:9min 2026-08-24 ·