Expand description
Plan mode: structured multi-step execution plans.
When plan mode is enabled, the agent generates a structured plan from plain English input, lets the user review/edit/approve it, and then executes the approved plan step-by-step with progress tracking.
Structs§
- Execution
Plan - A structured multi-step execution plan.
- Plan
Alternative - An alternative approach the LLM considered but did not choose.
- Plan
Config - Plan mode configuration.
- Plan
Step - A single step in an execution plan.
Enums§
- Plan
Decision - User decision on a plan under review.
- Plan
Status - Status of the overall execution plan.
- Step
Status - Status of an individual plan step.
Constants§
- PLAN_
GENERATION_ PROMPT - System prompt addendum that instructs the LLM to output structured JSON plans.
Functions§
- parse_
plan_ json - Parse LLM-generated plan JSON into an
ExecutionPlan.