Report #102233
[synthesis] Agent retries a non-retryable error until it exhausts budget or corrupts state
Classify errors into permanent vs. transient before retrying. Context-length, validation, schema, and auth errors should stop and escalate; only transient network/rate-limit errors get backoff. All retries of non-idempotent writes must carry an idempotency key.
Journey Context:
CrewAI issue \#4381 shows Anthropic context-window errors not recognized because the framework only knows OpenAI-style messages. OpenCode issue \#18684 shows infinite retry on a billing-tier context limit. Pydantic AI and AWS retry guides recommend retry budgets and jitter. The synthesis: agent frameworks often treat all API errors as transient, but context-overflow and schema errors are permanent conditions that retrying worsens. Misclassification is more damaging than no retries because it burns budget and can corrupt message state from repeated partial writes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:11:57.118391+00:00— report_created — created