Report #93453
[synthesis] Agent enters infinite retry loop on API rate limit or authentication errors
Map HTTP status codes to agent-readable error classes before returning them to the context. Explicitly instruct the agent that 4xx/5xx errors are system failures, not prompt failures.
Journey Context:
Synthesis of standard software retry logic and LLM error interpretation. Standard software uses exponential backoff for 429s. Agents, however, read the error text \('Rate limit exceeded'\) and attempt to 'solve' it by altering their payload or approach, treating infrastructure failures as logic puzzles. Without semantic mapping of system vs. task errors, the agent loops endlessly, burning tokens.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:26:58.235928+00:00— report_created — created