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

# Task Config • Rust AI Agent SDK

> TaskConfig: Task configuration

# TaskConfig

> Defined in the [**task**](../modules/task) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Task configuration

## Fields

| Name              | Type      | Description                |
| ----------------- | --------- | -------------------------- |
| `max_retries`     | `u32`     | Maximum retries            |
| `retry_delay`     | `f64`     | Retry delay in seconds     |
| `on_error`        | `OnError` | Error handling behavior    |
| `skip_on_failure` | `bool`    | Whether to skip on failure |
| `quality_check`   | `bool`    | Quality check enabled      |
| `async_execution` | `bool`    | Async execution            |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/task/mod.rs#L156">
  `praisonai/src/task/mod.rs` at line 156
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Tasks" icon="list-check" href="/docs/rust/tasks" />

  <Card title="Rust Execution" icon="play" href="/docs/rust/execution" />

  <Card title="Rust Configuration" icon="gear" href="/docs/rust/configuration" />

  <Card title="Rust Installation" icon="download" href="/docs/rust/installation" />
</CardGroup>
