Enable Planning
Option 1: Use Default Configuration (Recommended)
Option 2: Custom Configuration
Usage Example
Planning Tools
When planning is enabled, the agent automatically gets access to these tools:
The agent will call these tools automatically based on the task - no manual intervention needed.
Workflow
- Create Plan: Agent analyzes the task and calls
create_planto create a plan with multiple subtasks - Execute Subtasks: Execute each subtask in sequence
- Update Status: Call
finish_subtaskto update status after completing each subtask - Complete Plan: Call
finish_planafter all subtasks are done
Complete Example
Seeagentscope-examples/documentation/quickstart/src/main/java/io/agentscope/examples/quickstart/PlanNotebookExample.java
Configuration Options
User Confirmation (needUserConfirm)
Controls whether the agent needs to wait for user confirmation before starting execution after creating a plan. Default Value:true (user confirmation required)
When enabled, the agent will display the plan content and ask the user whether to proceed (e.g., “Should I proceed with this plan?”) after creating a plan. It will only start executing subtasks after the user explicitly confirms (e.g., replying “yes”, “go ahead”). If the user’s message already implies execution intent (e.g., “execute the plan”), confirmation is skipped and execution begins directly.
When disabled, the agent will immediately start executing after creating the plan, without waiting for user confirmation.
Note: When subtasks are already in execution (status isin_progress), confirmation rule hints will not be injected regardless of theneedUserConfirmsetting.