LlmSwarmOptions
Interface: LlmSwarmOptions
Defined in: src/patterns/LlmSwarm.ts:68
Properties
agents
readonlyagents: readonlyLlmSwarmAgent[]
Defined in: src/patterns/LlmSwarm.ts:74
The roster. Two or more; ids must be unique and none may be 'done'.
id?
readonlyoptionalid?:string
Defined in: src/patterns/LlmSwarm.ts:85
Stable id for the swarm's composition events. Default 'swarm'.
instruction?
readonlyoptionalinstruction?:string
Defined in: src/patterns/LlmSwarm.ts:76
Extra authored framing for the router. See llmRouter.
maxHandoffs?
readonlyoptionalmaxHandoffs?:number
Defined in: src/patterns/LlmSwarm.ts:83
Maximum agent turns before the loop halts. Default 10 (the swarm's own default). The router runs once per turn plus once to start.
model
readonlymodel:string
Defined in: src/patterns/LlmSwarm.ts:72
Model to ask for routing decisions.
name?
readonlyoptionalname?:string
Defined in: src/patterns/LlmSwarm.ts:87
Display name. Default 'Swarm'.
provider
readonlyprovider:LLMProvider
Defined in: src/patterns/LlmSwarm.ts:70
The LLM that makes the routing decisions (not the specialists' own).
temperature?
readonlyoptionaltemperature?:number
Defined in: src/patterns/LlmSwarm.ts:78
Routing temperature. Default 0.
