Skip to main content
Reliability policies configure TealCircuit to handle LLM provider failures gracefully. Prevent cascading failures, manage retry budgets, and define fallback chains across providers.

Circuit Breaker — Standard

Open the circuit after 5 failures, reset after 30 seconds.

Retry Budget — 3

Exponential backoff with a maximum of 3 retries per request.

Fallback Chain — OpenAI → Anthropic

Automatic failover from GPT-4o through Claude models.

When to Use

Any production agent should have reliability policies. Circuit breakers prevent hammering a failing provider. Retry budgets handle transient errors. Fallback chains ensure availability when a provider goes down.
Layer all three for maximum resilience: retry transient failures, trip the circuit on persistent failures, and fall back to an alternative provider.