haive.agents.conversation.round_robin.agent¶
Round-robin conversation agent where each participant speaks in turn.
Classes¶
Round-robin conversation where each agent speaks in a fixed order. |
Module Contents¶
- class haive.agents.conversation.round_robin.agent.RoundRobinConversation¶
Bases:
haive.agents.conversation.base.agent.BaseConversationAgentRound-robin conversation where each agent speaks in a fixed order.
Each participant gets exactly one turn per round, with the order maintained throughout the conversation.
- classmethod create_simple(participants, topic='General discussion', max_rounds=3, system_message_template=None, **kwargs)¶
Create a simple round-robin conversation with auto-generated agents.
- Parameters:
- Returns:
Configured RoundRobinConversation
- select_speaker(state)¶
Select the next speaker in round-robin order.
- Parameters:
state (haive.agents.conversation.base.state.ConversationState)
- Return type:
langgraph.types.Command