1. Create a plan
Send/plan with a prompt the agent can break into tasks:
event.markdown and a structured proposal with ordered tasks.
2. Run the plan
Start execution and watch each task complete:3. Plan state
4. Pin a goal
A goal persists across messages. Pin one and the agent treats every follow-up as a step toward it:5. Send follow-up messages
Continue chatting normally. The agent keeps the goal in mind on each turn:6. Check goal status
7. Goal state
Lifecycle subcommands
Plan vs goal
Use a plan when you know the steps. Use a goal when you want the agent to keep steering toward an outcome across many turns.
Next
- Plan — full plan lifecycle and approval
- Goal — durable goals in detail
- Multi-Agent Delegation — plans in swarm mode