Skip to main content

Agent Conversation Orchestrator

Description

Manages all headless (agent-to-agent) conversations. Tracks active conversations by agent ID, prevents agents from entering multiple conversations simultaneously, and creates conversation controllers for each new interaction.

Interface

Type
IConversationService
IAgentConversationService

Inherits

Type
N/A

Public Methods

NameParametersReturn TypeDescription
StartConversationIAgentService initiator, IAgentService targetboolAttempts to start a headless conversation between two agents. Returns false if either agent is already in a conversation.
IsInConversationstring agentIdboolChecks whether a given agent is currently in a conversation.
EndConversationstring agentIdvoidEnds the conversation the given agent is participating in.