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

# workflows • Rust AI Agent SDK

> Workflow system for PraisonAI

# workflows

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

Workflow system for PraisonAI

This module provides multi-agent workflow patterns:

* AgentTeam: Coordinates multiple agents
* AgentFlow: Defines workflow execution patterns
* Route, Parallel, Loop, Repeat: Workflow patterns

## Import

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
use praisonai::workflows::*;
```

## Classes

<CardGroup cols={2}>
  <Card title="StepResult" icon="brackets-curly" href="../classes/StepResult">
    Step result from workflow execution
  </Card>

  <Card title="WorkflowContext" icon="brackets-curly" href="../classes/WorkflowContext">
    Workflow context passed between agents
  </Card>

  <Card title="AgentTeam" icon="brackets-curly" href="../classes/AgentTeam">
    Agent team for multi-agent workflows Coordinates multiple agents to work together on tasks.
  </Card>

  <Card title="AgentTeamBuilder" icon="brackets-curly" href="../classes/AgentTeamBuilder">
    Builder for AgentTeam
  </Card>

  <Card title="AgentFlow" icon="brackets-curly" href="../classes/AgentFlow">
    AgentFlow - Workflow definition with patterns Defines complex workflow patterns like Route, Parallel, Loop.
  </Card>

  <Card title="Route" icon="brackets-curly" href="../classes/Route">
    Route pattern - conditional branching
  </Card>

  <Card title="Parallel" icon="brackets-curly" href="../classes/Parallel">
    Parallel pattern - concurrent execution
  </Card>

  <Card title="Loop" icon="brackets-curly" href="../classes/Loop">
    Loop pattern - iterate over items
  </Card>

  <Card title="Repeat" icon="brackets-curly" href="../classes/Repeat">
    Repeat pattern - repeat execution
  </Card>

  <Card title="Process" icon="brackets-curly" href="../classes/Process">
    Process type for workflow execution
  </Card>

  <Card title="FlowStep" icon="brackets-curly" href="../classes/FlowStep">
    A step in a workflow
  </Card>
</CardGroup>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Workflows" icon="diagram-project" href="/docs/rust/workflows" />

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

  <Card title="Rust Agent Team" icon="users" href="/docs/rust/agent-team" />

  <Card title="Rust Process" icon="gears" href="/docs/rust/process" />

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