Skip to main content
The question is not “how many agents can I have” but “where do the boundaries go”. This page covers the two shapes worth building, how a message reaches an agent, and the four things that have to agree for routing to keep working.

Two shapes

One agent. A single agent holding every tool. Correct more often than people expect. Prefer it until tool selection starts to degrade — the model reaching for the wrong tool, or ignoring one it has. A flat network. A routing classifier reads the message and hands the whole turn to exactly one agent. No orchestrator answering on top, no agent-to-agent chatter. There is deliberately no third shape. A hub agent that answers and delegates costs an extra model round-trip on every turn and blurs responsibility for the answer.

Sub-agents are not a third shape

Any agent may own sub-agents — internal workers it calls like tools. A sub-agent is a capability of its parent: it is never a routing destination, and your users never see it named. Use one when a specialist needs a self-contained job done (summarise these 40 reviews) without spending its own context on it. Sub-agent work happens inside the parent’s turn and shows up in the trace’s participants, so it stays inspectable.

How a message reaches an agent

1

The message arrives at the network

It comes with the last few turns for context.
2

The classifier picks one agent

It reads the roster — each agent’s description — plus your routing instructions, and picks one agent.
3

That agent takes the whole turn

The decision is emitted on the stream before the answer starts, as a data-handoff chunk carrying the target, the reason, the confidence and the latency, so the widget can show where the turn went.
The classifier sees a short transcript — the last three stored messages plus the new one — and is told which specialist answered the previous turn, so a follow-up like “and what about Berlin?” stays with the specialist already handling it rather than being judged as a fresh question. When it isn’t sure, it asks. Rather than guessing and answering from the wrong agent, the network can return one short clarifying question in the user’s own language. The question is saved to the thread, so the reply routes correctly with that context. It is capped at two consecutive clarifications — after that the best guess runs. Turn routing off for a request with use_routing: false.

Writing the roster

Each agent’s description is a routing instruction, not a bio. It is what the classifier reads. Write what the agent handles, in the vocabulary your users actually use — and, where two agents are adjacent, what it does not handle.
Routing instructions live on the network. Domain definitions, tie-break rules and “always prefer X for Y” go here, alongside the candidate list. This is where you resolve the collisions no single description can settle. Give the network a generalist, and put it first. Roster order is routing order, and the first agent is where a turn lands when classification fails outright. A support-style agent with no API tools but every rich UI component can answer “what can you do”, demonstrate the surface, and absorb the questions no specialist owns. Low-confidence turns are not sent to it: they get a clarifying question, at most twice, and then the classifier’s best guess — so the generalist’s description should claim the general ground explicitly rather than rely on being a catch-all.

The four things that must agree

Moving a capability from one agent to another touches four places. Move all four, or routing quietly keeps honouring the old arrangement:
  1. The roster — which agents are attached to the network.
  2. The routing instructions — the ladder and its examples.
  3. The receiving agent’s tools — it must actually hold the tools for what it now owns.
  4. Both agents’ descriptions — grant on one side, revoke on the other.
The common failure is a half-move: routing sends catalogue lookups to an agent with no catalogue tools, while the agent holding those tools sits in the roster with an empty description, reachable only by accident. Every capability move is a two-sided edit. The matching failure inside an agent: instructions that name a capability whose tool isn’t attached. The agent either dead-ends or improvises. After any change, check both directions — every tool named in the prompt is attached, every attached tool is accounted for.

Follow-ups

After each answer the network can propose up to three follow-up questions, rendered as chips. Each chip carries the agent that should answer it, chosen from the live roster — so tapping one skips routing entirely. A question no single specialist cleanly owns is dropped rather than shipped untargeted, which makes the chips a useful read on whether your boundaries are clean: if few survive, your agents overlap. Guidance for follow-ups is itself an instructions array, so it supports variables, display rules and your shared prompt blocks.

The platform agents

Four agents come with every network and are not part of its roster: the handoff classifier that routes a turn, the follow-up suggester that proposes the chips, the dashboard agent that builds dashboards on behalf of every roster agent, as its sub-agent — the roster agent briefs it and answers the user with its report — and the model classifier that picks, per turn, the model profile the answering agent runs with (off until you give it profiles). Each runs on a platform default; a network can override what it needs under system_agents on PATCH /v1/copilots/{id}:
Per agent: model_slug and model_settings (as on an agent version), memory (for the agents that keep one), instructions — an instructions array like an agent’s own, with variables, display rules and your shared prompt blocks — and enabled: false to switch the dashboard agent off for this network. Absent keys keep the defaults. dashboard.templates_tool is deprecated: the starter dashboards the widget offers come from the organization’s template store and the network’s tags (PATCH /v1/networks/{id}) — see Templates on the empty state. It is still read, for one release, by a network the store offers nothing. dashboard.thread_access_tool names the source tool that decides whether a user may read a conversation a dashboard’s thread view opens when it is not their own — see Drawers, modals and forms. handoff.instructions and followup.instructions take precedence over the older handoff_prompt and followup_instructions fields. The block is copied by POST /v1/copilots/{id}/deploy with the rest of the configuration.

Choosing the model per turn

An agent version names one model. Most turns do not need it: a greeting, a one-line lookup or a reply to a clarifying question is answered as well by a small model with no reasoning, in a fraction of the time and cost, while a “compare these three sources and write me a report” turn deserves the strongest model with reasoning on. The model classifier makes that call per turn. You give the network a short list of named profiles — each a description of when it applies and the settings to run with — and a fast classifier reads the recent conversation and picks one before the answer starts:
How it behaves:
  • default is always a choice. It is the agent version’s own model and settings, untouched. The classifier picks it when no profile clearly applies, and it is the fallback when the classifier is unsure (confidence below min_confidence, medium unless you say otherwise), names an unknown key or fails. Switching the classifier on can therefore never put a turn on a model nobody chose; fallback may name one of your profiles instead.
  • A profile changes only what it names. model_slug (a policy/… slug is accepted), model_options (reasoning effort and native provider options, as on an agent version) and model_settings (temperature, maxOutputTokens, …, merged over the agent’s own) are each optional. The clarify profile above keeps every agent’s own model and only turns reasoning off.
  • The classifier sees key and when, never the slug. Write when as the kind of request, in your own words — it classifies the work the answer needs, not the models. Extra guidance goes in instructions, the same block array as the handoff’s.
  • It runs on a typed classifier by default, a model that answers one multiple-choice question over your profile keys with a probability per option and reports its confidence from how peaked that distribution is (below 0.5 is low, 0.85 and above is high). It answers in a few hundred milliseconds for a fraction of a cent and returns no prose: the reason on its decision is the distribution. Name a chat model in model_slug on the classifier itself (model_settings as for the other platform agents) to run it on a generative model instead; it then explains its pick in words and reports its own confidence.
  • Profiles are per network and apply to every roster agent of it. The profile also follows a delegation: when the answering agent hands part of the turn to another roster agent, that agent runs on the same profile. The platform agents (handoff, follow-up, dashboard) keep their own models.
  • It costs no extra waiting when routing is on: the model classifier and the handoff classifier run side by side on the same transcript. On a single-agent network it is the one pre-stream call. The decision is billed to the network’s key like the handoff’s.
  • Chat only. Automations run their prompt on the model they were written against, and experiments stay reproducible on the version’s own model. A clarification turn (a low-confidence handoff) streams on the clarification agent’s model and drops the profile.
Each turn streams its decision as a data-model-profile chunk before the first text, next to data-handoff: { profile, requested?, reason, confidence, latencyMs, fallbackApplied?, degraded?, dropped? } — profile is the key the answer runs with, requested the classifier’s own pick when the fallback replaced it. The collected response of POST /v1/copilots/{id}/run carries it too, so the golden set below can assert the profile alongside the agent. Each turn’s span records the profile as modelProfile, so spend can be compared per profile in observability.

Testing routing

Routing is the part of a network you cannot eyeball. Build a golden set — real user phrasings, each with the agent that should take it — and run each one through POST /v1/copilots/{id}/run. The collected response includes the data-handoff decision (and the data-model-profile decision when the model classifier is on), so a short script can compare the chosen agent — and profile — with the expected one after every roster or instruction change. Include the awkward cases: follow-ups that change subject, messages that name two domains, one-word replies. Experiments target one agent version at a time, so use them to test what each specialist answers; the golden set above tests where the turn goes.

Checklist

  • Start with one agent; split only when tool selection degrades.
  • Every agent has a description written for the classifier, with boundaries.
  • Collisions are resolved in the network’s routing instructions, not by lengthening descriptions.
  • There is a generalist, first in the roster, whose description claims the general ground.
  • Every capability move is applied in all four places.
  • A golden set covers your real routing decisions and runs after every change.