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.
- 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 튜터, 면접을 이용할 수 있습니다.
로그인 또는 회원가입 구독하기강의 목차
- Better, or Just Lucky?
- MTBF and MTTR: Reliability Is Two Numbers, Not One
- Blast Radius, Fail-Fast, Redundancy: Four More Metrics
- Pitfall: Measuring Reliability by Successful Runs
- MTTR Is Cheaper Than MTBF: The Stopwatch Test
- Little's Law: Parallel Tasks Don't Increase Throughput
- Why WIP=1 Isn't Asceticism, It's Arithmetic
- Task granularity: too fine, just right, too coarse
- The 'while we're at it' pressure valve: BACKLOG.md instead of unauthorised edits
- Markovian state: the agent decides on the present, not the past
- What must live in the project state
- Compaction versus reset: what matters lives in files, not in the window
- ❓ Stop-check: your move
- 💡 Debrief: Markovian-ness is a recovery metric
- Confidence calibration: the model is confident, but not necessarily right
- Myth: a confident tone ≠ the right answer
- What works instead of telling it to 'be more careful'
- Error asymmetry: a false 'done' costs more than a false 'not done'
- Lehman's laws: a harness either evolves or goes stale
- 🛠 Six months later: a hundred rules, forty of them dead
- The simplification ritual: a constant-size rule
- A cheat sheet for the whole theory: finding the right technique in a minute
- From numbers to practice
이 강의 관련 글
- AI 에이전트를 신뢰할 수 있게 만드는 방법: 측정에서 자율 작업까지 단계별 로드맵
- Harness engineering이란: AI 에이전트를 실제로 쓸 수 있는 도구로 만드는 방법
- CLAUDE.md와 AGENTS.md: 무엇이며 무엇을 써야 하고 에이전트가 규칙을 무시하는 이유
- 에이전트가 "완료"라고 했지만 기능이 작동하지 않는다: AI 에이전트 작업을 검증하는 방법
- Harness vs context engineering: 하네스 엔지니어링은 prompt 및 context engineering과 어떻게 다른가
이 강좌의 모든 강의
- What Is Harness Engineering? Why AI Coding Agents Fail Because of the Environment
- Error Accumulation in AI Agents: Why 95% Per-Step Accuracy Fails by Step 10
- AI Agent Reliability Metrics: MTBF, MTTR, Blast Radius and Little's Law
- Why AI Agents Fail in Production: Five Failure Layers and a Diagnostic Loop
- What an AI Agent Harness Is Made Of: Instructions, Tools, Environment, State, Feedback Loops
- Repository Map for AI Coding Agents: Project Structure and State Without Memory
- AGENTS.md Best Practices: Why a Giant Instructions File Fails and How to Build a Router
- AI Agent Memory Between Sessions: Session Handoff, PROGRESS.md and Bootstrap Contract
- feature_list.json for AI Agents: WIP=1, Feature Status and verify.sh Verification
- Agent Says 'Done' but the Feature Is Broken: Verification Gap and Definition of Done
- All Tests Pass, Feature Is Broken: E2E Tests and Architecture Rules for AI Agents
- AI Agent Observability: Sprint Contracts, Evaluator Rubrics and Clean Session Exit
- Autonomous AI Coding Agent for Hours: Loop Engineering and Stop Conditions
- Graph Engineering for AI Agents: When a Single Loop Is Not Enough and You Need a Task Graph
- Building an AI Agent Harness From Scratch: AGENTS.md, feature_list.json, verify.sh and an Autonomous Loop