π User Manualπ¬ Session
Plan&Acts
Core Concepts

Plan
Plan is the core abstraction for task execution. It breaks down complex tasks into an ordered sequence of steps (Steps), with each step having a clear objective, execution agent, and state tracking. Through state transitions and agent collaboration, it enables the planning, execution, monitoring, and adjustment of tasks, ensuring that the tasks can be systematically completed and achieve the expected results.
- Definition: The specific execution plan for completing a Task
- Composition: Consists of multiple sequential Steps
Step
- Definition: The specific execution steps in the Plan
Step Status
-
NOT_STARTED: Not started
- Indicates that the step has not yet been initiated for execution.
- Initial state
-
IN_PROGRESS: In progress
- Indicates that the step is currently being executed.
- May involve multiple sub-operations
-
DONE: Completed
- Indicates that the step has been successfully completed.
- All expected results have been achieved
-
SKIPPED: Skipped
- Indicates that the step was intentionally skipped.
- May be due to unsatisfied conditions or no longer being necessary
-
ERROR: Error
- Indicates that an error occurred during the step execution.
- Requires error handling or re-planning
Example
