Skip to content

Documentation

Getting Started

Create Your First Workforce

Give a coordinator a team of specialist agents and follow the work they hand off.

A workforce in Forge is a set of agents linked in the org chart. A coordinator hands part of a task to a specialist, the specialist works in its own context, and it reports back. Relations are edited on the agent, under Handoff Agents. Org Chart draws the result. The older name for a delegation is a handoff.

Build the team

  1. Create the specialists first. Give each a clear description. The coordinator reads that description to decide when to delegate.
  2. Create the coordinator and explain in its instructions how it should split the work.
  3. On the coordinator, open Handoff Agents and press Add for each specialist.
  4. Set Relationship to Child ("Delegate to this agent").
  5. Choose a default task mode: Auto, Background, or Foreground. Auto lets the agent decide. Background keeps the coordinator talking while the specialist works. Foreground waits for the result.
  6. Optionally write a tool description that says when this specialist should be used. Without it, the specialist's own description is used.
  7. Press Add Handoff and save the agent.

The reverse relation is added automatically: the specialist gets the coordinator as its Parent, so it can escalate decisions it should not take.

Peer is a flat link. It does not draw a line on the Org Chart, but the agent can still delegate to that peer at run time. Only Parent and Child relations between agents in the same workspace form a hierarchy.

Watch a delegation

Chat with the coordinator in Sessions. A delegated step names the tool and the target agent. Open Subagent conversation to read the specialist's transcript while it works. A background task notifies the coordinator when it finishes. The coordinator summarizes the report. There is no per-task stop button. Ask the coordinator to stop the task. Stopping the coordinator's own run does not automatically stop sub-agents that were already launched.

Limits

Sub-agents can delegate further, up to three levels below the conversation. At most 20 sub-agent tasks run at the same time in one conversation, and at most 200 in that conversation in total. Each sub-agent runs with its own model. A relation does not change what the sub-agent can access, and the sub-agent does not see the parent conversation. It only receives the task the coordinator writes.

The chart shows the active workspace, or your personal agents. Agents from other workspaces never appear on it.

See Workforces and Orchestration for roles and escalation.