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 → LLM → TTS. See Voice Agents for the full wiring guide.
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:
from vision_agents.core.agents.events import UserTranscriptEvent@agent.events.subscribeasync def on_transcript(event: UserTranscriptEvent): print(event.text)
Next Steps
Voice Agents
Wire STT into a full voice pipeline
Turn Detection
When the agent starts and stops listening
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.