LlmSwarmAgent
Interface: LlmSwarmAgent
Defined in: src/patterns/LlmSwarm.ts:62
A swarm member as the LLM router sees it: the runner that handles a
turn, plus the description that becomes its line in the router's
prompt. One source — the roster the swarm dispatches on and the roster
the model reads are the same list.
Extends
Properties
description
readonlydescription:string
Defined in: src/patterns/LlmSwarm.ts:65
What this agent handles, in the model's language. Required here: an agent with no description is invisible to the router.
id
readonlyid:string
Defined in: src/patterns/Swarm.ts:28
Stable id used in events + routing decisions.
Inherited from
name?
readonlyoptionalname?:string
Defined in: src/patterns/Swarm.ts:30
Display name for topology / narrative.
Inherited from
runner
readonlyrunner:Runner<{message:string; },string>
Defined in: src/patterns/Swarm.ts:32
The runner that handles a turn when selected.
