Scaling · 2026-09-07

Under load your agent fires many parallel model calls at once and starts getting 429 rate-limit errors.

  1. ARetry each 429 immediately in a tight loop.
  2. BIgnore the errors and let those requests fail.
  3. CAdd a concurrency limit and retry with exponential backoff.
  4. DDrop to a single request at a time, forever.

Answer: C

Add a concurrency limit and retry with exponential backoff.

Why

Cap concurrency and back off exponentially on 429s. Tight-loop retries worsen the overload, ignoring errors drops work, and serializing everything needlessly throttles throughput.

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