LangChain's new typesafe package adds a classifier and experimental middleware for auto-mode and model routingSending each request to a model chosen by the difficulty of the task, rather than using one model for everything.Full definition →, giving AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → builders built-in primitives for routing requests between models.
Terms in this piece · Glossary
model routing — Sending each request to a model chosen by the difficulty of the task, rather than using one model for everything.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.