agents.multi.sequential.agentΒΆ

Sequential multi-agent implementation for the Haive framework.

ClassesΒΆ

SequentialMultiAgent

Multi-agent system that executes agents sequentially.

FunctionsΒΆ

placeholder_node(_state)

Placeholder node that does nothing.

Module ContentsΒΆ

class agents.multi.sequential.agent.SequentialMultiAgent(**kwargs)ΒΆ

Bases: haive.agents.multi.base.MultiAgent

Multi-agent system that executes agents sequentially.

Each agent runs in order, with the output of one feeding into the next. The execution follows a chain pattern: Agent1 -> Agent2 -> … -> AgentN

Initialize with sequential coordination mode.

build_graph()ΒΆ

Build a sequential execution graph.

Return type:

haive.core.graph.state_graph.base_graph2.BaseGraph

agents.multi.sequential.agent.placeholder_node(_state)ΒΆ

Placeholder node that does nothing.

Parameters:

_state (dict[str, Any])