Type alias CreateSwarmParams<AnnotationRootT, AgentAnnotationRootT>

CreateSwarmParams<AnnotationRootT, AgentAnnotationRootT>: {
    agents: CompiledStateGraph<AgentAnnotationRootT["State"], AgentAnnotationRootT["Update"], string, AgentAnnotationRootT["spec"], AgentAnnotationRootT["spec"]>[];
    defaultActiveAgent: string;
    stateSchema?: AnnotationRootT;
}

Type Parameters

Type declaration