Not every request needs the same agent or the same model. Routing patterns classify incoming requests and dispatch them to the right handler, whether that’s a fast cheap model for simple queries, a powerful one for complex reasoning, or a specialized agent for domain tasks.
Routing is how you build agentic systems that are both powerful and cost-effective. It lets you match each request to the right model, so simple queries go to fast cheap models and complex reasoning reasoning goes to powerful ones.
Key Ideas