Skip to main content
Treat errors as workflow states with evidence. Store enough context to decide whether to retry, ask for review, or stop.

Agent result statuses

SDK pattern

Debug checklist

  • Check the final status.
  • Check page URLs and titles in result.steps.
  • Check blocker or CAPTCHA status.
  • Open Debug UI only in a trusted context.
  • Review artifacts and downloads.
  • Tighten the prompt, domain policy, schema, or deterministic checks.
Reference: error codes, limits, and SDK error reference.