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

# Workflow Aliases • Rust AI Agent SDK

> Workflow Pattern Aliases

# workflow\_aliases

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

Workflow Pattern Aliases

Provides function aliases for workflow patterns matching Python SDK:

* loop, parallel, repeat, route, when
* Workflow, Pipeline (aliases for AgentFlow)
* handoff, handoff\_filters, prompt\_with\_handoff\_instructions

## Import

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

## Classes

<CardGroup cols={2}>
  <Card title="HandoffConfig" icon="brackets-curly" href="../classes/HandoffConfig">
    Handoff configuration for agent-to-agent transfers
  </Card>

  <Card title="HandoffFilters" icon="brackets-curly" href="../classes/HandoffFilters">
    Handoff filter configuration
  </Card>

  <Card title="HandoffFilter" icon="brackets-curly" href="../classes/HandoffFilter">
    Handoff filter types
  </Card>
</CardGroup>

## Functions

<CardGroup cols={2}>
  <Card title="loop_step()" icon="function" href="../functions/loop_step">
    Create a loop workflow step Creates a loop step with an agent and items to iterate over. # Arguments \* `agent` - The agent to execute for each item \*...
  </Card>

  <Card title="parallel()" icon="function" href="../functions/parallel">
    Create a parallel workflow step Executes multiple agents concurrently. # Arguments \* `agents` - List of agents to execute in parallel
  </Card>

  <Card title="repeat()" icon="function" href="../functions/repeat">
    Create a repeat workflow step Executes the agent a fixed number of times. # Arguments \* `agent` - The agent to execute \* `times` - Number of times to...
  </Card>

  <Card title="route()" icon="function" href="../functions/route">
    Create a route workflow step Conditionally routes to different agents based on a condition. # Arguments \* `condition` - Function that returns...
  </Card>

  <Card title="when()" icon="function" href="../functions/when">
    Alias for route (matches Python SDK naming) Creates a conditional routing step.
  </Card>

  <Card title="handoff()" icon="function" href="../functions/handoff">
    Create a handoff to another agent # Arguments \* `target` - Name of the target agent \* `message` - Optional handoff message
  </Card>

  <Card title="handoff_filters()" icon="function" href="../functions/handoff_filters">
    Create handoff filters
  </Card>

  <Card title="prompt_with_handoff_instructions()" icon="function" href="../functions/prompt_with_handoff_instructions">
    Generate a prompt with handoff instructions Creates a system prompt that includes instructions for handing off to other agents when appropriate. #...
  </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>
