Routing
Also: router
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.
- Input
New task
- Decision
Choose a path
- 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
Orchestration
Managing the steps in a workflow. It sets which step runs next and how results pass between tools.
APIs & softwareScript
A short program that does one job, like renaming a folder of files.
Reliability & securityEvaluation (eval)
Testing an AI tool on a set of tasks to see how well it actually does.
Where it is taught
Prompts, skills, workflows, and agentsSource and further reading
Anthropic · Building effective agentsThe 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.