Skip to main content
Speech-to-Text (STT) converts spoken audio into text. In a custom voice pipeline, STT sits between the call and the LLM: user speaks → STT transcribes → turn signal → LLMTTS. See Voice Agents for the full wiring guide.

Quick Start

Add keys to your .env:
The SDK captures audio from your Stream call and feeds it to the STT provider in real time. As people speak, you receive live transcripts.

Providers

Fast-Whisper runs locally on your machine. Wizper uses Fal.ai cloud — it is not a local model.
STT plugins without built-in turn detection need an external turn detection plugin, or the agent falls back to using the final transcript as the end-of-turn signal.

Transcripts

STT providers emit partial, replacement, and final transcripts. Subscribe to agent events to handle them in your application:

Next Steps

Voice Agents

Wire STT into a full voice pipeline

Turn Detection

When the agent starts and stops listening