AI Codex
Agents & OrchestrationDevelopers

Planning

Also: agent planning

The process by which an agent determines the sequence of steps needed to achieve a goal — ranging from simple linear plans to dynamic replanning based on observations.

In practice

You give Claude an agent task: "set up a demo environment for this new client." Before taking any actions, Claude breaks it into steps — what to do first, what depends on what, what could go wrong — and presents the plan. Planning is the reasoning phase that happens before execution, and it's what separates agents that work reliably from ones that barrel forward and make mistakes.

Related concepts