Pipeline is self-configuring: based on the components you hand it, it automatically runs in Cascade, Hybrid, or Realtime mode. Switch between the tabs below to compare each mode’s architecture, when to reach for it, and the code that selects it.
Supported Modes
There are three modes supported by the Pipeline.1. Cascade (STT-LLM-TTS)
2. Realtime (LLM)
3. Hybrid (Cascade + Realtime)
- Cascade
- Realtime
- Hybrid
Cascade mode runs the pipeline as separate stages: VAD → STT → Turn Detector → LLM → TTS. The 
When to use it
Pipeline auto-detects it when you pass all these components, giving you full control over each stage.ArchitectureAudio flows: VAD detects speech, STT transcribes, the turn detector signals end of turn, the LLM generates a reply, and TTS synthesizes audio.- You need granular control over each stage (STT, LLM, TTS, VAD, turn detection).
- You want to mix and match providers for individual stages.
- You rely on custom hooks for turn-taking, RAG, or content filtering.
- You can trade higher latency for maximum flexibility.
Other Pipeline Combinations
ThePipeline is not limited to the named modes. It accepts any subset of components and configures itself accordingly.
What’s Next
Runtime Hooks
Tap into the pipeline at runtime to inspect or transform each stage.
Observability Hooks
Observe metrics and traces at each pipeline stage.
Fallback Adapter
Add automatic provider failover for any mode.