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

# parallel • Rust AI Agent SDK

> parallel: Create a parallel workflow step Executes multiple agents concurrently. # Arguments * `agents` - List of agents to execute in parallel

# parallel

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**workflow\_aliases**](../modules/workflow_aliases) module.

Create a parallel workflow step Executes multiple agents concurrently. # Arguments \* `agents` - List of agents to execute in parallel

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def parallel(agents: Vec<Arc<crate::agent::Agent>>) -> crate::workflows::FlowStep
```

## Parameters

<ParamField query="agents" type="Vec<Arc<crate::agent::Agent>>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="crate::workflows::FlowStep">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/workflow_aliases.rs#L64">
  `praisonai/src/parity/workflow_aliases.rs` at line 64
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Parallel Execution" icon="arrows-split" href="/docs/rust/parallel-execution" />

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