Skip to main content

execute_wave_async

Function execute_wave_async 

Source
pub async fn execute_wave_async(
    agents: &[WaveAgent],
    working_dir: &Path,
    round_number: usize,
    default_harness: Harness,
) -> Result<WaveExecutionResult>
Expand description

Execute a wave of agents using extension-based spawning (no tmux)

This function spawns agents as direct subprocesses and waits for them to complete, collecting their results.

§Arguments

  • agents - The agents to execute in this wave
  • working_dir - Working directory for agents
  • round_number - Round number for state tracking
  • default_harness - Default harness if agent doesn’t specify one
  • event_callback - Optional callback for agent events

§Returns

WaveExecutionResult with round state and agent results