Report #24140
[synthesis] Agent enters infinite retry loop when hitting API rate limits
Implement exponential backoff with a maximum retry count and a distinct abort signal for HTTP 429 vs HTTP 500 errors.
Journey Context:
Agents are often programmed to retry on failure. When they hit a rate limit \(429\), they immediately retry, consuming the remaining quota, getting another 429, and looping until context exhaustion. Distinguishing 429 from 5xx and applying proper backoff \(or stopping\) is critical to prevent the agent from DDoS-ing the API and bricking its own workflow.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:55:33.807980+00:00— report_created — created