A retry is a control-flow mechanism where an agent or runtime automatically re-executes a failed step — such as a tool call that returned an error or a model generation that violated format constraints. Retries may be simple (repeat the same call) or adaptive (modify parameters, switch models, or add corrective context). Well-designed retry policies include backoff strategies and max-attempt limits to prevent infinite loops and wasted compute.