> ## 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 Type • Rust AI Agent SDK

> TaskType: Task type

# TaskType

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

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

Task type

## Fields

| Name       | Type      | Description                                               |
| ---------- | --------- | --------------------------------------------------------- |
| `Standard` | `variant` | -                                                         |
| `task`     | `variant` | -                                                         |
| `default`  | `variant` | Standard task                                             |
| `Task`     | `variant` | Standard task                                             |
| `Decision` | `variant` | -                                                         |
| `task`     | `variant` | -                                                         |
| `Decision` | `variant` | Decision task (routes to different tasks based on output) |
| `Loop`     | `variant` | -                                                         |
| `task`     | `variant` | -                                                         |
| `Loop`     | `variant` | Loop task (repeats until condition is met)                |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/task/mod.rs">
  `praisonai/src/task/mod.rs` at line 0
</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" />
</CardGroup>
