Skip to content

Skill · pattern · routing

Router / handoff

Classify inbound language then dispatch to a specialist prompt, model, or agent. Use for support triage, intent classification, model routing, or handoff into specialists — not a group chat.

GET /api/canon/skills/routing?format=md

A router is a workflow. A handoff is a router that transfers conversation ownership with a rewritten brief. OpenAI Agents SDK handoffs are this.

When

Stable categories and a cheap, accurate classifier.

Do

  1. 01

    Classify cheaply

    A small model or a rules+LLM hybrid. Log confidence. Below threshold → ask_human.

  2. 02

    Dispatch to a different ACI

    The specialist has different tools or schema. Otherwise it is one agent with extra tokens.

  3. 03

    Rewrite the brief on handoff

    Adjacency list plus a summary. Do not dump the transcript.

Don't

  • Pass the full history into every specialist.
  • Use a crew group chat for triage.

Hard rules

  • Handoff = clean brief + specialist owns the conversation.
  • Ticket is the blob. Router writes a field; it does not start a chatroom.

Refuse

Load with this

Load next

Trigger tests

Should fire

  • Triage support tickets to specialists
  • Add a router before the refund agent

Should not

  • Build the FAQ page