レッスンのプレビュー

AI Agent Reliability Metrics: MTBF, MTTR, Blast Radius and Little's Law

How to measure AI agent reliability: MTBF and MTTR, blast radius, Little's law and WIP queues, Markov session state, confidence calibration and harness entropy. A quick diagnostic table for agent failures.

MTBF/MTTR blast radius Little's Law WIP (work in progress) Markovian session state confidence calibration harness entropy Lehman's laws
このレッスンで学ぶこと
  • You will be able to calculate your team's MTTR when working with an agent and understand what genuinely reduces the blast radius of a failure.
  • You will understand why you should not assign two tasks to an agent in parallel without explicitly managing WIP.
  • You will learn to use the summary theory table as a checklist for first-line diagnostics.

レッスンの冒頭

Better, or Just Lucky?

  • One engineer swears a new prompt template changed everything
  • Another saw the same run a month ago and noticed no difference
  • Both looked at the same log — but neither counted a single metric
  • Next up: six theories that turn feelings into numbers

Imagine this: your agent kept failing at the same step for nearly a month, you tweaked the prompt, and there hasn't been a single hiccup for a week. Coincidence or fix? A colleague reckons you were just lucky with that week's tasks. You have no log of stalls, no recovery time, no estimate of how much code one error corrupts — just a general feeling that things have calmed down. Today's lecture is about the tools that replace that feeling with concrete numbers and a diagnostic table.

MTBF and MTTR: Reliability Is Two Numbers, Not One

  • Reliability = how rarely the system breaks (MTBF) + how quickly it recovers (MTTR)
  • Availability rises as the first grows and the second falls
  • The second is almost always cheaper than the first
  • For a harness: MTBF is how many steps the agent completes before stalling; MTTR is how long until it's back in working order

The reliability of any system isn't described by one number but by a pair — much like household appliances. A washing machine that breaks once a year but gets fixed by an engineer within a day is more reliable in practice than one that breaks every three years but sits idle for a fortnight each time waiting for a spare part. The first number is MTBF, mean time between failures: how rarely things break. The second is MTTR, mean time to recovery: how quickly you're back up and running. Availability improves when the first goes up and the second goes down, but cutting the second is almost always cheaper. For a harness this translates literally: MTBF is how many steps the agent gets through before getting stuck, and MTTR is how long it takes to return to a working state after a failure.

Blast Radius, Fail-Fast, Redundancy: Four More Metrics

  • Blast radius — how much code one failed step can ruin: reduced with diff limits and workspace isolation
  • Fail-fast — a check fails on the first error with a clear message
  • Redundancy — a second independent check of the same property (E2E on top of unit tests)
  • N-versioning — two independent solutions compared: a generator and an evaluator with different contexts

Besides MTBF and MTTR, four more parameters live in the same coordinate system — and you already have all of them at home, in your safety setup. Blast radius is like a circuit breaker in your consumer unit: if one appliance shorts out, one breaker trips rather than the whole house; for a harness, that means a diff limit and isolating the working copy. Fail-fast is a smoke alarm that chirps at the first wisp of smoke, not when the whole room is ablaze; for a harness, it's a check that fails on the first error with a clear message. Redundancy is having both a smoke alarm and a carbon monoxide detector in the house, because neither replaces the other; for a harness, it's E2E tests layered over unit tests. N-versioning is two independent electricians who each inspect the wiring separately and then compare findings without consulting each other beforehand; for a harness, it's a generator and an evaluator with different contexts.

完全版のレッスンはサブスクリプションで

20 枚のスライドが完全版にはさらにあります。

ログインして購読すると、動画、全スライド、ノート、テスト、AIチューター、面接が利用できます。

ログインまたは新規登録 サブスクリプションに登録

レッスンの内容

  1. Better, or Just Lucky?
  2. MTBF and MTTR: Reliability Is Two Numbers, Not One
  3. Blast Radius, Fail-Fast, Redundancy: Four More Metrics
  4. Pitfall: Measuring Reliability by Successful Runs
  5. MTTR Is Cheaper Than MTBF: The Stopwatch Test
  6. Little's Law: Parallel Tasks Don't Increase Throughput
  7. Why WIP=1 Isn't Asceticism, It's Arithmetic
  8. Task granularity: too fine, just right, too coarse
  9. The 'while we're at it' pressure valve: BACKLOG.md instead of unauthorised edits
  10. Markovian state: the agent decides on the present, not the past
  11. What must live in the project state
  12. Compaction versus reset: what matters lives in files, not in the window
  13. ❓ Stop-check: your move
  14. 💡 Debrief: Markovian-ness is a recovery metric
  15. Confidence calibration: the model is confident, but not necessarily right
  16. Myth: a confident tone ≠ the right answer
  17. What works instead of telling it to 'be more careful'
  18. Error asymmetry: a false 'done' costs more than a false 'not done'
  19. Lehman's laws: a harness either evolves or goes stale
  20. 🛠 Six months later: a hundred rules, forty of them dead
  21. The simplification ritual: a constant-size rule
  22. A cheat sheet for the whole theory: finding the right technique in a minute
  23. From numbers to practice

この講義に関する記事

このコースのすべてのレッスン

  1. What Is Harness Engineering? Why AI Coding Agents Fail Because of the Environment
  2. Error Accumulation in AI Agents: Why 95% Per-Step Accuracy Fails by Step 10
  3. AI Agent Reliability Metrics: MTBF, MTTR, Blast Radius and Little's Law
  4. Why AI Agents Fail in Production: Five Failure Layers and a Diagnostic Loop
  5. What an AI Agent Harness Is Made Of: Instructions, Tools, Environment, State, Feedback Loops
  6. Repository Map for AI Coding Agents: Project Structure and State Without Memory
  7. AGENTS.md Best Practices: Why a Giant Instructions File Fails and How to Build a Router
  8. AI Agent Memory Between Sessions: Session Handoff, PROGRESS.md and Bootstrap Contract
  9. feature_list.json for AI Agents: WIP=1, Feature Status and verify.sh Verification
  10. Agent Says 'Done' but the Feature Is Broken: Verification Gap and Definition of Done
  11. All Tests Pass, Feature Is Broken: E2E Tests and Architecture Rules for AI Agents
  12. AI Agent Observability: Sprint Contracts, Evaluator Rubrics and Clean Session Exit
  13. Autonomous AI Coding Agent for Hours: Loop Engineering and Stop Conditions
  14. Graph Engineering for AI Agents: When a Single Loop Is Not Enough and You Need a Task Graph
  15. Building an AI Agent Harness From Scratch: AGENTS.md, feature_list.json, verify.sh and an Autonomous Loop