Errors and Recovery

3 patterns for this issue

Goal: When something goes wrong, the agent says what happened, owns it, fixes it, and does not repeat it.

Why this family exists

Failures are certain; how the assistant handles them decides whether the user stays. This family covers error messages, wrong answers delivered with confidence, and recovery.

How we measure it

Shared metrics the patterns below report against. Targets are starting points to tune on your own data, unless a source is given.

MetricTargetDefined in
Errors shown with a cause and action100% (tune)generic error messages (GitHub)
Wrong answers stated without any uncertainty or source0 (tune)confident wrong answer with no way to check (GitHub)

Patterns

PatternOne line
Confident wrong answer with no way to checkA mistake is delivered in a sure tone with no source or sign of doubt
Blames the userThe bot was unclear, then says “You did not provide…” or “As I said”
Generic error messages“Something went wrong” with no cause, saved state, or next step

Planned (not yet written)

The rest of the family is listed in the roadmap (GitHub).