Orchestrations let you combine specialized agents into a team. A coordinator agent decides which entity agent should handle each part of a user’s request, enabling complex multi-domain conversations.Documentation Index
Fetch the complete documentation index at: https://docs.powabase.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites:
- Two or more agents created (see Build an Agent guide)
Create the orchestration
Define an orchestration with a name and strategy. The supervisor strategy creates a coordinator that delegates to entity agents.Endpoint:
POST /api/orchestrationsAdd agents as entities
Add each agent to the orchestration with a role description that helps the coordinator decide when to delegate.Endpoint:
POST /api/orchestrations/{id}/entitiesRun the orchestration
Send a message to the orchestration. The coordinator delegates to the appropriate agent. Events include delegation_started and delegation_completed.Endpoint:
POST /api/orchestrations/{id}/run/streamAdditional SSE events for orchestrations: delegation_started (agent name + child run ID), delegation_completed (agent name + usage stats).
What’s Next
Multi-Agent Orchestration
Understand the coordinator pattern.
Orchestrations API Reference
Full endpoint documentation.