haive.agents.planning.plan_and_execute.v2.state =============================================== .. py:module:: haive.agents.planning.plan_and_execute.v2.state .. autoapi-nested-parse:: State schema for Plan and Execute Agent v2. Classes ------- .. autoapisummary:: haive.agents.planning.plan_and_execute.v2.state.PlanAndExecuteState Module Contents --------------- .. py:class:: PlanAndExecuteState(/, **data) Bases: :py:obj:`haive.core.schema.prebuilt.multi_agent_state.MultiAgentState` State for Plan and Execute Agent v2. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:method:: get_next_step() Get the next incomplete step. .. py:method:: is_plan_complete() Check if the plan is complete. .. py:method:: update_past_steps(step) Add completed step to past_steps.