withCascade() for drop-in cascade routing with any LangChain chat model.
Install
withCascade
Creates a cascade-enabled chat model from a drafter and verifier.Options
Model Discovery
Features
- Full LCEL support (pipes, sequences, batch)
- Streaming with pre-routing
- Tool calling and structured output
- LangSmith cost tracking metadata
- Model discovery and pair validation