Skip to content

Coordinator Agent

The Coordinator Agent orchestrates multiple specialized sub-agents to handle complex, multi-step tasks. It analyzes query complexity, routes to the appropriate sub-agents, and synthesizes their results into a single coherent response.


  1. Click Agent in the left sidebar, then give your agent a name.

  2. Select Coordinator Agent from the Agent Type list and click Next.

  3. Select Sub-Agents — choose the sub-agents this Coordinator Agent will coordinate. Each sub-agent’s capabilities are displayed to help you decide.

  4. Review Prompts — the system generates a set of prompts that control how the Coordinator Agent operates:

    • System Prompt — overall instructions for the Coordinator Agent
    • Complexity Analysis Prompt — how the agent assesses whether a query is simple or complex
    • Agent Routing Prompt — how the agent decides which sub-agent(s) to invoke
    • Result Synthesis Prompt — how the agent combines results from multiple sub-agents
  5. Customize the prompts if needed, then click Create Agent.


The Coordinator Agent template comes pre-configured with the following components:

ComponentTypePurpose
BeginBeginEntry point — starts the agent workflow
InteractInteractCollects and passes user input downstream
Query CompositionGenerateReformulates and structures the incoming query for optimal routing
Intend DetectionSwitchRoutes queries based on detected intent (e.g., filters or redirects security-related content)
CoordinatorCoordinatorOrchestrates sub-agents, plans execution, and synthesizes results

  1. Begin starts the workflow when a user submits a query.
  2. Interact receives the input and passes it to the downstream components.
  3. Query Composition reformulates the query to improve sub-agent routing accuracy.
  4. Intend Detection evaluates the query using conditional logic — for example, redirecting queries that contain security-sensitive content to an appropriate handler.
  5. The composed query and intent signal are both passed to the Coordinator, which plans execution across the configured sub-agents and returns a synthesized response.

For details on how the Coordinator component handles orchestration, routing, and result synthesis, see Coordinator.