Zum Hauptinhalt springen

Design the Recovery Path

Specify recovery behavior for common tool failures before production use.

agent-tool-design5 min read

The move: treat failure classes as product requirements. A tool that only defines success is incomplete. In production, the agent will see timeouts, missing records, stale permissions, ambiguous matches, upstream validation errors, and policy denials. Timeout The agent must not invent the missing result. It should pause, retry within policy, or ask the user to continue later. No match The agent should show what it searched and ask for a narrower identifier instead of creating a new record by guess. Ambiguous match The agent should present the candidates and require selection when the next action has consequence. Permission denied The…

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Kontakt aufnehmen