haive.agents.multi.base.agent¶
Base MultiAgent implementation.
This module provides the base multi-agent class that other multi-agent implementations can inherit from or use directly.
Classes¶
Agent that executes multiple agents in sequence. |
Module Contents¶
- class haive.agents.multi.base.agent.SequentialAgent¶
Bases:
haive.agents.base.agent.AgentAgent that executes multiple agents in sequence.
This agent runs a list of agents one after another, optionally passing the output of one agent as input to the next.
- build_graph()¶
Build sequential execution graph.
- Return type:
haive.core.graph.state_graph.base_graph2.BaseGraph
- run(input_data, **kwargs)¶
Run all agents in sequence.
- Parameters:
input_data (Any)
- Return type:
Any