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.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.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:- The roster — which agents are attached to the network.
- The routing instructions — the ladder and its examples.
- The receiving agent’s tools — it must actually hold the tools for what it now owns.
- Both agents’ descriptions — grant on one side, revoke on the other.
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 undersystem_agents on PATCH /v1/copilots/{id}:
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:defaultis 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 belowmin_confidence,mediumunless you say otherwise), names an unknown key or fails. Switching the classifier on can therefore never put a turn on a model nobody chose;fallbackmay name one of your profiles instead.- A profile changes only what it names.
model_slug(apolicy/…slug is accepted),model_options(reasoning effort and native provider options, as on an agent version) andmodel_settings(temperature,maxOutputTokens, …, merged over the agent’s own) are each optional. Theclarifyprofile above keeps every agent’s own model and only turns reasoning off. - The classifier sees
keyandwhen, never the slug. Writewhenas the kind of request, in your own words — it classifies the work the answer needs, not the models. Extra guidance goes ininstructions, 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
reasonon its decision is the distribution. Name a chat model inmodel_slugon the classifier itself (model_settingsas 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.
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 throughPOST /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.