Agent Systems: Router Pattern
Intent
Select the smallest capable specialist for each request.
Outline
- Recurring problem: a single agent receives tasks with different tools, formats, or standards of evidence.
- Structure:
request → classifier → specialist → common response. - Stable interface: the request and response contract.
- Variable implementation: the classifier and specialist selected for the request.
- Strength: separates classification from execution.
- Risks: misclassification, routing drift, and policy complexity.
- Example: route a proof-checking task to retrieval, calculation, or exposition support.
Suggested figure
03-router.svg in the Agent design pattern illustration folder.
