1. Why this project
Two pages here already design the pieces. The SRE page defines four SLOs, burn-rate paging, a triage order and an incident loop. Multi-agent operations designs agents over that loop, with three action tiers and an evaluation loop, and says plainly that nothing is built. What is missing is the plan that turns the design into a running system: who does what, in what order, what "done" means at each step, and what would make us stop.
The second reason is the canon. The awesome-sre list is two decades of what SRE teams learned — Google's SRE book and CRE life lessons, Etsy's blameless debriefing guide, Rob Ewaschuk's alerting philosophy, Brendan Gregg's performance checklists. An SRE agent that ignores it will relearn it through incidents. This plan uses the list in two ways: as requirements (what a good SRE does, so what the agent must do or support) and as knowledge (what the agent retrieves from when it explains a recommendation).
2. Charter
Mission. Cut the time from a page to a correct, evidenced recommendation, and the toil around every incident — context gathering, timeline writing, postmortem drafting, action-item tracking — without ever taking a decision away from the on-call engineer.
The one-sentence contract. The agent reads everything, writes recommendations and drafts, and executes nothing irreversible; reversible actions run only after a named human approves them in the incident thread.
In scope
- the two services this repository runs (aws-demo and search-platform) and the EKS cluster under them;
- the incident loop: triage, mitigation proposal, verification, timeline, postmortem draft, action-item follow-up;
- the slow loops: weekly SLO review, capacity signals, toil accounting;
- a knowledge base built from the curated SRE and Kubernetes reference corpus (§5) and this repository's own runbooks and write-ups.
Out of scope (non-goals)
- replacing on-call, or reducing the on-call rotation's size;
- tier-2 actions of any kind — deletes,
terraform apply, IAM, secrets, schema changes — now or in a later phase;
- writing or changing alert rules on its own; it may propose them;
- hiring, performance reviews, or any judgement about people;
- multi-cluster or multi-region operation (a later project, not a phase).
3. The canon, mapped to what the agent does
The list has seventeen sections. Each is mapped to one of four outcomes: the agent does it, drafts it for a human, learns from it (retrieval only), or it is people-only and the agent stays out.
awesome-sre section | outcome | what that means for the agent | anchor texts from the list |
|---|---|---|---|
Culture | learns | toil definition and the 50 % cap inform what the agent automates first | Keys to SRE, Toil: a word every engineer should know, Maslow's hierarchy of SRE needs |
Education | drafts | onboarding packs: "what this service is, how it fails, what the pages mean" per service | New to an SRE team?, Onboarding new Site Reliability Engineers |
Books | learns | the retrieval corpus's backbone; citations in explanations | Site Reliability Engineering, The Practice of Cloud System Administration, Systems Performance, Chaos Engineering, Post-Incident Reviews |
Hiring | people-only | none | — |
Reliability | does | release-risk checks: canary state, recent changes, rollback readiness before and during an incident | Reliable releases and rollbacks, How release canaries can save your bacon, Using load shedding to survive a success disaster |
Monitoring and Alerting | does | triage on every page; alert-quality report (pages without action, duplicate pages, symptom vs cause) | My philosophy on alerting, Monitoring distributed systems, Why percentiles don't work the way you think |
On-Call | does | the incident thread: context in the first minute, a timeline kept automatically, handover summaries | Being an on-call engineer, Incident management at Google, PagerDuty incident response |
Post-Mortem | drafts | a blameless first draft from the thread and the traces; action items tracked to closure | Blameless postmortems and a just culture, Etsy's Debriefing facilitation guide, Postmortem action items: plan the work and work the plan |
Capacity Planning | does | weekly headroom report per node group and datastore, with the trend that will cross a limit | Capacity planning, Cloud capacity planning |
Service Level Agreement | does | weekly SLO review: budget remaining, burn by cause, policy state (releases allowed or frozen) | SLOs, SLIs, SLAs, oh my, Building good SLOs, Consequences of SLO violations |
Performance | does | USE-method and golden-signal checklists run as a triage branch for latency pages | Performance checklists for SREs |
Programming | learns | shapes the agent's own code: Go or Java services, structured logs, operability built in | Operability in Go, Go for SREs |
Misc Articles | learns | background; low retrieval weight | — |
Real-time Messaging | does | lives in the incident channel; never DMs a decision | #incident_response practice |
Blogs | learns | a curated subset only, re-checked quarterly for dead links | Brendan Gregg, rachelbythebay, SRE Weekly |
Conferences & Meetups | people-only | none | — |
Twitter | people-only | none | — |
The mapping is the scope argument in one table: seven sections the agent does, two it drafts, five it learns from, three it leaves alone. Anything that appears later in the project and does not trace back to a "does" or "drafts" row is scope creep.
4. What the agent is
agent | first appears | tier | job |
|---|---|---|---|
triage | phase 1 | 0 — read-only | ranked hypotheses with evidence on every page |
scribe | phase 2 | 0 | timeline, handover summary, postmortem first draft |
reviewer | phase 3 | 0 | weekly SLO, capacity, alert-quality and toil reports |
deploy | phase 4 | 1 — reversible, human-approved | rollback, scale within HPA range, sync through the EKS managed Argo CD capability |
orchestrator | phase 4 | 0 | a Step Functions state machine, not a model, once there are two specialists to coordinate |
Action tiers (unchanged): tier 0 runs within a per-run budget; tier 1 needs an approval token from a named human in the thread; tier 2 tools do not exist in any allowlist.
Tools are MCP servers, each hosted and secured as in the MCP security design : a Cognito token that names the on-call engineer the run is for, sessions bound to that user, Verified Permissions per tool call, one task role per tool server, no default route, and one log line per call. The triage agent's first three tools — a CloudWatch metric query, namespaced
kubectl get , and knowledge retrieval — become the first three MCP servers.5. The knowledge base
The agent retrieves from a curated local corpus that already exists: sixteen reference domains, each with an index of ingested documents. Their scope and size decide what goes in first.
domain | documents | scope | phase | why then |
|---|---|---|---|---|
runbooks | 16 | maintenance, upgrades, node drain, troubleshooting, RCA postmortems | 1 | triage cites these first |
alert-rules | 2 | CloudWatch alarm definitions, SLOs, canaries | 1 | explains why a page fired |
observability | 6 | CloudWatch metrics and Logs Insights, alarms and SNS, ADOT and X-Ray, Synthetics canaries | 1 | query construction |
logging | 3 | collection patterns, CRI runtime logs, Vector, Fluentd, Loki | 1 | log queries |
networking | 20 | CNI, NetworkPolicy, Ingress, Gateway API, service mesh | 2 | the largest cause class after deploys |
storage | 7 | PV/PVC, CSI, snapshots | 2 | |
resource-management | 4 | quotas, limits, QoS, scheduling | 2 | capacity reports |
delivery | 3 | Argo CD, Helm, Kustomize, rollouts | 2 | release-risk checks |
gitops | 3 | convergence, multi-environment, progressive delivery | 2 | |
security | 22 | RBAC, Pod Security, SPIFFE, authn/authz | 3 | security-flavoured incidents, reviewed first |
validation | 1 | conformance, dry runs, policy assertions | 3 | |
api-modernization | 10 | deprecated APIs, Gateway API, CRDs, operators | 3 | upgrade incidents |
domains | 28 | client-go, CRI, scheduler framework | 3 | deep internals, low weight |
final | 128 | consolidated handbooks and integration guides | 3 | broad, deduplicate against the above first |
inventory | 11 | registries, topic maps, awesome lists | never retrieved | used to find sources, not to answer |
cleanup | 0 | sanitisation rules | never retrieved | applied at ingestion |
Plus two sources the corpus does not hold: this repository (runbooks, the SRE page, the six Spring Boot findings, the lab journal) at the highest retrieval weight, and the awesome-sre anchor texts from §3, as summaries with citations rather than full copies.
Ingestion rules, because a knowledge base is an attack surface:
- Every document carries its source, its domain and an ingestion date; an answer that cites it shows all three.
- The corpus is data, never instructions. Retrieved text is placed in the model's context as quoted evidence, and the evaluation set (§9) contains documents that try to widen the agent's action.
- Nothing from the
finaldomain is ingested before it is deduplicated against the domain-specific indexes — 128 documents of handbook overlap will otherwise outvote a 16-document runbook domain on every query.
- Quarterly, every external link in the corpus is re-checked and dead sources are marked, not silently kept. The awesome-sre list is old enough that some of its links no longer resolve.
6. Workstreams
# | workstream | owns | first deliverable |
|---|---|---|---|
W1 | agent runtime | the triage, scribe and reviewer agents; prompts; schemas; budgets | triage agent posting to a test channel |
W2 | tools (MCP) | the tool servers, their authorisation and their hosting | a CloudWatch MCP server passing the design's abuse tests 1–9 |
W3 | knowledge | ingestion, deduplication, retrieval, citation | the phase-1 domains indexed with citations |
W4 | evaluation | offline set, replay harness, CI gate, online metrics | 30 replayable incidents with expected answers |
W5 | platform and security | accounts, networking, IAM, Cognito, egress, audit | the containment layer (design phase 1) in the lab |
W6 | incident process | on-call integration, thread conventions, postmortem template, approval flow | the incident thread contract |
W7 | adoption | training, feedback, the weekly review ritual | on-call handbook section for the agent |
7. Schedule
Twenty-four weeks from 2026-10-05, in five phases. Every phase has exit criteria, and the next phase does not start until they are met — a date slips before a criterion does.
phase | weeks | dates | goal | exit criteria |
|---|---|---|---|---|
0 — foundations | 1–3 | 10-05 → 10-23 | containment and identity before any agent runs | design phases 1–2 done in the lab; abuse tests 1–12 green; offline set of 30 incidents written |
1 — triage, shadow | 4–9 | 10-26 → 12-04 | the triage agent runs on every page and posts to a shadow channel on-call does not watch | 100 % of pages get a post within 3 min p95; top-ranked hypothesis matches the postmortem cause in ≥ 60 % of the offline set; zero tier changes in injection tests |
2 — triage live, scribe | 10–14 | 12-07 → 01-08 | triage posts into the real incident thread; the scribe keeps the timeline and drafts postmortems | on-call rates ≥ 70 % of triage posts "useful"; postmortem drafts need ≤ 30 min of human editing (median); no pages missed because of the agent |
3 — reviewer | 15–18 | 01-11 → 02-05 | weekly SLO, capacity, alert-quality and toil reports | four consecutive weekly reports reviewed; at least one alert rule retired or rewritten on the agent's evidence |
4 — tier 1, deploy | 19–24 | 02-08 → 03-19 | rollback and scale behind an approval token; Step Functions orchestrator | 20 approved tier-1 actions in the lab, then 5 in production, each verified by the SLI; zero actions without a valid token; rollback of the agent itself rehearsed |
Holiday note. Phase 2 spans the year end. Its live cut-over is planned for week 10 so that the lowest-staffed weeks run a mode that has already been live for three weeks, not a cut-over.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article