Lesson 08.11 · Phase 08 · Multi-Agent Systems
Failure modes of swarms
A group of agents can fail in ways no single agent does: passing a task around in a circle, doing the same work twice, multiplying itself until the bill arrives, spreading one invented fact into every report, declaring victory early, or waiting on each other forever. Each has a cheap guard, and none of the guards depend on the model behaving.
Learning objectives
- Reproduce six multi-agent failure modes deterministically: delegation loops, duplicate work, runaway spawning, error cascades, false completion and deadlock.
- Add one runtime guard per failure: hop limits, task claims, a global budget, source requirements at handoffs, acceptance checks, and wait timeouts.
- Explain why these guards belong in the runtime rather than in prompts.
- Map failures you see in traces to the guard that would have stopped them.
Every lesson in this phase added a way for agents to work together, and with it a way to fail together. A study of multi-agent system traces (Cemri et al., 2025) found failures cluster around three themes: poor specification and system design, misalignment between agents, and weak verification and termination. Many of these aren't about any one agent being wrong. They're about the system around the agents: nobody owned the task, nobody checked the claim, nobody set a limit.
Loading the full lesson…