Orchestration Patterns
Four orchestration patterns that route your prompt through multiple AI agents. Each applies a different reasoning structure - sequential refinement, adversarial critique, parallel decomposition, or independent consensus.
Sequential Refinement and Creator & Critic are intentionally sequential — each stage depends on the prior output. This is correct by design, not a limitation. Data dependencies make parallelism impossible without sacrificing the core value of iterative improvement.
Divide & Conquer and Majority Vote use genuine parallelism via ThreadPoolExecutor. Workers and agents execute concurrently — real simultaneous processing, not simulated. Completion time is bounded by the slowest agent, not the sum of all agents.
Use Sequential Refinement or Creator & Critic when output quality compounds through iteration. Use Divide & Conquer when the problem decomposes cleanly into independent sub-tasks. Use Majority Vote when you want independent perspectives and consensus without synthesis.