โ–ฅNYC
skills/smithery/ai/dispatching-parallel-agents

dispatching-parallel-agents

SKILL.md

Dispatching Parallel Agents

Coordinate multiple AI agents to execute tasks simultaneously, maximizing development velocity while preventing conflicts. This is the core skill for multi-agent collaboration.

When to Use

  • 2+ independent tasks can be worked on simultaneously
  • No shared state between tasks (different files/modules)
  • Total work > 2 hours and parallelization is beneficial
  • Overnight execution where multiple agents can run unattended

Agent Capability Matrix

Model Backgrounds & Strengths

Agent Model Background Best For Cost Speed
Antigravity Claude Opus 4.5 Deep reasoning, planning Architecture, coordination, complex debugging ๐Ÿ’ฐ๐Ÿ’ฐ๐Ÿ’ฐ ๐Ÿข
Amp Claude Sonnet 4.5 Accuracy, low hallucination Code review, quality assurance ๐Ÿ’ฐ๐Ÿ’ฐ ๐Ÿ‡
Codex GPT-5.2 Codex Patient execution Detailed refactoring, overnight tasks, React ๐Ÿ’ฐ๐Ÿ’ฐ ๐Ÿข
GLM GLM-4.7 Speed, Chinese, cost Large code generation, repetitive tasks ๐Ÿ’ฐ ๐Ÿ‡๐Ÿ‡
MiniMax MiniMax Type-safe, structured Theme systems, type definitions ๐Ÿ’ฐ ๐Ÿ‡
Grok xAI Grok Real-time search Research, API docs, best practices ๐Ÿ’ฐ๐Ÿ’ฐ ๐Ÿ‡

Performance Benchmarks (2025-2026)

GLM-4.7:
  - SWE-bench: 73.8%
  - LiveCodeBench-v6: 84.9% (open-source #1)
  - Cost: ~15% of Claude

Codex (GPT-5.2):
  - First-try success: 37%
  - With retries: 70.2%
  - Development speedup: 2-3x

Claude Sonnet 4.5:
  - Accuracy: Highest tier
  - Hallucination rate: Lowest
  - Large codebase understanding: Excellent

RALPH Loop Integration

The RALPH loop (Read โ†’ Analyze โ†’ Learn โ†’ Plan โ†’ Hypothesize) integrates with multi-agent workflow:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ RALPH LOOP                                                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                     โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚ READ โ”‚ โ†’ โ”‚ ANALYZE โ”‚ โ†’ โ”‚ LEARN โ”‚ โ†’ โ”‚ PLAN โ”‚ โ†’ โ”‚ HYPOTHESIZEโ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚      โ†‘                                                     โ”‚       โ”‚
โ”‚      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Feedback Loop โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       โ”‚
โ”‚                                                                     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ MULTI-AGENT DISPATCH PHASE                                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                     โ”‚
โ”‚  After PLAN: Antigravity decomposes into parallel tasks             โ”‚
โ”‚                                                                     โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”‚
โ”‚  โ”‚ Agent A (Codex)โ”‚   โ”‚ Agent B (GLM)  โ”‚   โ”‚ Agent C (Mini) โ”‚      โ”‚
โ”‚  โ”‚ Task Guide A   โ”‚   โ”‚ Task Guide B   โ”‚   โ”‚ Task Guide C   โ”‚      โ”‚
โ”‚  โ”‚ Files: A/*     โ”‚   โ”‚ Files: B/*     โ”‚   โ”‚ Files: C/*     โ”‚      โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ”‚
โ”‚          โ”‚                    โ”‚                    โ”‚                โ”‚
โ”‚          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                โ”‚
โ”‚                               โ†“                                     โ”‚
โ”‚                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                             โ”‚
โ”‚                    โ”‚ Antigravity      โ”‚                             โ”‚
โ”‚                    โ”‚ Reviews & Merges โ”‚                             โ”‚
โ”‚                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                             โ”‚
โ”‚                               โ†“                                     โ”‚
โ”‚                    Back to READ (next iteration)                    โ”‚
โ”‚                                                                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Conflict Prevention Strategies

1. File-Level Isolation

Principle: Each agent owns exclusive files/directories.

โŒ BAD: Both agents edit same file
   Agent A: components/Header.tsx (lines 1-50)
   Agent B: components/Header.tsx (lines 51-100)
   Result: Merge conflicts guaranteed

โœ… GOOD: Agents own different files
   Agent A: components/Header.tsx, api/stocks.ts
   Agent B: themes/*.ts, stores/theme.store.ts
   Result: Clean merge

2. Dependency Ordering

Principle: Infrastructure before features, types before implementation.

Phase 1 (Foundation) - Must complete first:
  โ””โ”€โ”€ types/theme.ts [GLM]
  โ””โ”€โ”€ api/client.ts [Codex]

Phase 2 (Implementation) - Can parallelize after Phase 1:
  โ”œโ”€โ”€ themes/dark.theme.ts [GLM]
  โ”œโ”€โ”€ themes/pixel.theme.ts [GLM]  
  โ”œโ”€โ”€ api/stocks.ts [Codex]
  โ””โ”€โ”€ api/watchlist.ts [Codex]

Phase 3 (Integration) - After Phase 2:
  โ””โ”€โ”€ components/ThemeSwitcher.tsx [Any]

3. Contract-First Development

Principle: Define interfaces before implementation.

// Define contract FIRST (in shared types file)
interface Theme {
  id: string;
  name: string;
  colors: ThemeColors;
}

// Then agents implement independently
// Agent A: implements getTheme(id) โ†’ Theme
// Agent B: implements <ThemeSwitcher themes={Theme[]} />

4. Task Boundary Markers

Include clear ownership in task guides:

### Task: Theme Store Implementation

**Owner**: MiniMax
**Files OWNED** (exclusive write):
  - stores/theme.store.ts
  - themes/registry.ts

**Files READ-ONLY** (for reference):
  - types/theme.ts
  - tokens.css

**Do NOT touch**:
  - components/* (Codex owns these)

Real-World Example: DragonFly Parallel Execution

Scenario: Codex + MiniMax Working Simultaneously

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ TIME: 2026-01-20 15:17                                           โ”‚
โ”‚ User: "่ฎฉ Codex ๅนฒ UI ไผ˜ๅŒ–๏ผŒ่ฎฉ MiniMax ๅนฒไธป้ข˜็ณป็ปŸ"                 โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                             โ”‚
โ”‚  โ”‚ CODEX: UI-POLISH-COMBINED.md   โ”‚                             โ”‚
โ”‚  โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚                             โ”‚
โ”‚  โ”‚ Owns:                           โ”‚                             โ”‚
โ”‚  โ”‚ - components/LeftPane.tsx       โ”‚                             โ”‚
โ”‚  โ”‚ - components/StockChart.tsx     โ”‚                             โ”‚
โ”‚  โ”‚ - components/RightPane.tsx      โ”‚                             โ”‚
โ”‚  โ”‚ - styles/tokens.css (shadows)   โ”‚                             โ”‚
โ”‚  โ”‚                                 โ”‚                             โ”‚
โ”‚  โ”‚ Tasks:                          โ”‚                             โ”‚
โ”‚  โ”‚ โœ… BF-001: Name display fix     โ”‚                             โ”‚
โ”‚  โ”‚ โœ… UI-001: Sidebar modernize    โ”‚                             โ”‚
โ”‚  โ”‚ โœ… UI-003: Chart controls       โ”‚                             โ”‚
โ”‚  โ”‚ โœ… UI-005: AI input glow        โ”‚                             โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                             โ”‚
โ”‚                  โ†“                                                โ”‚
โ”‚             (Running ~2.5h)                                       โ”‚
โ”‚                  โ†“                                                โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                             โ”‚
โ”‚  โ”‚ MINIMAX: GLM-P1-THEME-GUIDE.md โ”‚                             โ”‚
โ”‚  โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚                             โ”‚
โ”‚  โ”‚ Owns:                           โ”‚                             โ”‚
โ”‚  โ”‚ - types/theme.ts                โ”‚                             โ”‚
โ”‚  โ”‚ - themes/*.theme.ts             โ”‚                             โ”‚
โ”‚  โ”‚ - themes/registry.ts            โ”‚                             โ”‚
โ”‚  โ”‚ - stores/theme.store.ts         โ”‚                             โ”‚
โ”‚  โ”‚ - hooks/useTheme.ts             โ”‚                             โ”‚
โ”‚  โ”‚                                 โ”‚                             โ”‚
โ”‚  โ”‚ Tasks:                          โ”‚                             โ”‚
โ”‚  โ”‚ โœ… G-001: Theme types           โ”‚                             โ”‚
โ”‚  โ”‚ โœ… G-002-005: 4 themes          โ”‚                             โ”‚
โ”‚  โ”‚ โœ… G-008: Zustand store         โ”‚                             โ”‚
โ”‚  โ”‚ โœ… G-010: ThemeSwitcher         โ”‚                             โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                             โ”‚
โ”‚                  โ†“                                                โ”‚
โ”‚             (Running ~2.5h)                                       โ”‚
โ”‚                  โ†“                                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ TIME: 2026-01-20 19:17 (4 hours later)                           โ”‚
โ”‚                                                                  โ”‚
โ”‚ RESULT: Both complete, pnpm check passes โœ…                      โ”‚
โ”‚         No merge conflicts                                       โ”‚
โ”‚         4 themes working + UI improvements                       โ”‚
โ”‚                                                                  โ”‚
โ”‚ NEXT: Antigravity reviews โ†’ Creates Round 2 fixes               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Post-Merge Review Findings

After parallel execution, Antigravity reviews and creates new tasks:

## Review Findings โ†’ Round 2 Tasks

| Issue Found | New Task | Assignee |
|-------------|----------|----------|
| Search dropdown behavior | FIX-001: Keyboard navigation | Codex |
| Button position blocks price | FIX-002: Move to left toolbar | Codex |
| Period buttons are mock | FIX-003: Connect to backend | Codex |
| Cyberpunk theme glitch | FIX-005: Border rendering | MiniMax |
| Dark theme input colors | FIX-006: Use CSS variables | Codex |

Task Guide Template for Parallel Execution

# [Task Group Name]

> **Executor**: Codex / GLM / MiniMax
> **Estimated Time**: X hours
> **Parallel Group**: A / B / C  โ† Indicates parallel execution group

---

## โš ๏ธ Ownership Declaration

### Files I OWN (exclusive write access):
- `path/to/file1.ts`
- `path/to/file2.tsx`
- `path/to/directory/*`

### Files I READ (no modifications):
- `types/*.ts`
- `styles/tokens.css`

### Files FORBIDDEN (another agent owns):
- `themes/*` (MiniMax owns)
- `api/*` (Codex owns)

---

## Tasks

### T-001: First Task
...

---

## Verification

\`\`\`bash
pnpm check  # Type safety
pnpm dev    # Visual check
\`\`\`

## Problem Log

If blocked, document here immediately:
- [x] Problem: ...
- [x] Workaround: ...
- [ ] Needs human decision: ...

Dispatch Decision Tree

                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚  New Task Set   โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                             โ”‚
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚ Can parallelize? โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                             โ”‚
            โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
            โ”‚                โ”‚                โ”‚
           YES              DEPENDS           NO
            โ”‚                โ”‚                โ”‚
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”‚       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚ Check file overlap โ”‚     โ”‚       โ”‚ Sequential exec โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ”‚       โ”‚ (use best agent)โ”‚
            โ”‚               โ”‚       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”‚
    โ”‚               โ”‚       โ”‚
   NONE          OVERLAP    โ”‚
    โ”‚               โ”‚       โ”‚
    โ–ผ               โ–ผ       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Dispatch  โ”‚  โ”‚ Split by  โ”‚  โ”‚ Phase intoโ”‚
โ”‚ to agents โ”‚  โ”‚ files/dirsโ”‚  โ”‚ sequentialโ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Best Practices

  1. Always declare file ownership in task guides
  2. Types/interfaces first to establish contracts
  3. No shared mutable state between parallel agents
  4. Batch reviews after parallel work completes
  5. Quick iteration cycles - don't let issues accumulate
  6. Visual verification with agent-browser for UI work
  7. pnpm check gate - mandatory before considering done
  8. Problem logging - agents must document blockers immediately

Anti-Patterns to Avoid

โŒ Two agents editing same component
โŒ Agent A depends on Agent B's in-progress work
โŒ No ownership declaration in task guides
โŒ Skipping type definitions before implementation
โŒ Long parallel runs without checkpoints
โŒ No verification commands in task guides

Communication Templates

Dispatching to Agent

่ฏท้˜…่ฏปๅนถๆ‰ง่กŒ tasks/epics/{epic}/codex/TASK-GUIDE.md

่ฟ™ๆ˜ฏไธŽ {other-agent} ๅนถ่กŒๆ‰ง่กŒ็š„ไปปๅŠกใ€‚
ไฝ ่ดŸ่ดฃ็š„ๆ–‡ไปถ: {list}
็ฆๆญขไฟฎๆ”น: {other-agent's files}

Agent Status Report

## Status: [Agent Name]

### Completed
- โœ… T-001: Description
- โœ… T-002: Description

### In Progress
- ๐Ÿ”„ T-003: Description (eta: 30min)

### Blocked
- โš ๏ธ T-004: Need backend API for X

### Files Modified
- `path/to/file1.ts` (new)
- `path/to/file2.tsx` (modified)

### Verification
\`\`\`
pnpm check โ†’ โœ… Pass
\`\`\`
Weekly Installs
1
Repository
smithery/ai
First Seen
9 days ago
Installed on
amp1
opencode1
kimi-cli1
codex1
github-copilot1
claude-code1