Meta Deploys AI Agents to Cut Network Incident Downtime 60%

Teaching AI to Fight Fires: Autonomous Reliability Agents at Meta Scale | Gaurav Mitra from Meta — @Scale

@Scale

Encoding senior engineering workflows into autonomous context-engineered AI agents reduces mean time to mitigation from nine hours to minutes across recommendation systems.

AI-assisted summary of Teaching AI to Fight Fires: Autonomous Reliability Agents at Meta Scale | Gaurav Mitra from Meta — original source. Check the original for full context.

Source published:

Detailed notes

## Background Published by @Scale on YouTube on July 2, 2026, this talk features Gaurav Mitra from Meta discussing the development of autonomous reliability agents. The video description details how Meta built an AI-driven 'reliability flywheel' following a major December 2024 outage to cut detection-to-mitigation time by 60% across thousands of incidents.

## TL;DR Meta tackled sprawling production outages and lengthy incident investigations by transitioning from manual triage to an AI-driven reliability flywheel. Built on a context-engineered architecture, the autonomous agent correlates telemetry across eight or more backend systems using pre-coded workflows, skills, and deterministic data integration. Tested on over 1,000 real-world incidents within Meta's recommendation infrastructure, the system reduced detection-to-mitigation times by over 60% while strictly adhering to a 'query, reason, cite' framework. Ultimately, the framework elevates human engineers from manual log-sifting to high-level orchestrators who teach the AI and govern its progressive maturity model toward self-healing infrastructure.

## Atmosphere & style Gaurav Mitra delivers an engaging, grounded presentation that balances high-stakes incident storytelling with pragmatic engineering lessons. Opening with a vivid recount of a catastrophic Sev 0 outage, the talk moves from the stressful realities of multi-day debugging to a structured, optimistic vision of AI co-pilots. The tone is authoritative yet candid, candidly rejecting prompt engineering fads in favor of rigorous architectural design, offering viewers an authentic behind-the-scenes look at how Meta scales AI reliability in real production environments.

## Key takeaways - [00:00](https://www.youtube.com/watch?v=irtqkj3fHxM&t=0s) A single configuration change on December 11, 2024, caused cascading BGP failures that resulted in a four-hour global outage across Facebook, Instagram, and WhatsApp, requiring manual physical server power cycles in data centers. - [02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) Meta's recommendation systems process billions of requests daily and handle thousands of incidents per year, which historically took an average of 9 hours to mitigate across 8+ telemetry systems. - [02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) The vision for AI in production engineering is the Reliability Flywheel, a four-stage process transitioning systems from pattern identification and autonomous investigation to supervised mitigation and self-healing infrastructure. - [04:55](https://www.youtube.com/watch?v=irtqkj3fHxM&t=295s) LLM-based pattern-mining agents cluster historical incident reports by root cause and operational cost, allowing engineers to prioritize long-term systemic fixes over short-term patching. - [06:49](https://www.youtube.com/watch?v=irtqkj3fHxM&t=409s) Context engineering scales where prompt engineering fails by modularizing institutional knowledge into reusable tools, skills, and workflows rather than long, fragile system prompts. - [06:49](https://www.youtube.com/watch?v=irtqkj3fHxM&t=409s) To prevent hallucinations, the autonomous investigation agent uses a strict 'query, reason, cite' architecture where LLMs reason over telemetry provided by deterministic tools and explicitly cite raw source data. - [11:15](https://www.youtube.com/watch?v=irtqkj3fHxM&t=675s) Centralized platformization decouples responsibilities, allowing domain teams to write localized skills while a unified platform handles orchestration, security, and execution guardrails. - [13:25](https://www.youtube.com/watch?v=irtqkj3fHxM&t=805s) In production across 1,000+ incidents, the AI agent reduced detection-to-mitigation time by over 60%, achieving an accurate first-choice root cause hypothesis more than 40% of the time. - [13:25](https://www.youtube.com/watch?v=irtqkj3fHxM&t=805s) Meta enforces a four-level Maturity Model with strict trust boundaries to safely scale agent autonomy from background audits up to autonomous self-healing. - [18:45](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1125s) AI reliability agents shift the abstraction layer for engineers away from manual dashboard hopping, moving them into roles as orchestrators and teachers who encode their expertise into the platform.

## Detailed walkthrough ### [00:00](https://www.youtube.com/watch?v=irtqkj3fHxM&t=0s) The Wednesday Morning Outage: December 11, 2024

Gaurav Mitra, a Production Engineer at Meta leading reliability for Modern Recommendation Systems (MRS), opens his talk by reflecting on a nightmare incident from Wednesday morning, December 11, 2024, at 9:52 a.m. A single configuration change altered routing and propagated an anomaly across regions within minutes, triggering cascading failures in BGP (Border Gateway Protocol) processes. This resulted in a massive four-hour global outage affecting Meta's entire core product suite—including Facebook, Instagram, and WhatsApp. Because the routing state had broken down so completely, standard online rollback mechanisms failed to restore the systems, forcing Meta to declare a "Sev 0"—the company’s highest incident severity level.

Recovering from the outage required an extraordinary, multi-team effort. Scores of engineers across dozens of teams responded as hundreds of internal SEVs were opened and hundreds of services broke down. The situation escalated to the point where engineers had to physically enter data center buildings to perform manual power cycles on hardware. Beyond the immediate four-hour downtime and widespread press coverage, Mitra highlights the hidden human and operational toll: engineers lost a week of sleep, and product teams lost an entire week of planned roadmap progress. Recognizing that human experts cannot be on call and online 24/7, Mitra and his team set out to transform production engineering by building AI agents to serve as always-on co-pilots during outages.

- **Incident Timeline & Scale:** Outage began December 11, 2024, at 9:52 a.m.; total application outage lasted 4 hours. - **Root Cause:** A single routing configuration change that caused BGP process crashes across regions. - **Affected Apps:** Facebook, Instagram, WhatsApp, Threads, and supporting infrastructure. - **Scope of Impact:** Hundreds of internal SEVs opened across hundreds of affected services, requiring physical server power cycles in data centers. - **Human Cost:** Affected engineering teams lost a full week of roadmap work alongside immense personal strain and lost sleep.

[02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) The Vision: The Reliability Flywheel

Mitra manages the serving and ranking infrastructure for Meta's Modern Recommendation Systems (MRS), which handle billions of requests daily. Across MRS, teams handle thousands of incidents per year, with an average mitigation time of roughly 9 hours per incident. Investigating these complex outages requires cross-correlating telemetry across eight or more disparate data systems. Because hard-won troubleshooting expertise is typically siloed among a small group of senior engineers who cannot be awake for every late-night alert, Meta's goal is to ensure no engineer ever has to investigate an outage alone.

To solve this, Meta is shifting from manually investigating outages to "teaching AI how to investigate." They are building a four-stage **Reliability Flywheel**: 1. **Pattern Identification:** Extracting systemic failure trends across thousands of historical incidents. 2. **Autonomous Investigation:** Leveraging contextual data to perform real-time root cause analysis during active alerts. 3. **Supervised Mitigation:** Executing safe, low-risk, and reversible corrective actions automatically under human guardrails. 4. **Self-Healing Infrastructure:** Designing systems that proactively prevent failures before they impact production.

Engineers remain at the core of this loop as orchestrators and teachers, validating patterns and sharpening the agent's capabilities so every iteration makes the system faster.

- **MRS Operational Scale:** Billions of requests per day; thousands of incidents processed annually. - **Historical Baseline:** Average incident resolution time stood at ~9 hours across 8+ distinct telemetry systems. - **Core Strategy:** Transition engineering effort from active manual investigation to encoding diagnostic expertise into AI workflows.

[04:55](https://www.youtube.com/watch?v=irtqkj3fHxM&t=295s) Stage 1: Pattern Identification and Operational Costing

Meta processes hundreds of incidents weekly. To turn this raw incident data into actionable insights, Meta built LLM-based pattern-mining agents. These agents create semantic embeddings of incident reports and cluster them based on root cause similarity. For each identified cluster, parallel agents decompose the failures into specific sub-patterns, enrich them with semantic LLM analysis, and score each pattern by its true "operational cost."

Mitra defines operational cost not just as the initial downtime, but as the total engineering hours spent debugging the live incident plus the post-mortem follow-up work (the "days of effort" trailing an outage). By attributing operational costs and public blast radius to specific failure clusters, Meta can rank engineering prevention investments based on return on investment (ROI). Instead of low-level log triage, engineers now operate higher up the stack—validating cluster names, evaluating systemic patterns, and directing long-term preventive work.

- **Agent Mechanism:** Semantic embedding and root-cause clustering of historical incident reports. - **Decomposition Engine:** Parallel LLM sub-agents break down clusters into distinct sub-patterns and rank them by business impact. - **Operational Cost Definition:** Total engineering hours spent in live debugging plus days of post-incident remediations. - **Outcome:** Creation of a cross-company "systemic failure taxonomy" that helps teams prioritize fixes for next quarter's class of failures rather than just patching today's fire.

[06:49](https://www.youtube.com/watch?v=irtqkj3fHxM&t=409s) Stage 2: Context-Engineered Autonomous Investigation

Moving from historical analysis to live response, Meta built an autonomous investigation agent driven by an orchestration layer and a central **Context Store**. When an alert fires, an LLM planner selects from hundreds of pre-coded expert workflows and thousands of individual skills to execute parallel data-gathering pipelines. A dedicated data integration layer pulls production signals across 8+ backend telemetry systems without allowing the LLM to invent or estimate data.

Mitra highlights a major architectural lesson: **Context engineering scales where prompt engineering fails.** Prompt engineering proved too fragile because institutional knowledge got trapped in long prompts that broke whenever novel failure modes appeared. Under context engineering, expert knowledge is modularized into reusable tools, skills, and workflows. Upgrading an agent simply requires adding a new tool or refining a skill in the context store rather than rewriting system prompts.

To eliminate hallucinations, the agent operates on a strict "query, reason, cite" architecture: the LLM reasons over real telemetry fetched by deterministic tool servers, and every claim generated in its structured output is explicitly linked back to source logs or time-series metrics.

- **System Architecture:** Orchestration layer with a Workflow Navigator, Context Store (skills and workflows), and Data Integration Layer. - **Core Principle:** "LLMs reason, tools provide data." Models never generate synthetic telemetry. - **Investigation Output:** Structured output featuring ranked root cause hypotheses, correlated evidence, recommended mitigation steps, and direct source data links. - **Time Compression:** Reduces manual context-gathering and dashboard-checking from 30–45 minutes down to a few minutes.

[11:15](https://www.youtube.com/watch?v=irtqkj3fHxM&t=675s) Replaying the December Outage & Platformization

To demonstrate the agent's capabilities, Mitra replays how the December 11 BGP outage would unfold with the AI co-pilot active. Upon receiving an alert, the agent executes time-series queries to pinpoint the exact time window and regional footprint of the anomaly. It then correlates that time window with recent configuration changes and deployment logs, spotting matching chart patterns across canaries. Simultaneously, log analytics parse BGP crash logs while knowledge graphs suggest historical mitigation steps. Through this automated correlation, an incident that took scores of engineers hours to contain could have been reduced to a 15-minute investigation with a targeted rollback.

Mitra stresses the importance of centralized **platformization** over fragmented point solutions. A single platform enforces strict architectural guardrails, unified context stores, and skill evaluation frameworks across the company. Domain engineering teams focus purely on encoding their specific service nuances and failure modes into the skill registry, while the platform handles orchestration, security, and execution safety.

- **Hypothesis Loop:** Interactive refinement loops allow on-call engineers to steer the agent if initial hypotheses disagree with live metrics. - **Decoupled Responsibilities:** Domain teams write localized skills/workflows; the central platform provides security, context indexing, and execution guardrails.

[13:25](https://www.youtube.com/watch?v=irtqkj3fHxM&t=805s) Production Results, Maturity Model, and Trust Boundaries

In production deployments across 1,000+ real-world incidents in Meta's recommendation infrastructure, the AI investigation agent achieved a **60%+ reduction in time from detection to mitigation (MTDM)**. For over 40% of incidents, the agent's very first root cause hypothesis was completely accurate; in remaining cases, its negative findings successfully ruled out extraneous systems to narrow the search space. Meta has set an aggressive internal target of a 95% reduction in MTDM—aiming to bring average incident resolution times down from 9 hours to under 30 minutes.

To manage risk, Meta implements a four-level **Maturity Model** governed by strict trust boundaries: - **Level 1 (Automated Audits):** Background agents audit systems and generate failure taxonomies and knowledge graphs. - **Level 2 (Investigation Co-pilots):** Real-time automated root cause analysis (Auto-RCA) and mitigation suggestions during live SEVs. - **Level 3 (Autonomous Mitigation):** Automated execution of low-risk, isolated, and fully reversible actions (e.g., single-canary rollbacks). - **Level 4 (Self-Healing Systems):** Production environments designed with agent-aware system invariants to prevent outages proactively.

Mitra emphasizes that higher autonomy must be earned through proven reliability at lower levels. Furthermore, because AI-assisted code generation can introduce subtle production risks, Meta uses adversarial AI code-review agents to inspect agent-generated changes before deployment.

- **Key Performance Metric:** >60% reduction in detection-to-mitigation time across 1,000+ production incidents. - **Accuracy:** First-choice root cause hypothesis correct >40% of the time. - **Target Goal:** 95% overall reduction in incident duration (targeting <30 minutes per incident vs. 9-hour historical average). - **Non-Negotiable Rule:** Transparent reasoning with full data citation—if an agent cannot cite raw source data for a claim, it stays silent.

<ElicitationsGroup message="Explore related aspects of Meta's reliability engineering and AI ops:">

<Elicitation label="Analyze the architectural differences between prompt and context engineering" query="Based on Gaurav Mitra's talk, compare prompt engineering vs. context engineering for production reliability agents, including specific technical tradeoffs."/>

<Elicitation label="Detail the four levels of Meta's AI agent maturity model" query="Break down the four levels of Meta's reliability agent maturity model described in the talk, explaining the trust boundaries and guardrails at each stage."/>

</ElicitationsGroup>

[18:23](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1103s) The Reliability Flywheel and Autonomous Self-Healing

The goal of the system is to turn what used to be a massive incident into a brief, routine fix. A major outage that once required several engineers and hours of pain might now be reduced to a 15-minute investigation followed by a targeted rollback. This continuous improvement loop—detect, investigate, mitigate, encode, heal, and repeat—defines the reliability flywheel. This isn't theoretical or science fiction; Meta is running these autonomous reliability agents live in production today and actively building toward true self-healing infrastructure.

- The complete lifecycle of the flywheel consists of six steps: **Detect, investigate, mitigate, encode, heal, and repeat**. - System capabilities have progressed from simple detection and investigation to supervised mitigation and active self-healing.

[18:45](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1125s) Shifting the Abstraction Layer for On-Call Engineers

When Meta began this initiative, the team asked themselves: "What if every shift you had an expert that rode alongside you?" However, the core realization from building the system is that this shift isn't purely about AI—it's ultimately about human engineers teaching the AI to encode their operational expertise. Engineers are moving up an abstraction layer, stepping away from low-level mechanical tasks like "dashboard hopping," scanning endless charts, and manually sifting through logs. With the agent keeping watch over production systems, engineers do less grunt work and can, hopefully, "sleep a little better" during their on-call rotations.

- "The real answer turned out to be it isn't really just about AI. It's about more humans who teach AI." - Mechanical operational work is significantly reduced as engineers move a layer up to train agents and manage broader system design.

## Notable quotes > [06:49](https://www.youtube.com/watch?v=irtqkj3fHxM&t=409s) Context engineering scales where prompt engineering fails. — Gaurav Mitra

> [06:49](https://www.youtube.com/watch?v=irtqkj3fHxM&t=409s) LLMs reason, tools provide data. — Gaurav Mitra

> [18:45](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1125s) The real answer turned out to be it isn't really just about AI. It's about more humans who teach AI. — Gaurav Mitra

## Mentioned Gaurav Mitra, Meta, Facebook, Instagram, WhatsApp, Threads, BGP, Modern Recommendation Systems (MRS), @Scale

[Source](https://www.youtube.com/watch?v=irtqkj3fHxM)

中文简报

Meta部署AI智能体将网络事故停机时间缩短60% 通过将资深工程师工作流编码至具备上下文工程能力的自主AI智能体中,推荐系统的平均缓解时间从9小时缩减至数分钟。 Meta通过从人工故障分诊转向AI驱动的可靠性飞轮,应对蔓延的生产故障和冗长的事故调查。该自主智能体建立在上下文工程架构之上,利用预先编码的工作流、技能以及确定性数据集成,关联了八个或更多后端系统的遥测数据。在Meta推荐基础设施超过1,000起真实事故的测试中,该系统在严格遵循“查询、推理、引用”框架的同时,将从检测到缓解的时间缩减了60%以上。最终,该框架将人类工程师从手动筛查日志的角色中解放出来,提升为负责训练AI并管控其迈向自愈基础设施演进成熟度模型的高层协调者。 2024年12月11日,一次单一配置变更引发BGP级联故障,造成Meta旗下全线服务长达4小时的全球性严重瘫痪,促使团队致力于打造全天候AI排障协同智能体。 (0:00) 针对推荐系统年均数千起事件、平均排障耗时9小时的挑战,Meta提出了涵盖模式识别、自主排查、受监督缓解与系统自愈的“可靠性飞轮”,并以模块化的“上下文工程”取代脆弱的系统提示词工程。 (2:03) 为彻底杜绝大模型幻觉,自主调查智能体遵循“查询、推理、引用”架构,仅由确定性工具拉取实际遥测数据,大模型仅负责分析推理并强制链接底层原始数据来源。 (6:49) 在超过1,000起真实生产事故的应用中,该AI智能体将故障从检测到缓解的时间缩短了60%以上,首选根因假设准确率超40%,长期目标是将平均恢复时间进一步压缩至30分钟以内。 (13:25)

Reading summary

Gaurav Mitra reports that Meta is shifting production reliability from manual incident troubleshooting to autonomous AI agents that encode diagnostic expertise into modular workflows. Deployed across Meta's recommendation infrastructure, these agents have reduced detection-to-mitigation time by over 60%, with an organizational goal of compressing multi-hour outages into minutes. Incident Clustering and Calculating True Operational Cost (4:55) Meta's Modern Recommendation Systems process billions of daily requests and encounter thousands of incidents annually, historically averaging nine hours to mitigate across eight or more disparate telemetry backends. To break the cycle of repeated fires, Meta introduced LLM-based pattern-mining agents that create semantic embeddings of historical incident reports and cluster them by root cause similarity. Parallel sub-agents decompose these clusters into specific failure patterns and evaluate their aggregate operational cost, which Mitra defines as active debugging hours combined with the days of follow-up remediation. By quantifying this operational overhead and public blast radius, engineering leadership can prioritize long-term preventive engineering investments according to measurable return on investment rather than reacting solely to recent disruptions. Replacing Prompt Engineering With Context-Driven Workflows (6:49) For real-time incident triage, Meta abandoned prompt engineering after finding that stuffing institutional knowledge into lengthy system prompts proved fragile when novel failure scenarios emerged. The team transitioned to context engineering, where domain expertise is modularized into reusable skills, standardized workflows, and a central Context Store accessible to an LLM planner. The system enforces a strict separation of concerns summarized as 'LLMs reason, tools provide data.' Telemetry from eight backend data systems is fetched exclusively through deterministic tool servers rather than model generation. Operating on a query, reason, and cite architecture, the agent produces structured hypotheses tied to raw logs and metric charts, reducing initial investigative context gathering from 30 to 45 minutes down to several minutes. Production Benchmarks and the Four-Level Maturity Framework (13:25) Across more than 1,000 live production incidents in Meta's recommendation infrastructure, the autonomous investigation agent reduced time from detection to mitigation (MTDM) by over 60%. The agent's first root-cause hypothesis proved entirely accurate in over 40% of cases, while its remaining outputs narrowed diagnostic search spaces by systematically ruling out healthy systems. Meta has established an internal benchmark to reach a 95% reduction in MTDM, targeting resolutions under 30 minutes. To control operational risk, Meta governs agent capabilities through a four-stage maturity model: Level 1 covers passive auditing; Level 2 introduces real-time investigation co-pilots; Level 3 permits autonomous execution of isolated, reversible fixes such as canary rollbacks; and Level 4 envisions self-healing infrastructure. Higher tiers require earned trust, and Meta deploys adversarial AI code-review agents to inspect agent-generated changes before live execution. Transforming On-Call Engineering From Triage to Teaching (18:45) The human cost of infrastructure failures was underscored by a December 11, 2024 incident, where a single routing configuration update crashed regional BGP processes, resulting in a four-hour global outage across Facebook, Instagram, and WhatsApp that required physical data center power cycles and cost engineering teams a week of roadmap velocity. Mitra argues that replaying this incident with agentic workflows could have compressed containment into a 15-minute investigation with an immediate targeted rollback. The broader objective of Meta's reliability flywheel—spanning detection, investigation, mitigation, encoding, and healing—is to move on-call engineers up an abstraction layer. Instead of spending shifts scanning dashboards and triaging logs manually, engineers act as educators and orchestrators who codify localized system nuances into the agent's central skill registry. While Meta has demonstrated significant time savings during live investigations, the progression toward autonomous mitigation and proactive self-healing remains constrained by trust boundaries, requiring deterministic data citations, human-supervised guardrails, and adversarial review to prevent automated actions from triggering cascading failures.

精炼阅读摘要

Meta生产工程师Gaurav Mitra提出,面对大规模复杂系统频发的生产事故,Meta正通过构建由上下文工程驱动的“可靠性飞轮”AI智能体,将工程师的排障专业知识转化为模块化技能与工作流,以此实现故障调查与根因分析的自主化,推动运维工作由被动救火向人机协同与系统自愈演进。 故障冲击与传统排障的运维困境 (0:00) Mitra以2024年12月11日发生的一起重大事故说明生产运维面临的严峻挑战:当日上午9点52分,单次路由配置变更引发跨区域异常并导致BGP进程级联崩溃,造成包括Facebook、Instagram和WhatsApp在内的全线核心产品长达4小时的全球性中断。该故障被定级为最高严重度的Sev 0,常规在线回滚机制全面失效,涉及数百个内部服务并导致数百起关联SEV工单,工程师甚至必须亲临数据中心手动执行硬件断电重启。除即时宕机损失外,相关工程团队承受了极大的身心负荷,并损失了整整一周的既定研发进度。 在日常场景中,Meta现代推荐系统(MRS)每天需要处理数十亿次请求,每年产生数千起运行中断,历史平均故障缓解时间约为9小时,且排查过程需在8个以上的异构遥测系统间交叉比对数据。Mitra指出,由于排障知识高度孤立在少数资深工程师脑中,而专家无法全天候处理深夜告警,依赖人工逐步查阅仪表盘和筛选日志的传统排障模式已无法匹配现代超大规模基础设施的韧性需求。 故障模式聚类与运维成本量化 (4:55) 为了从每周数百起事故中提取系统性经验,Meta构建了基于大语言模型(LLM)的模式挖掘智能体,利用语义嵌入技术对历史事故报告进行向量化处理,并依据根因相似度展开聚类。并行子智能体进一步将聚类分解为具体的子模式,结合语义分析进行上下文补充,从而形成覆盖整个公司的系统性故障分类知识库。这种方式促使工程师从低阶日志整理中抽离出来,转为校验聚类定义与评估系统性架构风险。 在该流程中,Mitra将“运维成本”重新定义为:工程师在现场调试所消耗的总工时,加上故障发生后数天跟进修复和复盘所花费的精力之和。通过将实际运维成本和公开影响范围映射至特定故障聚类,Meta能够依据投资回报率(ROI)对防范性工程任务进行优先级排序。团队的关注重心因而得以转向规避下一季度的同类系统性风险,而非单纯修补眼前的局部火情。 上下文工程驱动的自主调查架构 (6:49) 进入实时应急响应阶段,Meta设计了基于编排层与中央上下文存储(Context Store)的自主调查智能体。当告警触发时,LLM规划器会在数百种预编码的专家工作流与数千种独立技能中进行调度,并通过专用数据集成层并行调取8个以上后台遥测系统的数据。架构确立了“LLM负责推理,工具提供数据”的底线原则,严禁模型臆测或生成虚构遥测数据;智能体在输出结构化的根因假设、证据链与缓解建议时,每一项结论都必须严格关联底层指标或日志引用。 Mitra强调,在生产可靠性实践中,上下文工程的扩展性显著优于提示词工程。由于将机构专业知识硬编码进长提示词容易在遇到新型故障时失效破裂,Meta将专家排障经验模块化为可复用的工具、技能和工作流单元。系统升级只需在上下文存储中扩充工具或精炼技能,无需频繁重写提示词。在模拟回放2024年12月的BGP故障时,该架构在告警发生后自动对齐时序指标、配置变更与崩溃日志,有望将原本耗费数小时的多人协作排查压缩至15分钟的精准回滚建议。 四级成熟度演进与生产落地成效 (13:25) 在Meta推荐系统基础设施的1000多次实际生产故障应用中,该AI调查智能体使故障从检测到缓解的时间(MTDM)降低了60%以上。数据表明,智能体在40%以上的事故中给出的第一条根因假设完全正确,且在其余场景中也能有效排除无关系统以缩小排查范围。基于这一进展,Meta设立了内部目标,计划将MTDM压缩95%,即把历史平均9小时的处置耗时降至30分钟以内。 为防范AI引入未知生产风险,Meta制定了由严格信任边界约束的四级成熟度模型:1级为后台自动审计并生成故障图谱;2级为在实时SEV中提供自动根因分析(Auto-RCA)辅助建议;3级为受监管自主缓解,仅自动执行单Canary回滚等低风险、局部且完全可逆的操作;4级为构建具备智能体感知不变量的主动自愈基础设施。Mitra表示,更高层级的自主权必须建立在低阶能力的可靠性验证之上,同时针对AI生成代码引入了对抗性AI代码审查智能体,以保障上线变更的安全。 Mitra总结认为,可靠性智能体的本质并非由AI取代人类,而是工程师将其工程经验提炼并教授给AI,使自身抽象层级从查看仪表盘和检索日志等机械劳动中解放出来。尽管目前通过闭环智能体已实现排查提速并在生产环境规模化部署,但实现完全主动自愈仍依赖于更稳健的系统不变量设计与安全边界验证,以在保障生产高可用性的同时化解AI生成代码与自主干预带来的潜在风险。

Detailed notes — zh

## Background 该视频由 YouTube 频道 @Scale 于 2026 年 7 月 2 日发布,主讲人为来自 Meta 的生产工程师 Gaurav Mitra。视频简介围绕 2024 年 12 月 Meta 因单次配置变更导致 50 多名工程师耗时 28 小时抢修的重大事故展开,系统介绍了团队过去一年打造的“可靠性飞轮”(Reliability Flywheel)系统,该系统已处理 1,000 多起线上故障,将检测到缓解的时间缩短了 60%。 ## TL;DR 演讲复盘了 Meta 现代推荐系统(MRS)面对海量微服务与频繁事故时的运维困境,重点阐述了从人工救火迈向自主可靠性智能体的四阶段演进路径。Meta 团队摒弃死板的提示词工程,拥抱由可复用工具和工作流构成的“上下文工程”,使智能体能实时关联多维生产信号并给出附带证据引用的排障结论。通过统一平台化治理与四级可靠性成熟度模型,团队在确保透明推理与严格信任护栏的前提下实现了小范围自动缓解,目标是将平均 9 小时的止损时间压缩到 30 分钟以内。这套体系的本质是将工程师从低效的排障苦工中解放出来,转变为向智能体传授排障经验的架构设计者。 ## Atmosphere & style 演讲以极具代入感的危机复盘开场,带领听众重温那个让数十名工程师彻夜不眠、甚至被迫奔赴机房冷启动服务器的惊险早晨,充满了生产一线特有的紧迫与痛感。随着方案层层拆解,Gaurav 的语调从沉重转为沉稳自信,展现出硬核的基础架构技术底蕴与严谨的系统工程思维。整场分享节奏明快、务实接地气,既有宏大的愿景,又紧扣“让值班工程师睡个好觉”这一温情而朴素的初心,极具感染力与启发性。 ## Bulletin - [00:00](https://www.youtube.com/watch?v=irtqkj3fHxM&t=0s) Meta 生产团队打造了基于自主智能体的“可靠性飞轮”(Reliability Flywheel),旨在将 2024 年 12 月耗时 28 小时、出动 50 余名工程师的重大 Sev-0 级级联故障的排查缓解过程缩短至 15 分钟。 - [12:41](https://www.youtube.com/watch?v=irtqkj3fHxM&t=761s) 该排障智能体现已在 Meta 现代推荐系统(MRS)实战处理超过 1,000 起真实线上事故,将检测至缓解耗时(MTDM)降低超 60%,首个假说根因命中率超 40%,终极目标是将平均 9 小时的恢复时间压缩 95% 至 30 分钟以内。 - [06:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=408s) 系统确立了“无法引用即保持沉默”的硬性信任边界,智能体严格采用只读模式与“查询 - 推理 - 引用”范式,LLM 仅负责推理与归纳,坚决杜绝编造数据与幻觉生成。 - [08:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=528s) 团队实现了从提示词工程(Prompt Engineering)到上下文工程(Context Engineering)的思维跃迁,通过模块化工具、技能注册表与历史事故评估套件(Evals)实现系统的闭环自主进化。 ## Key takeaways - [00:00](https://www.youtube.com/watch?v=irtqkj3fHxM&t=0s) 2024 年底 Meta 的 Sev-0 级事故表明,靠资深工程师人肉救火的传统 On-call 模式不仅严重透支团队精力,而且面对跨数据中心级联故障时不可持续。 - [02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) Meta 现代推荐系统(MRS)日均承载数千亿请求,年均故障数千起且平均缓解耗时达 9 小时,排障面临跨 8+ 系统数据孤岛与专家经验不可全天候在线的双重痛点。 - [03:58](https://www.youtube.com/watch?v=irtqkj3fHxM&t=238s) “可靠性飞轮”通过四个阶段形成自增强闭环:海量故障模式识别、自主调查排障、受控自动缓解与全链路感知自愈基建。 - [03:58](https://www.youtube.com/watch?v=irtqkj3fHxM&t=238s) 人类工程师在系统中从直接“救火排障者”升维为“AI 教师与编排者”,负责将排障直觉与领域知识编码为结构化技能并把控系统进化方向。 - [04:54](https://www.youtube.com/watch?v=irtqkj3fHxM&t=294s) 通过对非结构化故障报告进行语义向量化聚类,Meta 建立了跨系统故障分类学,并根据运维成本(Ops Cost)对工程预防性投入进行精确 ROI 排序。 - [06:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=408s) 自主排障架构遵循消除幻觉的铁律:LLM 仅用于推理与综合,真实生产数据全量由工具动态调取,且输出结论必须强制附带可追溯的原始数据源链接。 - [08:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=528s) 上下文工程(Context Engineering)取代了脆弱僵化的提示词工程,通过可插拔的技能(Skills)与工作流(Workflows)动态载入生产上下文,实现分钟级假设验证循环。 - [11:15](https://www.youtube.com/watch?v=irtqkj3fHxM&t=675s) 面对复杂级联故障,AI 智能体可实现时序指标异动、配置变更灰度节奏与日志崩溃特征的毫秒级横向交叉关联,迅速锁定根因并生成针对性回滚建议。 - [12:41](https://www.youtube.com/watch?v=irtqkj3fHxM&t=761s) 底层平台化架构坚决替代点状方案,统一托管安全防护栏、编排引擎与上下文存储库,使业务团队能专注于自身领域拓扑与排障知识的编码沉淀。 - [14:30](https://www.youtube.com/watch?v=irtqkj3fHxM&t=870s) 可靠性智能体成熟度模型划分为四级(自动化审计、调查副驾驶、自主缓解、自愈系统),每一级权限释放均以严格建立系统信任为前提。 - [14:30](https://www.youtube.com/watch?v=irtqkj3fHxM&t=870s) 自主缓解划定了严格的硬性信任边界:初期保持只读模式,自动操作仅限低风险、可完全逆转且局部隔离的动作,并引入对抗性 AI 代码审查智能体把关。 - [16:56](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1016s) 工程师的生产力范式发生根本性跃迁:从反复在仪表盘与日志中“跳跃找图”的苦工中解脱,转向以生产真实事故数据驱动评测闭环的认知高地。 ## Detailed walkthrough ### [00:00](https://www.youtube.com/watch?v=irtqkj3fHxM&t=0s) 2024 年 12 月 11 日:一场席卷全 Meta 的 Sev-0 级故障 来自 Meta 的生产工程师(Production Engineer)Gaurav Mitra 开门见山,分享了团队如何尝试让 AI 智能体(AI Agents)与人类工程师并肩作战,共同维护 Meta 规模的超大型分布式系统。为了说明这一探索的紧迫性,Gaurav 带领大家回溯了一个令他久久无法忘怀的周三早晨——2024 年 12 月 11 日上午 9 点 52 分。 当时仅仅是一次例行的路由配置变更(routing change),却意外引入了异常,并在数分钟内迅速蔓延至多个数据中心区域,直接导致底层的 BGP 进程大面积崩溃。由于路由状态已在全网陷入不一致,常规的配置回滚完全无法恢复到干净状态,进而引发了长达 4 个小时的全系应用大瘫痪。Meta 内部随即拉响了最高级别的事故警报:Sev-0。这场故障引来了全球媒体的广泛关注,而背后的恢复过程更是一场恶战:来自数十个团队的工程师紧急介入,波及数百个微服务,内部开出了数百个故障工单,经历了数小时持续的高强度应急响应。甚至在极端情况下,工程师不得不亲自奔赴物理数据中心大楼,对服务器设备进行硬件冷启动(power cycling)。Facebook、Instagram、WhatsApp 等核心产品全线受到波及。 在互联网巨头公司的体量下,每年都会发生数千起类似但严重程度不一的事件,而公众通常感知不到。Gaurav 特别指出了常被忽视的隐性代价:“工程师们整整牺牲了一整周的睡眠,业务团队丢失了一周的产品路线图进展。”这种靠人肉救火的模式根本不可持续。其根源不在于工程师水平不足,而是因为能够处理此类极端故障的资深专家不可能 24 小时待命在岗。 - **故障时间点**:2024 年 12 月 11 日,上午 9:52 - **触发原因**:单次路由配置变更(routing change)诱发跨区域异常,引发 BGP 进程崩溃 - **故障定级与影响**:Meta 最高严重级别 Sev-0;全线产品中断 4 小时;波及数百个服务与数十个工程团队;需人工进入数据中心执行物理断电重启(power cycles) - **深层隐痛**:工程师严重透支精力与睡眠,产品路线图推进全面停滞 --- ### [02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) 推荐系统(MRS)的运维困境与“不再孤军奋战”的机遇 Gaurav 负责的是 Meta 现代推荐系统(Modern Recommendation Systems, MRS)的平台可靠性。作为底层的 Serving 和 Ranking 基础架构,该系统直接决定了全球数十亿用户在 Facebook、Instagram 和 Threads 信息流中看到的内容,每天支撑数千亿次的请求吞吐。在经历了无数次痛苦的 On-call 值班与不眠之夜后,团队开始反思:能否打造能够与工程师并肩值守的 AI 智能体?这一探索彻底改变了他们对平台可靠性工程职责的认知——工程师的角色正从亲自下场“调查故障”,演进为“教会 AI 如何调查故障”。 面对海量复杂的微服务系统,Meta 的目标是创造一个“让工程师永远不必孤立无援”的环境。在 MRS 体系中,每年发生数千起事故,平均每次事故的缓解与止损时间(MTTM)长达 9 个小时。排障过程中,工程师需要横向关联来自 8 个以上独立数据系统的信息,排错链路极其错综复杂。那些熟练掌握这些排障技巧的专家经验,都是经过无数次实战淬炼出来的“硬核稀缺知识”,往往高度封存在少数核心团队中。然而,当午夜警报骤响时,这些专家未必都能在线。若能为每一位值班工程师配备一位“洞悉全盘、如影随形”的资深 AI 专家伙伴,就能从根本上颠覆传统的救火模式。 - **MRS 业务规模**:负责 Facebook、Instagram、Threads 的推荐与排序,日均承载数十亿级请求 - **排障复杂度**:年均数千起故障,平均止损缓解耗时 9 小时,需交叉关联 8+ 基础数据系统 - **核心痛点**:专家经验高度壁垒化(Siloed expertise),且专家无法 24 小时在线救火 --- ### [03:58](https://www.youtube.com/watch?v=irtqkj3fHxM&t=238s) 核心愿景:构建“可靠性飞轮”(Reliability Flywheel) 为将这一构想落地,Meta 提出了“可靠性飞轮”(Reliability Flywheel)愿景。这是一个由四个阶段构成的自增强闭环:从海量历史故障的模式识别,到全自动化的智能排障,再到带安全护栏的自动缓解止损,最终迈向具备自愈能力的感知型基础设施。 在这套飞轮模型中,人类工程师始终处于核心编排者的位置,而非被动的旁观者。每一轮事故的反馈与专家经验的持续注入,都会驱动下一轮排障与预防运转得更加敏捷高效。 ```mermaid flowchart TD accTitle: Reliability Flywheel accDescr: A self-reinforcing reliability loop driven by engineers through four stages from pattern identification to self-healing infrastructure. subgraph Flywheel ["可靠性飞轮 (Reliability Flywheel)"] A["1. 模式识别<br/>(Pattern Identification)"] --> B["2. 自主调查<br/>(Autonomous Investigation)"] B --> C["3. 自动化缓解与护栏<br/>(Guarded Mitigation)"] C --> D["4. 自愈与自感知基建<br/>(Self-Healing Infrastructure)"] D --> A end E["人类工程师 (编排、评估与教学)"] -.->|持续注入专家经验| Flywheel ``` - **飞轮四阶段**: 1. **海量模式识别**(Pattern Identification):基于数以千计的真实故障挖掘根本原因聚类。 2. **自主排障调查**(Autonomous Investigation):复用聚合数据与工具链,达到媲美人类专家的调查精度。 3. **受控自动缓解**(Autonomous Mitigation with Guardrails):针对低风险、可逆操作实施自动化止损。 4. **全链路自愈基建**(Self-healing Infrastructure):让基础设施具备代理与可靠性自感知能力,在故障发生前防患于未然。 - **人机协同法则**:工程师是飞轮运转的核心驱动力;“飞轮之所以能持续加速,完全是因为工程师在源源不断地传授专业经验。” --- ### [04:54](https://www.youtube.com/watch?v=irtqkj3fHxM&t=294s) 第一阶段:基于语义聚类的大规模故障模式识别与运维成本归因 飞轮的第一步是盘活沉淀的庞大资产——故障数据。Meta 每周都会产生数百起故障记录,团队构建了基于 LLM 的专用智能体,对这些非结构化的故障报告进行语义向量化嵌入(semantic embedding),并依据根本原因相似度进行聚类分析。 对于聚类出的每一个大类,系统会调用并行智能体对其进行深度解构,拆解为更具象的子模式(subpatterns),并结合 LLM 深度推理进行信息富化。接着,系统会对这些模式进行“运维成本”(Operational Cost)量化评分。这里的运维成本不仅包含事故发生时现场排障救火的时间,还包含了事故后团队花费数天跟进、修补与复盘的精力,甚至综合考量了该故障向外溢出至公众层面的舆情影响。这使得工程团队能够按照真实 ROI 对预防性投入进行优先级排序,而不是凭直觉乱开工。工程师的职责随之升维:无需再做机械性脏活累活,转而专注于校验聚类成果、提炼命名故障模式,并拍板决定向哪些系统弱点优先注入研发资源。 - **系统性故障分类学(Failure Taxonomy)**:打破服务边界,使以往孤立、看不见的跨服务共性问题浮出水面。 - **运维成本归因(Ops Cost Attribution)**:精准定位爆破半径最大、直接影响用户信息流体验的核心隐患,把力气花在刀刃上。 - **前瞻性防御**:“我们不是在扑灭今天的火灾,而是在扑灭下个季度的同品类潜在火灾。” --- ### [06:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=408s) 第二阶段:自主排障架构设计与“消除幻觉”三大原则 在完成海量故障模式提炼后,团队将成果应用于自主故障调查。该系统的核心在于由资深专家编码并固化的排障技能(Skills)与工作流(Workflows)。这些资产存放在由编排层统一管理的“上下文存储库”(Context Store)中,编排层配备了“工作流导航器”(Workflow Navigator)以动态调用。 在整体架构中,LLM 的职责被严格限定为“针对调查方向进行推理”以及“对获取到的数据进行归纳分析”,模型严禁无中生有地生成数据。底层设有专门的数据集成层(Data Integration Layer),负责实时调取前述 8 个以上监控系统中的真实生产信号。智能体输出高度结构化的诊断结果:包括按可信度排序的根因假说、交叉比对的证据链、以往验证有效的缓解建议,最关键的是,每一个结论都强制附带原始数据源引用链接。这项设计彻底保障了排障结论的真实性,实现了真正的“零幻觉”。 - **核心设计哲学**: 1. **人传授,机执行**:人类负责将专家直觉编码为工具与逻辑,智能体负责极速执行。 2. **LLM 只推理,绝不编造数据**:全部数据严格由工具从生产环境中动态拉取。 3. **全程 Human-in-the-Loop**:在关键决策点保留人类介入审查机制。 4. **“查询 - 推理 - 引用”(Query, Reason, Cite)**:从系统设计层面将幻觉直接排除,而非在幻觉生成后打补丁。 - **终极目标**:为值班人员提供一个在凌晨 3 点随时接管战场、免除深夜被叫醒之苦的顶级 Copilot。 --- ### [08:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=528s) 上下文工程(Context Engineering)与分钟级假设验证循环 在长达数月的技术迭代中,团队经历了一次重大的思维跃迁:他们放弃了在初始 Prompt 上死磕措辞的传统“提示词工程”(Prompt Engineering),转而全力拥抱“上下文工程”(Context Engineering)。 Gaurav 解释道,提示词工程极其脆弱,知识被死板地固化在 Prompt 模板中,一旦遇到新型故障模式就会当场失效;而上下文工程则具备极强的横向扩展性。知识被模块化地沉淀在工具(Tools)、技能(Skills)和工作流(Workflows)及其组合中。当需要扩充智能体的能力时,无需重写 Prompt,只需新增或迭代一个技能即可。系统还引入了技能评估体系(Evals),通过监测排障盲区实现自主迭代优化。 当监控报警触发时,意味着系统已发生性能回归或故障断损。此时 LLM 规划器(Planner)迅速介入,从现有的数百个工作流和数千个技能中挑选出最优组合并载入上下文,瞬间发起并行的生产环境数据抓取。以往由人类排查这些散落在各大仪表盘、图表与表格中的数据,通常需要耗费 30 到 45 分钟(在凌晨 3 点昏睡状态下耗时往往更长);而智能体能够不受时间影响,在短短几分钟内将海量生产数据汇聚、提炼,并生成初步的根因假设。值班工程师随后即可与智能体进入快速的“假设精炼反馈循环”(Hypothesis refinement loops),共同推进故障定位。 - **Prompt 工程 vs 上下文工程**: - *Prompt 工程*:知识僵化、面对全新故障极易失效、脆弱且不可扩展。 - *上下文工程*:以工具和可复用工作流为载体,按需即插即用,配套闭环 Eval 持续进化。 - **排障效率对比**: - *人工并行取数*:耗时 30-45 分钟,深夜疲倦时耗时更久。 - *Agent 并行协同*:全天候几分钟内完成,迅速输出根因假说并支持与人类进行持续的假设精炼。 ### [11:15](https://www.youtube.com/watch?v=irtqkj3fHxM&t=675s) 重演 12 月级联故障:AI 智能体如何将 28 小时缩短至 15 分钟 演讲者带领观众重新复盘了 2024 年 12 月那场因单一配置变更而导致 Meta 耗费 50 多名工程师、历时 28 小时才得以恢复的重大级联故障。如果当时有可靠性智能体(Reliability Agent)在场,整个排障链路将会被彻底重塑。排查会从时序指标查询开始:智能体能瞬间定位异常模式及其影响的特定区域,例如捕捉某个金丝雀发布(canary)所呈现的特定图表特征。 一旦锁定了关键的时间窗口,智能体便能以此为基准横向关联其他数据源。它会在对应的时间切片内筛查所有相关的配置变更(config changes),比对这些配置的灰度部署节奏是否与最初发现的时序图表异常吻合;同时,它还能通过日志分析系统快速下钻到深层组件,分析如 BGP 路由进程的崩溃特征。随后,智能体查询历史知识图谱与过往类似事故的模式库,推导出最具确定性的缓解策略。如果判断为低风险动作,智能体可以直接执行;若涉及高风险操作,则将精准的排查结论与缓解方案即时推送给值班工程师(on-call)。原本让数十位工程师鏖战数小时、后续复盘整改耗费数天的严重级联事故,"本可以在 15 分钟的调查与一次针对性回滚中彻底终结"。演讲者感叹道,这在今天并非遥不可及的幻想,而是已经在生产环境中落地运转的现实。 ```mermaid flowchart TD accTitle: AI 故障排查与缓解决策流 accDescr: 展示 AI Agent 在故障发生时从时序检测到自动或监督缓解的完整工作流 subgraph Detection["多维信号关联检测"] TS["时序指标查询<br/>(定位异常区域与金丝雀模式)"] WIN["锁定关键时间窗口"] CFG["配置变更与发布分析<br/>(比对部署与图表特征)"] LOG["日志深度分析<br/>(如 BGP 进程崩溃特征)"] end subgraph Reasoning["知识推导与决策"] KG["历史知识图谱<br/>与故障模式库检索"] PLAN["生成精准缓解方案"] end subgraph Mitigation["执行缓解"] AUTO["低风险动作:<br/>智能体自主定向回滚"] HUMAN["高风险动作:<br/>推送值班工程师监督审批"] end TS --> WIN WIN --> CFG WIN --> LOG CFG --> KG LOG --> KG KG --> PLAN PLAN -->|评估为低风险| AUTO PLAN -->|需要人工介入| HUMAN ``` --- ### [12:41](https://www.youtube.com/watch?v=irtqkj3fHxM&t=761s) 平台化治理与生产实战成果:缩短 60% 响应时间 在系统工程层面,Meta 坚决摒弃各团队各自为政的“点状解决方案”(point solutions),将全部重心投入到底层平台化(platformization)建设。演讲者特别提到,团队内的 David 和 Shrupa 等核心架构师此前都反复强调过平台化与防护栏(guardrails)的重要性。平台化架构将关注点清晰解耦:业务与领域团队无需重复造轮子,他们只需专注于将自身最熟知的领域知识、故障模式特征、微服务拓扑和排障工作流进行结构化编码;底层的通用平台则统揽一切重型基础设施,包括安全防护栏、编排引擎、工具服务器集成、工作流执行环境、上下文存储库(context stores)以及技能注册表(skill registries)。 这一体系已经在生产环境中得到了严苛检验。在推荐系统等核心业务中,排查智能体已经实际处理了超过 1,000 起真实线上事故,将从“发现到缓解”(Detection to Mitigation, MTDM)的全流程耗时压缩了 60% 以上。不仅如此,在超过 40% 的事故中,智能体提出的第一个根因假设(root cause hypothesis)就完全命中真实原因。演讲者指出,40% 的首次命中率看似并不惊人,但其巨大价值在于其余 60% 的排查过程中,智能体能迅速排除大量看似相关、实则无关的干扰分支(false leads),从而为人类工程师省去了耗时费力的盲目排查,直接压低平均恢复时间。目前 Meta 平均的故障处理时长约为 9 小时,而团队已经立下了一个激进的目标:实现 95% 的时间压缩,将每起事故的 MTDM 彻底压到 30 分钟以内。这一目标的底气不仅来自底层大语言模型本身的演进,更源于工程师在持续将更优质的排障工作流写入系统,技能与事件库也在生产实践中自主进化迭代。 - **实战压测规模**:深入 Meta 核心推荐系统,已实战排查 1,000+ 起真实事故。 - **效率压缩指标**:发现至缓解耗时(MTDM)降低 60% 以上;终极目标为降低 95%,实现单次事故平均处理时间少于 30 分钟(当前均值约为 9 小时)。 - **根因命中率**:首个推导假设直击根因的比例超 40%,且其余案例能有效证伪无关路径、消除排查噪音。 --- ### [14:30](https://www.youtube.com/watch?v=irtqkj3fHxM&t=870s) 可靠性成熟度模型与硬性信任边界 为实现系统化落地,团队制定了一套自下而上的四层“可靠性智能体成熟度模型”(Maturity Model),每一层能力的放行都必须建立在上一层完全赢得系统信任的基础之上: | 成熟度等级 | 核心定位 | 职责边界与运作机制 | |:--- |:--- |:--- | | **Level 1** | **自动化审计(Automated Audits)** | 可靠性审计智能体全量扫描历史事故数据,自主挖掘失败模式,持续构建并更新故障分类体系与知识图谱。 | | **Level 2** | **调查副驾驶(Investigation Co-pilots)** | 智能体实时接入线上故障,结合知识图谱执行全自动根因分析(Auto-RCA),并向人类工程师提供建议缓解步骤。 | | **Level 3** | **自主缓解(Autonomous Mitigation)** | 在极其严格的信任边界下,赋予智能体执行小范围、完全可逆(reversible)的定向回滚能力。 | | **Level 4** | **自愈系统(Self-Healing Systems)** | 将系统不变量(System Invariants)编码至整个软件生命周期中,结合实时生产信号推行“可靠性感知开发”,在故障爆发前将其扼杀。 | 演讲者强调,在迈向自主缓解的过程中,团队划定了极其严苛的“硬性信任边界”(hard trust boundary)。最初阶段,所有智能体均在只读(read-only)模式下运行,配合严格的架构护栏,仅凭只读排查就斩获了 60% 的 MTDM 收益。针对业内普遍观察到的“AI 辅助生成的代码往往潜藏更高事故风险”这一现实,团队引入了对抗性机制——部署专门的 AI 代码审查智能体(AI Code Review Agents),像对手一样对其他智能体生成的代码进行严格审查。 当推进到 Level 3 的自动缓解时,系统遵循三项铁律:第一,仅限于孤立系统中的低风险、可完全逆转的操作,绝不允许触碰波及全局的基础架构;第二,“透明化推理是不可谈判的底线”(transparent reasoning is non-negotiable),所有行为全链路打标落盘,任何推论都必须精确回溯到具体的数据查询与底层监控结果,坚决杜绝模型幻觉;第三,系统确立了一条安全红线——“智能体只要无法给出事实引用,就必须保持绝对沉默(If an agent can't cite something, it stays silent)”。演讲者直言,衡量一个可靠性智能体是否真正立足的终极标准非常朴素:“当值班工程师在轮值之夜能睡个好觉时,这个智能体才算真正赢得了它的生存资格。” --- ### [16:56](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1016s) 核心启示:工程师从做苦工走向认知跃迁 在演讲的最后阶段,演讲者提炼了这一路走来的核心底层逻辑,并向全体软件工程师发出了思维范式转换的呼吁: 1. **编码沉淀,而非盲目重新发明轮子**:智能体本身毫无魔法可言,它的表现上限完全受限于人类工程师赋予它的技能质量与工作流设计。 2. **上下文远重于模型参数**:决定排查成败的关键并非底层大语言模型本身的参数量或 Prompt 技巧。基础模型正以指数级速度进化,但无论换用何种基座,能否将高质量的生产环境上下文喂给模型才是决定性胜负手。 3. **平台化重于点状方案**:必须坚持在统一平台上堆叠安全护栏,让各领域团队专注于安全复用和灵活编排,杜绝失控的野蛮生长。 4. **以评测驱动质量闭环**:对发现至缓解的时间进行毫不松懈的全链路度量,每一项注入的排查技能都挂载了基于真实生产事故(Sev Data)的自动化评估套件,实现技能的持续反馈与自我修复。 这一整套飞轮运转的本质是:“检测、调查、缓解、编码、自愈,然后循环往复”(Detect, investigate, mitigate, encode, heal, and then repeat)。这不仅是为了防止 2024 年 12 月那种 28 小时的灾难性配置故障再次上演,更是对工程师生产力本质的解放。整场探索的核心其实“并不关乎纯粹的 AI 技术,而关乎人类如何教会 AI”。人类工程师正在从机械繁琐的泥潭中彻底抽身——告别在海量仪表盘之间来回切换的“看板跳跃”(dashboard hopping),不再肉眼逐张排查图表、人工翻找日志苦工。工程师的认知层级被整体拔高了一层抽象度,将排障智慧沉淀为长效系统,而在每一个黑夜值守时,后台总有一位永不疲倦的可靠性卫士在替人类守夜。 ## Notable quotes > [00:00](https://www.youtube.com/watch?v=irtqkj3fHxM&t=0s) 工程师们整整牺牲了一整周的睡眠,业务团队丢失了一周的产品路线图进展。 — Gaurav Mitra > [02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) 教会 AI 如何调查故障 — Gaurav Mitra > [02:03](https://www.youtube.com/watch?v=irtqkj3fHxM&t=123s) 让工程师永远不必孤立无援 — Gaurav Mitra > [03:58](https://www.youtube.com/watch?v=irtqkj3fHxM&t=238s) 飞轮之所以能持续加速,完全是因为工程师在源源不断地传授专业经验。 — Gaurav Mitra > [04:54](https://www.youtube.com/watch?v=irtqkj3fHxM&t=294s) 我们不是在扑灭今天的火灾,而是在扑灭下个季度的同品类潜在火灾。 — Gaurav Mitra > [06:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=408s) 人传授,机执行 — Gaurav Mitra > [06:48](https://www.youtube.com/watch?v=irtqkj3fHxM&t=408s) LLM 只推理,绝不编造数据 — Gaurav Mitra > [11:15](https://www.youtube.com/watch?v=irtqkj3fHxM&t=675s) 本可以在 15 分钟的调查与一次针对性回滚中彻底终结 — Gaurav Mitra > [14:30](https://www.youtube.com/watch?v=irtqkj3fHxM&t=870s) transparent reasoning is non-negotiable — Gaurav Mitra > [14:30](https://www.youtube.com/watch?v=irtqkj3fHxM&t=870s) If an agent can't cite something, it stays silent — Gaurav Mitra > [14:30](https://www.youtube.com/watch?v=irtqkj3fHxM&t=870s) 当值班工程师在轮值之夜能睡个好觉时,这个智能体才算真正赢得了它的生存资格。 — Gaurav Mitra > [16:56](https://www.youtube.com/watch?v=irtqkj3fHxM&t=1016s) 并不关乎纯粹的 AI 技术,而关乎人类如何教会 AI — Gaurav Mitra ## Mentioned Meta, Gaurav Mitra, David, Shrupa, Facebook, Instagram, WhatsApp, Threads, MRS (Modern Recommendation Systems), BGP, @Scale ## Video description In December 2024, a single config change at Meta took 50+ engineers and 28 hours to recover from. What if an AI agent had detected the cascade in seconds and proposed the rollback before it propagated? Over the past year, we've been building exactly that. This talk introduces the reliability flywheel: a system that encodes the best on-call engineer's investigation methods into an always-on copilot that gets sharper with every incident. Our investigation agent has handled 1,000+ incidents across Meta's recommendation systems, cutting detection-to-mitigation time by 60% and matching senior on-call engineers ~80% of the time. It correlates signals across time-series metrics, deployment logs, configuration changes, and infrastructure health through a context-engineered architecture: structured tool servers and reusable workflows. We'll trace the full progression: (1) pattern identification across hundreds of incidents, (2) autonomous investigation that matches human accuracy, (3) supervised mitigation for low-risk reversible actions, and (4) self-healing as the long-term outcome. You'll leave with what worked, what didn't, and how we think about the trust boundary between autonomous agents and human engineers in production. Go beyond the session and learn more in the featured article here: https://atscaleconference.com/teaching-ai-to-fight-fires-building-the-reliability-flywheel-at-meta/ Learn more about the @Scale conferences here: atscaleconference.com [Source](https://www.youtube.com/watch?v=irtqkj3fHxM)

Source quotes

[0:00] Gaurav Mitra: 工程师们整整牺牲了一整周的睡眠,业务团队丢失了一周的产品路线图进展。 [2:03] Gaurav Mitra: 教会 AI 如何调查故障 [2:03] Gaurav Mitra: 让工程师永远不必孤立无援 [3:58] Gaurav Mitra: 飞轮之所以能持续加速,完全是因为工程师在源源不断地传授专业经验。 [4:54] Gaurav Mitra: 我们不是在扑灭今天的火灾,而是在扑灭下个季度的同品类潜在火灾。 [6:48] Gaurav Mitra: 人传授,机执行 [6:48] Gaurav Mitra: LLM 只推理,绝不编造数据 [11:15] Gaurav Mitra: 本可以在 15 分钟的调查与一次针对性回滚中彻底终结 [14:30] Gaurav Mitra: transparent reasoning is non-negotiable [14:30] Gaurav Mitra: If an agent can't cite something, it stays silent [14:30] Gaurav Mitra: 当值班工程师在轮值之夜能睡个好觉时,这个智能体才算真正赢得了它的生存资格。 [16:56] Gaurav Mitra: 并不关乎纯粹的 AI 技术,而关乎人类如何教会 AI

Source quotes

[6:49] Gaurav Mitra: Context engineering scales where prompt engineering fails. [6:49] Gaurav Mitra: LLMs reason, tools provide data. [18:45] Gaurav Mitra: The real answer turned out to be it isn't really just about AI. It's about more humans who teach AI.

Original transcript

[0:00] All right, good afternoon everybody. I'm [0:02] Gaurav. I'm a production engineer at [0:04] Meta. [0:05] And today I'll be talking about how [0:07] we're trying to teach AI how to fight [0:09] fires alongside us. [0:11] Essentially, we're trying to put AI [0:13] agents alongside us, engineers who keep [0:15] large systems running at our Meta scale. [0:18] Let's start by talking about a Wednesday [0:20] morning that I won't forget anytime [0:22] soon. [0:24] December 11th, 2024, 9:52 a.m. [0:28] A routing change, one config change, an [0:30] anomaly propagated across regions within [0:33] minutes, started crashing our BGP [0:36] processes. [0:38] Led to an outage of 4 hours across our [0:42] apps. [0:43] As routing had already become [0:44] inconsistent, rollback attempts could [0:47] not restore a clean state. [0:49] We declared a sev zero, as the highest [0:52] incident classification we've got at [0:53] Meta. [0:55] It was a massive outage, wide media [0:57] attention. [0:59] Here's what it took to get out of it. [1:03] Scores of engineers across tens of [1:06] teams, hundreds of services affected, [1:09] hundreds of sevs opened internally, [1:12] hours of continuous incident management. [1:16] Physical power cycles were actually [1:18] required within data centers. We're [1:19] talking people going into buildings and [1:21] power cycling machines. All our products [1:23] were affected, Facebook, Instagram, [1:25] WhatsApp, so on. [1:27] Now, at an internet scale company like [1:29] ours, this isn't an unusual event. [1:33] It happens thousands of times a year, [1:35] and hopefully you don't get to see it [1:36] that often. [1:39] Now, the cost that we actually don't [1:41] talk about that often, [1:43] engineers lost a week of sleep. [1:46] Teams lost a week of road map work. [1:48] This actually isn't sustainable. [1:51] And it isn't because engineers aren't [1:52] good enough. It's because experts who [1:55] [snorts] can handle these [1:56] can't be at watch at all times. We can't [1:58] be online. We can't be on call at all [2:00] times. [2:03] Now, why do I care about this? [2:05] I'm a production engineer leading [2:07] reliability for large-scale modern [2:09] recommendation systems MRS. [2:12] This is the serving and ranking [2:13] infrastructure that makes Facebook, [2:16] Instagram, Threads posts relevant for [2:18] you. [2:19] My team operates services that handle [2:22] billions of requests on a daily basis. [2:25] After years of rough on-call shifts and [2:27] long nights, we started building AI [2:30] agents to ride alongside us for our next [2:32] shift. [2:34] The results have changed how I think [2:37] about the evolution of our role that we [2:40] play and our expertise in platform [2:42] reliability. [2:44] We're actually moving the paradigm from [2:46] investigating [2:48] to actually teaching how to investigate. [2:51] Now, before I show you what we built, [2:54] let me frame the problem. [2:57] We're presented with an incredible [2:59] opportunity today. [3:01] What if you never had to investigate [3:04] alone? [3:06] In MRS, we have thousands of incidents [3:08] per year. [3:10] On average, each of these take about 9 [3:12] hours to mitigate. [3:14] Eight plus data systems have signals [3:17] that we have to correlate against. [3:19] It's incredibly complex. [3:21] And people who get good at this while [3:24] doing these investigations have very [3:26] hard-won expertise. This is very scarce. [3:29] This is siloed in very few teams. [3:32] And this expertise is most useful [3:35] when an alert fires. [3:38] But, not all of these experts can be [3:40] online when every alert fires. [3:43] Now, the opportunity is actually to make [3:45] sure no engineer investigates alone, and [3:49] you have a partner, an expert partner, [3:51] who's seen it all, who's sitting right [3:53] beside you. [3:54] That's where we want to get to. [3:58] Our vision is to create a reliability [4:01] flywheel. [4:02] A self-reinforcing loop with four [4:04] stages. [4:06] Starting with pattern identification [4:08] across thousands of incidents at meta [4:11] scale, our scale. [4:12] Autonomous investigations that can [4:14] leverage all of that data. [4:17] Autonomous mitigations with guardrails [4:19] in place at as David mentioned. [4:22] And eventually getting to a self-healing [4:25] reliability-aware [4:27] agent-aware infrastructure that can [4:29] prevent things from happening before [4:31] they happen. [4:33] Engineers are at the center of this [4:35] flywheel. [4:36] They're orchestrating this. They're not [4:38] passengers. [4:39] Each turn makes the next one faster. [4:43] The flywheel only spins because [snorts] [4:44] engineers keep teaching it. [4:47] Now, I'll walk you through each stage of [4:49] this and what we built for it and what's [4:51] actually working in production. [4:53] >> [snorts] [4:55] >> Now, what we have a lot of is incident [4:57] data. We have hundreds of these [4:59] incidents every week and we've created [5:02] LLM-based agents that can semantically [5:04] embed and cluster these by root cause [5:07] similarity. [5:09] For each cluster, we have parallel [5:11] agents decomposing into subpatterns. [5:14] And then [5:15] enriching with LLM analysis. This is the [5:18] difference maker that we've had in the [5:19] past 6 months. [5:21] And then score them by operational cost. [5:23] And what's operational cost? It's the [5:25] time we spend during an incident, [5:27] debugging it, and then following up on [5:29] it, the days of effort that comes after [5:31] an incident as well. [5:33] And we are now able to rank prevention [5:35] investments based on the highest [5:37] clusters based on operational cost as [5:40] well as [5:41] fallout that has happened, let's say, [5:42] publicly. [5:44] Now, engineer's job actually has moved [5:46] up. [5:47] We are validating these clusters. We're [5:49] naming these patterns. We're deciding [5:51] which ones to invest in. [5:53] The agent is doing all the grunt work [5:55] that we used to do before. The engineer [5:57] does the judgment. [6:01] Now, what we've learned from this is [6:02] actually very interesting. [6:05] We're able to actually create a systemic [6:07] failure taxonomy [6:09] that spans across incidents across the [6:12] company. [6:13] Things that were not evident before are [6:15] now becoming cross-service patterns. [6:18] They they are emerging. [6:20] Ops cost attribution has allowed us to [6:22] figure out where the most high ROI [6:24] investments are in terms of preventions [6:27] that we can make. [6:28] Things that are highest plus radius, [6:30] things that are showing up as problems [6:33] for your feed. [6:35] This is how we're actually preventing [6:38] early enough, and we're not fighting [6:41] today's fire, but we're trying to fight [6:43] next quarter's class of fires. [6:49] We're moving now from pattern analysis [6:52] at scale [6:53] to autonomous investigations using all [6:55] of that pattern analysis. [6:58] At the center of this are skills and [7:01] workflows that are encoded by our [7:03] experts. [7:05] These live in a context store which is [7:07] managed by an orchestration layer [7:10] that has a workflow navigator that can [7:11] draw from these skills and workflows. [7:14] The LLM's job in this case, central to [7:16] the agent, is it about to reason about [7:19] what to investigate, and then reason [7:21] about the data that is then being [7:23] fetched. LLMs never generate the data. [7:26] Tools provide all the data, and that's [7:28] where we have a data integration layer. [7:31] The integration layer pulls up [7:32] production signals, all of the signals [7:34] that are composing all our services [7:37] uh [7:37] from the eight plus systems that I [7:38] mentioned. [7:40] And the LLM essentially decides what to [7:42] do next based on what is available in [7:44] the context. [7:45] The output it produces is very [7:47] structured. It has ranked root cause [7:49] hypotheses. It has correlated evidence, [7:51] mitigation recommendations, steps that [7:53] have worked in the past from our pattern [7:55] analysis. And every claim that it makes [7:58] is linked to source data that was used [8:00] to derive that claim. [8:02] No hallucinations. [8:04] It's key to this. [8:07] What does it all come back to? [8:10] A co-pilot, an expert that every [8:12] engineer wishes they had at 3:00 a.m. I [8:15] really don't want to wake up at 3:00 [8:16] a.m. I want an agent to handle this for [8:18] me. [8:19] Now, what's been working really well for [8:21] us are these design principles. Humans [8:23] are encoding their expertise, agents are [8:25] executing it. [8:26] LLMs reason, never generate data. [8:30] And humans are in the loop at every one [8:32] of these levels. [8:34] The guardrail here is most important, as [8:36] you've been hearing from other folks as [8:37] well. [8:38] Query, reason, site. We effectively [8:42] designed hallucination out of the [8:44] system, not around it. [8:48] Now, after months of iteration with [8:51] several different approaches, the [8:52] breakthrough that we found [8:55] is when we stopped optimizing what we [8:57] asked the model in an initial prompt, [9:00] and started optimizing what the model [9:01] could see in its context. [9:04] Prompt engineering is fragile. Knowledge [9:07] gets trapped in these prompts. It breaks [9:09] the moment a new failure mode actually [9:11] shows up. [9:13] Context engineering is something that [9:15] has actually scaled for us. [9:17] Knowledge lives in tools, in skills, in [9:19] workflows, in compositions of these. And [9:22] any agent can actually use these. [9:24] Adding a capability doesn't mean we're [9:27] rewriting a prompt. We're just adding a [9:28] new skill or improving an existing one. [9:31] And we have evals for all of these [9:33] skills that are also self-improving them [9:36] over time, looking at all the gaps that [9:37] it has hit. [9:41] Now, this is probably the most important [9:43] piece for an agent. [9:45] We have so many data sources and signal [9:48] sources [9:49] that we need a lot of LLM planning and [9:52] understanding on what workflow to pick [9:54] because we have hundreds of workflows, [9:56] thousands of skills at this point. So, [9:58] what does an agent actually decide to [9:59] use during an investigation? [10:02] It all starts with an alert and at that [10:05] point a regression has happened or [10:06] something is broken and the alert fires. [10:09] An LLM planner kicks in, picks most [10:12] likely the best workflow it can find, [10:14] the skills that are composing that [10:15] workflow are loaded [10:17] and essentially at that point parallel [10:19] data gathering ensures. [10:21] All the production data, things that we [10:24] can see at that point, things that have [10:25] not yet broken are gathered by the LLM. [10:29] And a lot of synthesis happens and LLM [10:32] then produces our hypotheses. [10:35] Now, think about this for a second. This [10:37] parallel data gathering was manual [10:39] before. [10:41] If I was doing the investigation, it [10:42] probably take me 30 to 45 minutes [10:45] looking at different dashboards, [10:46] different charts, different tables. And [10:48] if it's 3:00 a.m., it's probably longer [10:50] than that, right? [10:52] Now, we are compressing that into a few [10:54] minutes regardless of the time that it's [10:56] been invoked at. [10:57] We are essentially going into hypothesis [11:00] refinement loops with our agents. [11:03] We're telling it maybe this doesn't look [11:04] like the right RCA. Let's look at [11:06] something else because that's not what [11:09] I'm seeing in my charts. [11:15] Let's replay what would happen if an [11:17] agent actually handled that December [11:19] outage I talked about. [11:21] It would start with, let's say, a time [11:23] series query where it would find the [11:25] anomaly, which regions it went out to, [11:29] uh maybe a pattern in the charts that [11:31] would point to something specific. Maybe [11:33] it was a canary that has specific chart [11:35] pattern. [11:37] And after it has these it has defined [11:39] things time windows that it can then [11:40] query other things against. So maybe if [11:43] we look at config changes that have [11:45] happened in those time windows. And [11:47] maybe the deployment patterns of those [11:49] config changes also matches some chart [11:51] patterns that we all also find in step [11:53] step one. [11:55] It also starts looking at let's say [11:57] crash patterns of the BGP process in [11:58] this case through log analytics. [12:02] Querying previous knowledge graphs and [12:04] pattern analysis of similar incidents [12:06] might reveal what the next mitigation [12:08] steps might be. [12:09] And at that point the agent is able to [12:11] either do it themselves [12:13] if it's a low risk mitigation or if it [12:15] deems low risk or propose the [12:17] mitigations for the on-call. [12:20] The cascade that took scores of [12:22] engineers several hours of mitigations, [12:25] days of follow-ups [12:27] could have been a 15-minute [12:29] investigation and a targeted rollback. [12:32] Think about that for a second. This is [12:34] actually possible today with what we're [12:36] doing. [12:37] Amazes me. [12:41] We're focusing heavily on [12:42] platformization. [12:44] It's very important that we build [12:46] guardrails in place. [12:47] David's talked about this. Shrupa's [12:49] talked about this. [12:52] Keeping it in a single platform ensures [12:54] that we can have the right guardrails in [12:56] place for that platform. And our domain [12:58] teams focus on encoding their [13:00] understanding of what they know best, [13:02] their failure patterns, their services, [13:05] their workflows. The platform handles [13:07] all the guardrails, the orchestration, [13:09] the tool integrations, the workflow [13:11] executions, the context stores, [13:13] skill registries. [13:16] This is the platform versus point [13:19] solutions and lessons that we're trying [13:21] to make concrete better. [13:25] Now these agents are actually helping in [13:26] production. That's the best part. We're [13:29] seeing more than 60% reduction [13:32] of time from detection to mitigation [13:34] across our incidents at least over 1,000 [13:37] plus incidents investigated 60 plus 60% [13:41] plus [13:42] improvements. [13:43] Compression as I called it before across [13:46] these. [13:47] Over 40% of the time the first root [13:49] cause hypothesis that the agent [13:51] generated was correct. Now 40% might [13:54] seem a bit low, [13:56] but the rest of the time is also able to [13:58] rule out things that somebody else would [14:01] have looked at. That also helps in what [14:03] matters reducing the MTDM. [14:07] We have a very aggressive target of 95% [14:10] reduction. [14:11] Essentially less than 30 minutes per [14:12] incident. We have average 9 hours today. [14:15] Not because the models are just getting [14:17] better. I mean they are, but because we [14:19] are as engineers are keep encoding [14:21] better workflows and the skills and [14:23] events we have in place are getting [14:25] better over time autonomously as well. [14:30] Now that we have talked about agentic [14:32] pattern identification and [14:34] investigations in place, let's talk [14:36] about a maturity model that we're [14:38] working towards for our agents. [14:40] At level one I talked about we have [14:41] automated audits. We have reliability [14:43] audit agents that are producing failure [14:45] patterns, taxonomies, knowledge graphs [14:48] that are constantly getting updated from [14:50] our incident data. [14:52] Then we talked about investigation [14:53] co-pilots in level two where taking [14:56] these incidents live as well as the [14:57] patterns that have been mined before. [14:59] Co-pilots are able to do auto RCA as [15:02] well as suggest mitigation steps. [15:05] And slowly but surely we're moving [15:07] towards autonomous mitigation. [15:09] We're able to have the agents do [15:11] targeted rollbacks, reversible ones that [15:15] are able to mitigate incidents, but [15:17] we're taking a very hard trust boundary [15:18] on these. [15:20] And our eventual self-healing systems [15:22] are what we're working on today. [15:25] System invariants are being encoded such [15:27] that agents can actually do [15:29] reliability-aware development, pairing [15:32] production signals with invariants that [15:34] don't need to change. [15:35] So that we can prevent things from [15:37] happening before that. [15:39] Each level is earned by demonstrating [15:42] trust and reliability at the previous [15:45] one. [15:48] Most importantly, we're operating at a [15:50] very hard trust boundary. We started [15:53] read-only with architectural guardrails [15:55] in place. [15:56] >> [snorts] [15:57] >> We got 60% wins at that stage. [16:00] We've also seen AI-assisted code [16:03] generated by agents has higher incident [16:05] risk. We're mitigating that with also [16:07] introducing AI code review agents that [16:10] are also helping adversarially in [16:12] checking what agents are generating. [16:16] Auto mitigations at level three of the [16:18] maturity model starting low risk with [16:20] only reversible things, changes that are [16:23] isolated, not system-wide changes. [16:26] And essentially transparency, [16:28] transparent reasoning is non-negotiable [16:30] for all of our systems. [16:33] We're logging everything. Every [16:35] conclusion traces back to a specific [16:37] query and a result, never generated [16:40] data. If an agent can't cite something, [16:42] it stays silent. [16:45] Bottom line, an agent earns its keep [16:48] when on-calls start sleeping better. [16:51] That's why we're doing this. That's why [16:53] I'm here. [16:56] So to recap all of these together, here [16:58] are the key takeaways. [17:00] We're encoding, not reinventing [17:02] anything. The agent is only as good as [17:04] the workflows and the skills that it's [17:06] using. It's not magic. [17:09] Context is much greater than parameters [17:11] or prompts that are living with these [17:13] parameters. The model is in the [17:16] constraint. Models are getting better at [17:18] an exponential pace. The context the [17:20] models can see is far more important [17:22] regardless of what model you're using. [17:24] We are setting the ceiling as engineers. [17:26] The flywheel is spinning because we're [17:28] spinning it. [17:30] Trust is incremental. At each level of [17:33] autonomy of the maturity model, we have [17:34] to earn trust in the previous one. [17:36] And our platformization is much more [17:38] important than point solutions that [17:40] teams might create because guardrails [17:42] are very important. [17:44] We're building infrastructure that [17:45] domain teams can safely, reliably [17:48] compose on top of. We're measuring [17:50] relentlessly end-to-end time from [17:52] detection to mitigation. [17:54] Every skill that we're using has an [17:56] evaluation attached to it that is [17:59] looking at production data, sev data, [18:02] and then suggesting fixes for the skills [18:04] themselves. So, it will get better over [18:07] time, and we're entirely focused on [18:08] quality through evals. [18:11] So, to recap all of this, that's really [18:14] how we want to forget December 11th. [18:17] One config change that hopefully led to [18:20] an outage that never happened. [18:22] The cascade that required so many [18:23] engineers, several hours of pain, might [18:26] have been a 15-minute investigation and [18:28] a targeted rollback. [18:29] Detect, investigate, mitigate, encode, [18:33] heal, and then repeat. The flywheel [18:36] keeps spinning. [18:37] This isn't science fiction. We're in [18:39] this today. We're doing this live in [18:40] production. We're working on [18:42] self-healing systems. [18:45] So, we started by asking, what if every [18:48] shift you had an expert [18:50] that rode alongside you? [18:52] The real answer turned out to be it [18:54] isn't really just about AI. [18:56] It's about more humans who teach AI. [18:59] I'm seeing engineers move up an [19:01] abstraction layer. We're not doing the [19:03] grunt work anymore. [19:04] We're not just dashboard hopping and [19:06] looking at charts and writing code. [19:09] The mechanical work has actually gone [19:11] down, and we've gone a layer up. [19:15] And hopefully on the nights that we're [19:16] on call, we sleep a little better [19:18] knowing that an agent is on the watch. [19:21] Thank you.