Run multiple agents concurrently

Parallel Groups

Run multiple independent agents at the same time to speed up your workflow.

How It Works

Instead of sequential:

[A] ──→ [B] ──→ [C]

Run in parallel:

    ┌──→ [A] ──┐
[S] ├──→ [B] ──┼──→ [Result]
    └──→ [C] ──┘

When to Use

Good for:

  • Multiple reviewers checking different aspects (security, performance, style)
  • Independent analyses of the same input
  • Tasks that don't depend on each other

Not good for:

  • Tasks that need results from previous steps
  • Sequential validation

Setting Up

  1. From one agent, draw connections to multiple target agents
  2. Connect all parallel agents to a final agent that combines results

Example:

     ┌──→ [Security Review]  ──┐
[PR] ├──→ [Performance Review] ┼──→ [Final Report]
     └──→ [Style Review]     ──┘

Tips

  • Keep parallel tasks independent
  • Use a "consolidator" agent to combine results
  • Parallel execution saves time but uses the same tokens