AI Agent · Operations

Retry policy

Automatic Agent prompt to set a retry and backoff policy.

All topics / AI Agent prompts

Replace highlighted brackets, then copy.

When a step fails, retry up to [n] times with [backoff] seconds between. Stop and report after final failure.
  • n - replace the bracketed field with your info
  • backoff - replace the bracketed field with your info
  • Max retries
  • Backoff
  • Failure criteria
  • Retry attempts
  • Final error report
  • Keep retries low.
  • Use exponential backoff if possible.
  • Report root cause guess.