{
  "id": "routing",
  "code": "PTL-0066",
  "term": "Routing",
  "aliases": [
    "model routing",
    "query routing"
  ],
  "category": "agents",
  "definition": "Routing is a workflow pattern that classifies an incoming request and directs it to a specialized prompt, tool, or model suited to that category.",
  "description": "Routing allows separate prompts to be optimized for distinct cases, and lets easy queries go to smaller, cheaper models while hard ones go to more capable models.",
  "example": null,
  "broader": [
    "agentic-workflow"
  ],
  "narrower": [],
  "related": [
    "prompt-chaining"
  ],
  "introduced": null,
  "sources": [
    {
      "title": "Building effective agents",
      "authors": "Anthropic",
      "year": 2024,
      "url": "https://www.anthropic.com/research/building-effective-agents"
    }
  ],
  "url": "https://protologue.com/t/routing/",
  "citation": "Protologue. (2026). Routing. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.0.0, PTL-0066). https://protologue.com/t/routing/"
}