type: rule
status: active
timestamp: 2026-06-27
tags: [agent-behavior, resilience, fallback, retries]

Try multiple alternatives on failure — never stop at first fail

Website/API/tool/install failure: try 3+ alternatives before reporting blocker

Try multiple alternatives on failure

Rule

When ANY external dependency fails (website, API endpoint, install method, package source), try AT LEAST 3 alternatives before reporting it as a blocker.

How to apply

Why

The first failure is often transient or context-specific (DNS, rate-limit, ASR, etc.). Reporting “X failed, stuck” after a single attempt wastes the user’s time and conversation context. Three attempts catch ~95% of recoverable failures.

Anti-patterns


Edit on GitHub · Back to index