How teams work
From the API’s perspective, a team is just an agent. It has the sameAgentDefinition structure as any other agent and is executed using the same /api/agents/{agentId}/runs endpoints. The difference is internal: when you run a team, the Leader agent orchestrates one or more Member agents behind the scenes before producing a final response.
You can identify a team agent by its is_team field:
Orchestration strategies
Agent Manager supports the following orchestration strategies. The strategy is configured on the team at creation time.Coordinator mode
In Coordinator mode, the Leader has access to a special set of delegation tools — one per Member agent. When the user asks a question, the Leader decides which Member agents to call, invokes them as tools, and uses their responses to compose a final answer. Example flow:tools field of the RunResponse for audit purposes.
Router mode
In Router mode, the Leader examines the user’s message and selects exactly one Member agent to handle the entire conversation. Control is transferred to that specialist, and the Leader takes no further action. Example flow:Running a team
Running a team is identical to running any other agent. Use the standard run endpoints with the team’s agent ID:1
Identify the team agent
List agents and find the one where
is_team is true:2
Send a run request
Use the same
POST /api/agents/{agentId}/runs endpoint you would use for a single agent:3
Receive the synthesized response
The
RunResponse includes the final answer in content and the full tool-call audit trail in tools:Checking whether an agent is a team
Before constructing any team-specific UI or logic, check theis_team flag in the AgentDefinition:
Team management API
Teams have their own management endpoints under/api/v1/teams for creating, updating, and inspecting team configurations:
The team management endpoints configure the team’s composition and strategy. To actually run a team and receive a response, always use
POST /api/agents/{teamAgentId}/runs — the same endpoint used for single agents.