Plan-and-Execute Prompting — AI Glossary

Plan-and-execute prompting is a two-phase agent pattern. In the first phase, the model writes an ordered plan — a list of sub-tasks that, together, accomplish the goal. In the second phase, each sub-task is executed in sequence, typically with its own sub-prompt.