LangChain quietly ships langchain-typesafe, an alpha package with TypeSafeClassifier, AutoModeMiddleware and ModelRouterMiddleware
Two initial releases of a brand-new package in the LangChain monorepo went out on 2026-09-17: langchain-typesafe 0.0.1a1 and 0.0.1a2. Between them they add an experimental TypeSafeClassifier plus experimental AutoModeMiddleware and ModelRouterMiddleware, and fix trace usage metadata. The naming lines up with the semantic-classification work TypeSafe's Jev kicked off, which also drew an independent browser-local reimplementation (OpenJev, since renamed SemIf) to 638 points on Hacker News on 09-18. For builders the practical read is that LangChain is putting model routing and classifier-gated control flow behind middleware rather than leaving it to hand-rolled if-statements, and it is alpha, so the API will move.
↳ Follow the thread