Class ParallelAgent


public class ParallelAgent extends FlowAgent
ParallelAgent executes multiple sub-agents in parallel and merges their results.

This agent implements the Parallel Fan-Out/Gather pattern where:

  • Fan-Out: The input is distributed to all sub-agents simultaneously
  • Parallel Execution: All sub-agents execute concurrently
  • Gather: Results from all sub-agents are collected and merged

The agent leverages the underlying ParallelNode infrastructure to achieve true parallel execution and provides configurable result merging strategies.