Skip to content

Dispatching Parallel Agents

执行类

Use when facing 2+ independent tasks that can work without shared state or sequential dependencies.

Quick Start

Understand in 30 Seconds

Dispatch one agent per independent problem domain. Let them work concurrently.

When to Use

  • 3+ test files failing for different root causes
  • Multiple subsystems broken independently
  • Each problem can be understood without the others' context

Complete Guide

Core Principle

Core Principle: Dispatch one agent per independent problem domain. Let them work concurrently.

Pattern

  1. Identify Independent Domains - Group failures by what's broken
  2. Create Focused Agent Tasks - Specific scope, clear goal, constraints
  3. Dispatch in Parallel - All agents run concurrently
  4. Review and Integrate - Verify fixes don't conflict

When Not to Use

  • Related failures: Fixing one might fix others
  • Need full context: Understanding requires seeing entire system
  • Exploratory debugging: You don't know what's broken yet
  • Shared state: Agents would interfere