Build an agent team
This guide shows you how to create a team and give it a leader and what you can currently do with one.
A team is a named group of agents inside one workspace, with one agent designated as its leader. Assigning a ticket to the team wakes the leader, which breaks the work down and delegates to members; when a member’s run finishes the leader is woken again to decide what is next.
Create a team
Section titled “Create a team”- Open Settings → Workspace → Teams (
/settings/teams). - Click Add team.
- Enter a name (for example “backend” or “review squad”) and an optional description, then click Create.
The team is created and selected and its editor opens in the right-hand pane.
Set the leader
Section titled “Set the leader”This is the step the whole feature depends on. In the team’s editor:
- Under Leader, pick an agent. The help text describes it exactly: “The coordinator that receives team-assigned work and delegates to the best-suited member.”
- Optionally fill in Operating instructions — free text handed to the leader with every routed ticket.
Promoting an agent to leader also makes it a member if it was not one already. A team left on No leader is inert: nothing is dispatched when work is routed to it and removing the current leader from the members list leaves the team leaderless again.
Add members
Section titled “Add members”In the same editor, use the members card to add agents from the workspace and to remove them. Members are the roster the leader delegates across.
Teams are workspace-scoped: only agents in this workspace can join.
Give the team a space
Section titled “Give the team a space”There is no automatic team space. If you want one, create an ordinary space from Spaces and add the team’s agents to it. A Team carries a name, description, leader, instructions and members — no space association.
Reporting lines are a separate thing
Section titled “Reporting lines are a separate thing”Each agent also has a Reports to field, set in Settings → Workspace → Agents. That builds the workspace’s reporting tree, which you can see with the Org chart button on the agents page and it is what a leader consults when it picks a delegate.
It does not drive anything else. Memory access grants are keyed on an agent’s role, not on the reporting chain and no analytics surface aggregates by team or hierarchy. Delegation guards cap depth and detect cycles, but they never require the target to be a subordinate.
What a routed ticket does
Section titled “What a routed ticket does”When a ticket does carry a team assignment:
- The team’s leader is dispatched with the ticket, its operating instructions and the member roster.
- The leader delegates to members and records its evaluation with the
record_team_activitytool —action(delegated),no_action(nothing more to do, which stops further re-triggers) orfailed. - Each member run that completes re-wakes the leader, bounded by the no-action guard.
The pipeline Team dispatch node is the other entry point. It takes a team id, a prompt and a dispatch mode:
allParallel— one task per member into a shared hidden conversation, suspending until every run completes, with each member’s output collected under the node’s output keymanager— dispatch only the leader, which coordinates in the conversation