Plan-and-Execute

Generate a multi-step plan as an artifact, then execute steps with tools.

●●●●○ Complexity

Plan-and-Execute separates planning from execution. A planner produces a structured plan; executors run steps with tools, track state, and handle errors.

Why It Matters

This pattern makes long workflows more deterministic and debuggable: the plan becomes an artifact you can inspect, store, diff, and reuse.

Compared to Orchestrator-Worker

  • Orchestrator-Worker: dynamic decomposition during execution.
  • Plan-and-Execute: plan first, execute second.