> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retry Utils • AI Agent SDK

> Retry utilities with jittered exponential backoff for the PraisonAI SDK.

# retry\_utils

AI Agent

Retry utilities with jittered exponential backoff for the PraisonAI SDK.

Provides interrupt-aware retry mechanisms for LLM API calls and tool execution
with configurable backoff strategies, jitter, and buffered status reporting.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.agent import retry_utils
```

## Classes

> [card] [RetryBackoffConfig](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/RetryBackoffConfig.md)
>
> Configuration for jittered exponential backoff retry behavior.

## Functions

> [card] [jittered\_backoff()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/jittered_backoff.md)
>
> Calculate delay for jittered exponential backoff.

> [card] [interruptible\_sleep()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/interruptible_sleep.md)
>
> Sleep with periodic interruption checks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.