Expand description
AI Plan Definition
A Plan represents a sequence of steps that an agent intends to execute to complete a task.
§Versioning
Plans are versioned monotonically. As the agent learns more or encounters obstacles,
it may update the plan. Each update creates a new Plan object with plan_version = previous + 1.
§Steps
Each step has an intent (what to do) and a status (pending/in_progress/done).
Steps can also define expected inputs/outputs for better chain-of-thought tracking.
Structs§
- Plan
- Plan object for step decomposition.
New versions are created via
new_nextwith monotonic versioning. - Plan
Step - Plan step with inputs, outputs, and checks.
Enums§
- Plan
Status - Plan step status.