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

Function

</div>

This function is defined in the workflow_aliases module.

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

Signature

python
def parallel(agents: Vec<Arc<crate::agent::Agent>>) -> crate::workflows::FlowStep

Parameters

ParamField Vec&lt;Arc&lt;crate::agent::Agent&gt;&gt;

No description available.

Returns

ResponseField crate::workflows::FlowStep

The result of the operation.

Source

View on GitHub

praisonai/src/parity/workflow_aliases.rs at line 64


Related Documentation