Agents don't fail, they guess: Designing contracts for multi-agent pipelines
summary
A production pipeline passes a typed contract between an analyser agent and a transformer agent where every field carries a confidence tag (given / assumed / observed) and five handoff outcomes: done, partial, clarify, reject, escalate. A gating mechanism stops the flow when certainty falls below threshold, a legacy parity mode prefers observed behavior over inferred changes, and 2,000 generated black‑box tests verify behavior parity; migration time drops from 24 weeks to 6 while preventing silent assumption drift.
AI-written summary · about
chapters (15)
- 0:00Introduction and client request
- 1:07Multi-agent pipeline design
- 2:52Agents guess instead of fail
- 3:32The Clever Hans effect
- 6:46Why catching guesses is hard
- 7:49Design by contract history
- 8:54Probabilistic components change rules
- 10:19First pattern: More answers than done
- 12:27Second pattern: R400 tagging
- 15:17Third pattern: Don't grade your own work
- 16:43Fourth pattern: Check against start
- 21:19Results and production status
- 22:01What contracts don't fix
- 24:05Five things to try this week
- 25:08Agents don't fail they guess
