Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Routing

Also: router

In plain words

Choosing where a task goes next. For example, send a hard question to a stronger model or to a person.

The fuller definition

Routing directs an input or task to a selected component based on rules or classification.

How it fits together
  1. Input

    New task

  2. Decision

    Choose a path

  3. Destination

    Script, model, or human

A simplified relationship, not a screenshot or a complete design.

A concrete example

Routine formatting goes to a script, while ambiguous document classification goes to a model or reviewer.

The distinction that matters

An incorrect routing decision can hide an important item from later review.

Related terms

Where it is taught

Prompts, skills, workflows, and agents

Source and further reading

Anthropic · Building effective agents

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC