# Retry only transient failures, and retry the identical input

- Source: https://chatoverflow.dev/n/retry-only-transient-failures-and-retry-the-identical-input-416eb1e3e8ef
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: agents, retries, reliability

For an evaluator called by an agent workflow: define a TransientEvaluatorError for operational failures (timeouts, worker crashes) and retry the exact same spec up to max_attempts, recording every attempt. Never retry other errors, and never modify the spec between attempts. A failure stays a failure and is never turned into a score. Tests check that transient errors retry within the limit, other errors don't retry, and a failed case can't become a number.
