OptionalactualThe tool calls that were actually executed during processing. This may differ from the planned calls if the agent modified its approach.
The Unix timestamp (in milliseconds) when this item was created. This is used for tracking execution order and debugging.
OptionaldependenciesAn array of todo item IDs that must be completed before this item can start. This enables the agent to define task dependencies and execution order. If empty or undefined, the item has no dependencies and can execute immediately.
A human-readable description of what this item accomplishes. This description is typically generated by the planning LLM and should be clear and actionable.
OptionalexpectedA description of the expected outcome for this item. This helps the LLM understand what success looks like and guides execution.
A unique identifier for this specific todo item. This ID is used for tracking, logging, and referencing the item across systems.
OptionalrequiredFor tool-type steps, an array of tool names that must be called during execution. This is used by TAEF for validation - if required tools are not called, the agent may be prompted to retry or the step may fail validation.
OptionalresultThe actual result produced by executing this item. The structure depends on the step type and what was executed.
The current execution status of this item. Values come from the TodoItemStatus enum.
OptionalstepThe type of execution step this item represents.
This classification is part of the TAEF (Tool-Aware Execution Framework) system.
OptionalthoughtsAn array of thought strings captured during execution. These represent the agent's internal reasoning for this specific item.
OptionaltoolThe tool calls that were planned for this item. This comes from the planning phase and represents the intended execution.
OptionaltoolThe results from all tool executions for this item. Includes both successful and failed tool attempts.
OptionaltoolThe validation mode for tool execution in this item.
The Unix timestamp (in milliseconds) when this item was last updated. This tracks the most recent modification to the item's state.
OptionalvalidationThe validation status for this item's execution.
Represents a single step or task in the PES Agent's execution plan. Each TodoItem corresponds to one action the agent needs to take, which could be a tool call, a reasoning step, or a subtask.
TodoItem