agents.multi.experiments.implementations.self_discover_stateΒΆ
State schema for self-discover multi-agent system.
ClassesΒΆ
State schema for self-discover multi-agent workflow. |
Module ContentsΒΆ
- class agents.multi.experiments.implementations.self_discover_state.SelfDiscoverState(/, **data)ΒΆ
Bases:
haive.core.schema.prebuilt.multi_agent_state.MultiAgentState
State schema for self-discover multi-agent workflow.
This state schema handles the structured output flow between agents: 1. select_agent: reasoning_modules + task_description β selected_modules 2. adapt_agent: selected_modules + task_description β adapted_modules 3. structure_agent: adapted_modules + task_description β reasoning_structure 4. reason_agent: reasoning_structure + task_description β final_answer
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.
- Parameters:
data (Any)