Configuration for LoopAgent

interface LoopAgentConfig {
    name: string;
    description: string;
    subAgents?: BaseAgent[];
    maxIterations?: number;
}

Properties

name: string

Name of the agent

description: string

Description of the agent

subAgents?: BaseAgent[]

Sub-agents to execute in a loop

maxIterations?: number

The maximum number of iterations to run the loop agent. If not set, the loop agent will run indefinitely until a sub-agent escalates.