Interface AgentOrchestratorConfig

Configuration options for the AgentOrchestrator.

interface AgentOrchestratorConfig {
    maxToolCallIterations?: number;
    defaultAgentTurnTimeoutMs?: number;
    errorHandlingAgentId?: string;
    logToolCalls?: boolean;
}

Properties

maxToolCallIterations?: number

Maximum number of sequential tool calls allowed in a single agent turn to prevent loops.

Default

5
defaultAgentTurnTimeoutMs?: number

Default timeout in milliseconds for an agent's processTurn or handleToolResult method.

Default

60000 (60 seconds)
errorHandlingAgentId?: string

ID of a default "Error Handling Agent" or a meta-agent to consult if an orchestrated agent enters an unrecoverable error state. If not set, orchestrator handles errors more directly.

logToolCalls?: boolean

If true, orchestrator logs detailed information about tool calls.