Skip to main content

Function: createCoordinator()

createCoordinator(config): Baleybot

Defined in: packages/orchestration/src/crew/coordinator.ts:29

Creates a coordinator Baleybot with orchestration tools and a dynamic system prompt.

The coordinator:

  • Has keepHistory: true for multi-turn conversation
  • Gets all orchestration tools plus dispatchAsync and listAgents
  • Has a system prompt that includes the agent roster and workflow instructions

Parameters

config

CreateCoordinatorConfig

Returns

Baleybot