Interfaces

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

readonly description: 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

readonly id: string

Defined in: src/patterns/Swarm.ts:28

Stable id used in events + routing decisions.

Inherited from

SwarmAgent.id


name?

readonly optional name?: string

Defined in: src/patterns/Swarm.ts:30

Display name for topology / narrative.

Inherited from

SwarmAgent.name


runner

readonly runner: Runner<{ message: string; }, string>

Defined in: src/patterns/Swarm.ts:32

The runner that handles a turn when selected.

Inherited from

SwarmAgent.runner

On this page