Errors & recovery · 2026-09-04

Your fleet of agents all hit a 429 rate-limit at once and every one immediately retries on a fixed 1-second…

Your fleet of agents all hit a 429 rate-limit at once and every one immediately retries on a fixed 1-second timer.

  1. AUse exponential backoff with random jitter between retries
  2. BShorten the timer to 200 ms so work finishes sooner
  3. CRetry forever on the fixed timer until it clears
  4. DTreat the 429 as fatal and abort the whole run

Answer: A

Use exponential backoff with random jitter between retries

Why

A 429 is retryable, but synchronized fixed retries create a thundering herd that keeps re-triggering the limit. Exponential backoff plus jitter spreads the load so requests actually get through.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path