---
name: dokhacgiakhoa/dispatching-parallel-agents
source: https://app.decimal.ai/s/dokhacgiakhoa-dispatching-parallel-agents@1/SKILL.md
source_sha256: e80ad7b69c22
---

# Dispatching Parallel Agents

## Overview

When you have multiple unrelated failures (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.

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

## When to Use

```dot
digraph when_to_use {
    "Multiple failures?" [shape=diamond];
    "Are they independent?" [shape=diamond];
    "Single agent investigates all" [shape=box];
    "One agent per problem domain" [shape=box];
    "Can they work in parallel?" [shape=diamond];
    "Sequential agents" [shape=box];
    "Parallel dispatch" [shape=box];

    "Multiple failures?" -> "Are they independent?" [label="yes"];
    "Are they independent?" -> "Single agent investigates all" [label="no - related"];
    "Are they independent?" -> "Can they work in parallel?" [label="yes"];
    "Can they work in parallel?" -> "Parallel dispatch" [label="yes"];
    "Can they work in parallel?" -> "Sequential agents" [label="no - shared state"];
}
```

**Use when:**
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Each problem can be understood without context from others
- No shared state between investigations

**Don't use when:**
- Failures are related (fix one might fix others)
- Need to understand full system state
- Agents would interfere with each other

## The Pattern

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [1. Identify Independent Domains](./sub-skills/1-identify-independent-domains.md)
### 2. [2. Create Focused Agent Tasks](./sub-skills/2-create-focused-agent-tasks.md)
### 3. [3. Dispatch in Parallel](./sub-skills/3-dispatch-in-parallel.md)
### 4. [4. Review and Integrate](./sub-skills/4-review-and-integrate.md)