agents.planning.p_and_e.state¶
State schemas for Plan and Execute Agent System.
This module defines the state schemas used by the planning, execution, and replanning agents.
Classes¶
Main state schema for the Plan and Execute agent system. |
Module Contents¶
- class agents.planning.p_and_e.state.PlanExecuteState(messages=None, **data)¶
Bases:
haive.core.schema.prebuilt.messages.messages_state.MessagesState
Main state schema for the Plan and Execute agent system.
This state is shared across planning, execution, and replanning agents to maintain the full context of the operation.
Initialize with optional messages parameter for compatibility.
- property current_step: str | None¶
Get the current step formatted for the executor.
- Return type:
str | None