Why Planning Matters
Without planning, an agent improvises step by step. On a simple lookup that’s fine — but on a task with five or ten interdependent steps, improvising leads to predictable failure modes:- Getting lost — the agent forgets what it has already done and repeats work
- Losing the goal — after several tool calls, it drifts away from the original request
- Looping — it makes the same call again and again without making progress
- Stopping early — it declares the task complete when steps remain
The Three Planning Tools
Planning is provided by three tools that work as a set. Each handles one part of the plan-execute-adapt loop.CreatePlan
CreatePlan builds a structured plan at the start of a complex task. The agent analyzes the request and its available tools, breaks the work into discrete steps, identifies dependencies between them, and estimates complexity. Agents use it when a task has more than a couple of steps or spans multiple tools.
GetNextStep
GetNextStep returns the current step to work on, along with relevant context from prior steps, and marks it in progress. The agent calls it after finishing a step or whenever it’s unsure what to do next. Because it carries context forward, the agent stays oriented across a long task.
UpdatePlan
UpdatePlan keeps the plan in sync with reality. The agent uses it to add or reorder steps, change descriptions, mark steps complete, or skip steps that turn out to be impossible. This is what makes a plan a living guide rather than a rigid script.
Add a step when the agent discovers new work:
Enable Planning Tools on an Agent
Add all three planning tools
Find the Planning section and add CreatePlan, GetNextStep, and UpdatePlan. They work as a set — adding only
CreatePlan leaves the agent unable to track progress or adapt.Writing Instructions for Planning
Enabling the tools isn’t enough — the agent needs guidance on when to plan. Add a block like this to your agent’s instructions:When to Use Planning Tools
Planning adds the most value when a task is genuinely multi-step. Match the tool to the work. Good use cases:- Multi-step research — gathering and synthesizing information across several sources
- Cross-system data work — pulling from Salesforce, HubSpot, and other tools, then combining the results
- Open-ended problem solving — for example, investigating why a conversion rate dropped
- Tasks with dependencies — customer onboarding or anything where later steps depend on earlier ones
- Simple single-step tasks — looking up today’s weather
- Fixed, well-defined workflows — where the steps never change (use a Workflow instead)
- Quick lookups — finding a contact’s email address
Worked Example
Request: “Identify our top 10 cold leads and write personalized re-engagement emails for each.” Without planning, the agent might search the CRM, start drafting an email for the first lead it finds, get sidetracked gathering more context, lose track of how many emails it has written, and finish with an incomplete, inconsistent result — or not finish at all. With planning, the agent callsCreatePlan and produces a structured approach:
GetNextStep, looping over each lead in steps 3 and 4. When it discovers a surprise — say three of the top 10 leads were already contacted last week — it calls UpdatePlan to skip those and pull in three replacements, keeping the count at 10. The result: all 10 emails drafted, personalized, and saved, plus a clear strategy summary.
Best Practices
Let the agent decide when to plan. Don’t force planning on every task. Instruct the agent to plan for complex work and answer simple requests directly. Be clear about goals. Guide the agent to consider what information it needs, the best order to gather it, and what might change its approach. A clear goal produces a better plan. Allow plan flexibility. Plans are guides, not scripts. Make sure your instructions encourage the agent to useUpdatePlan when reality differs from the plan.
Checkpoint progress. Instruct the agent to report what it has accomplished at natural checkpoints, so you can follow along and catch a wrong turn early.
Frequently Asked Questions
Do all my agents need planning tools?
Do all my agents need planning tools?
No. Planning tools are best for complex, multi-step tasks. For agents that handle simple lookups or run a fixed sequence, they add overhead without benefit.
Do I really need all three tools?
Do I really need all three tools?
Yes — they work together.
CreatePlan builds the plan, GetNextStep walks through it, and UpdatePlan keeps it current. Skipping one breaks the planning loop: without GetNextStep the agent can’t track progress, and without UpdatePlan it can’t adapt.Will planning slow my agent down?
Will planning slow my agent down?
There’s a small upfront cost to build the plan, and planning uses a few more tokens. On complex tasks the agent is usually faster overall, because it wastes less effort backtracking and repeating work. On simple tasks, skip planning.
Can I see the plan the agent created?
Can I see the plan the agent created?
Yes. The Logs tab shows every
CreatePlan and UpdatePlan call, so you can see the plan the agent built and how it adjusted along the way.What if the agent makes a bad plan?
What if the agent makes a bad plan?
A plan is a starting point. The agent uses
UpdatePlan to correct course as it works. If you consistently see poor plans, refine the agent’s instructions to clarify the goal and constraints.