When an agent fails, what should the system do?
In Module 4 you designed gates that check work before it moves on. Now a different situation: a step did not just produce a weak result, it failed. A reliable harness does not hope failures are rare. It decides in advance how each kind of failure is handled.
When an agent fails, should the system retry, try another method, hand over to a human, or stop?
| Term | Plain meaning |
|---|---|
| Failure | A step did not achieve what it was supposed to achieve |
| Error | A signal that something went wrong, such as an error code or message |
| Exception | An unexpected condition that interrupts normal execution |
| Recovery | What the system does after a failure to get back to a safe, useful state |
A simulated report agent calls a data tool, gets no answer, then receives a table with missing columns, then drafts a summary that contradicts the table. Three different failures, and each one needs a different response.
Info