Skip to main content
Multi-agent teams let you combine specialist agents into a collaborative group that can tackle queries too complex or too broad for a single agent. A team has a designated Leader agent that controls how work is distributed among its Member agents, then synthesizes or routes the result back to the user.

How teams work

From the API’s perspective, a team is just an agent. It has the same AgentDefinition 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:
Always check is_team before rendering agent metadata in your UI. Team agents may have different latency characteristics than single agents because they involve multiple LLM calls.

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:
The user sees only the final synthesized answer. The intermediate tool calls appear in the 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:
Router mode is efficient when your Member agents have clearly distinct, non-overlapping domains. It adds minimal overhead — only one extra classification call before routing.

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 the is_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.