> ## 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.

# Is Retryable • AI Agent SDK

> is_retryable: Check if this outcome represents a potentially retryable failure.

# is\_retryable

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AgentRunOutcome**](../classes/AgentRunOutcome) class in the [**run\_outcome**](../modules/run_outcome) module.

Check if this outcome represents a potentially retryable failure.

Based on the status type:

* timeout: Generally retryable with longer timeout
* invalid\_output: May be retryable with different prompt/validation
* failure: Usually not retryable (logic error)
* cancelled: Not retryable (external signal)

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def is_retryable() -> bool
```

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/run_outcome.py#L149">
  `praisonaiagents/run_outcome.py` at line 149
</Card>
