← Agent Planning & Reasoning
Plan-and-Execute
Plan-and-execute is an agent architecture that separates planning from execution into distinct phases. A planner model or prompt first produces a structured step-by-step plan for the entire task, then an executor agent works through the plan one step at a time, potentially invoking tools and updating state. This separation allows the planner to reason holistically before any side effects occur, and it makes each step's intent explicit for auditing.