After studying this material, you should be able to:
Imagine being woken at 2 AM because a customer-facing API is slow. You must immediately:
Alert fires
↓
Engineer wakes up
↓
Opens dashboards → checks metrics
↓
Searches logs → different tool
↓
Checks recent deployments → another tool
↓
Reads runbooks → yet another system
↓
Mentally connects all signals
↓
Forms hypothesis → root cause
Key insight: The tools themselves were not broken. The burden of connecting signals across tools lived entirely inside the engineer's head.
The Databricks team did something important before building anything — they observed real engineers debugging. They found:
| Pattern | What It Means |
|---|---|
| Context assembly | Engineers spent significant time just gathering information before any real analysis began |
| Repeatable investigative steps | Most debugging followed predictable sequences |
| Expert judgment at the end | The final diagnosis required human reasoning, but the path to get there was often mechanical |
Why this matters: If debugging = repeatable steps + expert judgment, then AI can handle the repeatable steps, freeing humans for judgment.
The team designed AI SRE as a layered platform. Think of it like a building:
┌─────────────────────────────────────┐
│ APPLICATION LAYER │ ← Where debugging happens
│ (Triage bots, team runbooks, │
│ third-party tools) │
├─────────────────────────────────────┤
│ CORE ENGINE │ ← Intelligence & orchestration
│ (LLM synthesis, parallel │
│ execution, result correlation) │
├─────────────────────────────────────┤
│ API LAYER │ ← Controlled, uniform access
│ (Observability API, Deployment │
│ API, Alerts API) │
├─────────────────────────────────────┤
│ PRIMITIVES │ ← Raw data sources
│ (Metrics, logs, alerts, │
│ releases, code) │
└─────────────────────────────────────┘
Analogy: Think of this like a universal power adapter. The devices (debugging tools) don't need to know what country's power grid (data source) they're connecting to.
When an alert fires, three investigation tracks launch simultaneously:
Incident Fires
│
├──────────────────────────────────────┐
│ │
▼ ▼ ▼
Platform Health Service-Level Analysis Runbook Execution
│ │ │
Check if infra Pull logs, metrics, Execute team-specific
is the root cause traces for affected debugging procedures
(eliminates red service + dependencies automatically
herrings) │ │
│ Check recent deployments Uses codebase +
│ + config changes observability data +
│ │ past incident history
└──────────────────┴──────────────────────────────┘
│
▼
Rich Diagnostic Summary
(What broke + What changed +
What runbook says to check)
Concrete example from the article:
Instead of "CPU is high," AI SRE says: "CPU spiked 3x at 2:47 AM, coinciding with a deployment that changed the batch size in the processing pipeline."
This is the difference between raw data and correlated insight.
Sometimes root causes are subtle. Engineers can ask natural language questions:
Engineer asks: "Was there anything unusual about
Kafka consumer lag in the 10 minutes
before this alert?"
│
▼
AI SRE fetches relevant metrics
│
▼
Overlays against incident timeline
│
▼
Explains findings in plain language
Key concept: This is not a chatbot. It's a structured investigation tool that happens to accept natural language input.
This is arguably the most important section — how do you make an AI system that engineers will actually trust during a crisis?
WRONG approach: RIGHT approach:
"Ask LLM what's wrong" Run deterministic checks first
│ │
▼ ▼
Hallucination risk LLM synthesizes and
EXPLAINS verified results
The LLM's role is synthesis and explanation, not data gathering.
Every conclusion must link back to:
Why this is non-negotiable: On-call engineers under pressure will not act on recommendations they cannot audit. Trust must be earned through verifiability.
If AI SRE finds root cause → Present diagnosis with evidence
│
└── If NOT confident → Explicitly say so
Present gathered evidence
organized by relevance
Key insight: A partial, honest investigation is more valuable than a confident hallucinated diagnosis.
Agents behave differently than humans:
| Human Engineer | AI Agent |
|---|---|
| Queries tools sequentially | Hits endpoints in bursts |
| Naturally paces themselves | Runs checks in parallel continuously |
| Gets tired, backs off | Never backs off on its own |
| Intuitively avoids overload | Needs explicit rate limiting |
Lesson: Giving agents access to infrastructure required redesigning the API layer, not just opening it up. Agents can accidentally take down the monitoring systems they depend on.
WRONG: "We have LLMs, let's build a chatbot for incidents"
RIGHT: "Let's watch how engineers actually debug, then build what helps"
The team spent weeks interviewing engineers and reading postmortems before writing any agent code.
Centralized agent approach: Platform approach:
One team encodes all Each team owns their
domain knowledge runbooks as composable
│ primitives
▼ │
Always stale ▼
Always brittle System gets smarter
Platform becomes as it grows
bottleneck No central bottleneck
"We spent more time mapping how engineers actually investigate incidents than we did on prompt engineering."
The right sequence:
The results after deployment:
| Metric | Result |
|---|---|
| Teams supported | 150+ |
| Weekly active users | 250+ |
| Daily investigations | 2,000+ |
| Time saved | Several hours per investigation |
But the most important outcome was qualitative:
Engineers got a faster, evidence-backed starting point — their judgment was amplified, not replaced.
Traditional Incident Response:
Alert → Engineer assembles context (slow) → Analysis → Resolution
AI SRE Incident Response:
Alert → AI assembles context (instant) → Engineer validates + analyzes → Faster Resolution
↑
Human judgment preserved
but applied to pre-assembled evidence
| Concept | Core Idea |
|---|---|
| Problem framing | The tools weren't broken; connecting their signals was the burden |
| Layered architecture | Each layer has one responsibility; layers above focus on higher concerns |
| Parallel investigation | Three tracks run simultaneously before the engineer even opens their laptop |
| Trust through transparency | Every AI conclusion links to auditable evidence |
| Graceful degradation | Honest uncertainty beats confident hallucination |
| Agent guardrails | Agents need explicit rate limiting; they don't self-regulate like humans |
| Platform over product | Enable teams to own their expertise rather than centralizing all knowledge |