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

# Flow Step • Rust AI Agent SDK

> FlowStep: A step in a workflow

# FlowStep

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

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

A step in a workflow

## Fields

| Name        | Type      | Description                                  |
| ----------- | --------- | -------------------------------------------- |
| `Execute`   | `variant` | -                                            |
| `a`         | `variant` | -                                            |
| `single`    | `variant` | -                                            |
| `agent`     | `variant` | -                                            |
| `Agent`     | `variant` | Execute a single agent                       |
| `Route`     | `variant` | -                                            |
| `to`        | `variant` | -                                            |
| `different` | `variant` | -                                            |
| `agents`    | `variant` | -                                            |
| `based`     | `variant` | -                                            |
| `on`        | `variant` | -                                            |
| `condition` | `variant` | -                                            |
| `Route`     | `variant` | Route to different agents based on condition |
| `Execute`   | `variant` | -                                            |
| `agents`    | `variant` | -                                            |
| `in`        | `variant` | -                                            |
| `parallel`  | `variant` | -                                            |
| `Parallel`  | `variant` | Execute agents in parallel                   |
| `Loop`      | `variant` | -                                            |
| `over`      | `variant` | -                                            |
| `items`     | `variant` | -                                            |
| `Loop`      | `variant` | Loop over items                              |
| `Repeat`    | `variant` | -                                            |
| `a`         | `variant` | -                                            |
| `step`      | `variant` | -                                            |
| `Repeat`    | `variant` | Repeat a step                                |

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Agent Flow" icon="diagram-project" href="/docs/rust/agent-flow" />

  <Card title="Rust Flow" icon="route" href="/docs/rust/flow" />

  <Card title="Rust Routing" icon="route" href="/docs/rust/routing" />

  <Card title="Rust Conditions" icon="code-branch" href="/docs/rust/conditions" />
</CardGroup>
