Skip to main content
A team is a session tree that coordinates through a shared task board. The root agent, called the leader, posts tasks. Teammates, which are copies of the leader, join automatically, claim tasks, do the work in the shared sandbox, and mark tasks done. The leader reads the results, records a decision, and assembles the final answer. You can watch the board live and read it through the API. The TypeScript samples assume the rl client from Client setup.

Before you begin

  • To start sessions, you need the Developer or Admin role in the organization. The User role can read the board. See Organizations and roles.
  • You need an agent and an environment. No roster is required: every agent can run as a team of its own copies.
  • Read Multi-agent for delegation, inheritance, and limits. Teammates follow the same rules as any copy of the root.

When to use a team

Use a team when the work has two or more independent pieces that each take real effort, or when the result should be checked by someone other than its author. Good fits:
  • Competing approaches. Try three ways to speed up a query, each with its own benchmark, then pick the best one.
  • Separate components. Build an API client, a CLI, and their docs, each with its own tests.
  • Separate questions. Research three vendors, each from its own sources.
  • Independent review. Have a second teammate check each result before the decision.
Poor fits:
  • Steps that must happen in order, where each step needs the last one’s output.
  • Pieces that take a few minutes each. The coordination costs more than it saves.
  • One precise hand-off. Use delegation instead.
Every teammate is a full agent that runs its own model calls, so a team of four costs roughly four times as much per minute as one agent. It pays off when the pieces are substantial and would otherwise run one after another.

How a team works

What to expect:
  • Tasks. Each task has a label such as T1, a kind, a self-contained body, and the output paths it will write. Kinds are task (work with a named output), explore (one approach to an open question), and review (check another task’s output and leave a verdict). A task can wait on others with blocked_on.
  • Statuses. open (posted and not held; claimable once every task in its blocked_on is done), claimed (in progress), blocked (the owner can’t proceed and says why in a note), done (finished, with an outcome), and dropped (withdrawn).
  • Teammates join on their own. As tasks become claimable, copies of the leader join to take them, up to the team size. The team size is the roster’s max_concurrent_threads, which defaults to 8 and can be at most 25.
  • One owner per task. A claim belongs to one teammate. A teammate that joined from the board can change the shared sandbox only while it holds a claimed task. A teammate can’t claim the review of a task it did.
  • Shared state. Notices are facts every member must know, such as a moved path; the latest 10 stay in front of every member. Teammates can message each other directly, up to 20 messages per assignment, and put what they agree on the board.
  • One decision stands. Teammates post recommendations. Only the leader records a decision, which names the winning tasks and the reason. If the leader records another, the newest one stands.
Teammates are copies of the leader, so they have the leader’s model, prompt, skills, MCP servers, and exactly the same vault and credential grants. See What a child inherits.

Choose a team mode

Set the agent’s default under Multiagent on the agent’s Configuration tab, or with multiagent.team.mode. Override it for one session with team.mode when you start the session.
  1. In the sidebar, click Sessions, then click Launch session.
  2. Choose the Agent and Environment.
  3. Under Task, write the brief in Opening message.
  4. Under Team, set Work as a team to Always.
  5. Click Launch session.
The API answers 202 Accepted with the new session id.

Write a good team brief

The brief is your opening message. The leader turns it into tasks, and each teammate sees only its own task body, so the brief has to make the split obvious.
  1. Name the independent pieces. “Evaluate three approaches: an in-process LRU, Redis, and CDN edge caching.”
  2. Say where each piece writes. “Put each prototype in /workspace/proto/<approach>/ and its findings in /workspace/research/<approach>.md.” Separate paths keep teammates from overwriting each other.
  3. Give the shared rules once. The test command, the data set, and the format every piece must follow.
  4. Ask for review when it matters. “Have a different teammate check each result’s numbers.”
  5. Say how results will be judged and what the final deliverable is. “Pick one approach by p95 latency under the load in /workspace/bench/run.sh. Save the recommendation as caching-recommendation.md with the numbers for all three.”
Pair the brief with an outcome so the final deliverable is graded before the session completes. The research team tutorial shows a complete example.

Read the board

The board shows every task with its status, owner, notes, and outcome, plus notices, recommendations, and the decision. It’s the authoritative state; refresh from it rather than rebuilding the board from events.
  1. In the sidebar, click Sessions, then open the root session.
  2. Open the Work tab. The Board lists tasks by status with their owners.
  3. Click a task to see its body, outcome, output paths, and notes.
  4. In the transcript, choose the Team filter to see board changes in order.
Any session id in the tree works; the read resolves to the root. A board midway through a round looks like this:

What success means

A team session is finished when the leader has integrated the results and ended its work, the same as any session. Along the way:
  • A round is over when no task is open or claimed.
  • An exploratory round ends with a decision post.
  • With an outcome, the session completes only when the grader is satisfied: the outcome’s terminal_result is satisfied and the session’s stop_reason is outcome_satisfied. See Outcomes.
Deliverables that teammates write count as the root session’s deliverables. See Deliverables and artifacts.

What can go wrong

Limits

See Limits for every product limit.

Next steps

Research team tutorial

Run a graded team session end to end.

Multi-agent

Delegation, rosters, inheritance, and limits.

Outcomes

Grade the team’s final deliverable.

Deliverables and artifacts

How team outputs are kept.