agents.planning.p_and_e.multi_agentΒΆ
Plan and Execute Multi-Agent System using Configurable Base.
from typing import Any This module demonstrates how to use the configurable multi-agent base for building Plan and Execute workflows with branches.
ClassesΒΆ
Plan and Execute multi-agent using the configurable base. |
FunctionsΒΆ
|
Create custom branching multi-agent system. |
|
Create Plan and Execute system with custom branches. |
|
Create Plan and Execute system with default workflow. |
|
Create simple sequential multi-agent system. |
Module ContentsΒΆ
- class agents.planning.p_and_e.multi_agent.PlanAndExecuteAgent(agents, branches=None, state_schema=None, **kwargs)ΒΆ
Bases:
haive.agents.multi.archive.configurable_base.ConfigurableMultiAgent
Plan and Execute multi-agent using the configurable base.
Initialize Plan and Execute multi-agent.
- Parameters:
- agents.planning.p_and_e.multi_agent.create_custom_branching_system(agents, branches)ΒΆ
Create custom branching multi-agent system.
- Parameters:
agents (Any)
- agents.planning.p_and_e.multi_agent.create_custom_plan_execute_system(planner_agent, executor_agent, replanner_agent, custom_branches)ΒΆ
Create Plan and Execute system with custom branches.
- Parameters:
custom_branches (list[haive.agents.multi.archive.configurable_base.AgentBranch])
- agents.planning.p_and_e.multi_agent.create_plan_execute_system(planner_agent, executor_agent, replanner_agent)ΒΆ
Create Plan and Execute system with default workflow.
- Parameters:
planner_agent (Any)
executor_agent (Any)
replanner_agent (Any)
- agents.planning.p_and_e.multi_agent.create_simple_sequential_system(agents)ΒΆ
Create simple sequential multi-agent system.
- Parameters:
agents (Any)