Interface IAgentOrchestrator

Interface

IAgentOrchestrator Defines the contract for the central service that coordinates agent execution. This name IAgentOrchestrator seems to be for a more generic agent orchestrator, while the file being fixed is AgentOSOrchestrator.ts which is more GMI-focused. Assuming AgentOrchestratorConfig here is the one intended for AgentOSOrchestrator.

interface IAgentOrchestrator {
    orchestratorId: string;
    initialize(config, dependencies): Promise<void>;
    processAgentTurn(conversationContext, userInput, targetAgentId): Promise<AgentOutput>;
    initiateAgentHandoff?(conversationContext, currentAgentOutput, nextAgentId, handoffData?): Promise<AgentOutput>;
}

Methods

  • Parameters

    • conversationContext: ConversationContext
    • currentAgentOutput: AgentOutput
    • nextAgentId: string
    • Optional handoffData: any

    Returns Promise<AgentOutput>

Properties

orchestratorId: string

A unique identifier for this orchestrator implementation.