RealtimeSTT

Python library for low-latency speech-to-text with voice activity detection and wake word support.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

RealtimeSTT wires the pieces of a live transcription pipeline into one Python library: voice activity detection through WebRTC VAD and Silero VAD, optional wake word activation through Porcupine or OpenWakeWord, and streaming transcription with faster-whisper as the recommended engine, with OpenAI Whisper, Moonshine, sherpa-onnx, Kroko-ONNX, Parakeet, and FunASR available as alternatives. The recorder listens on a microphone or accepts external audio streams and emits partial text in real time, which is why the library is commonly used as the ears of LLM voice agents, often paired with the same author's RealtimeTTS for the reply path. Installation is pip install RealtimeSTT with the faster-whisper extra on Python 3.11 or newer, with PortAudio headers needed on Linux; CPU-only operation works with small models, and a CUDA GPU is recommended for realtime accuracy with larger ones. A FastAPI browser server example demonstrates multi-user streaming. The project is MIT licensed, has around 10,000 GitHub stars, and everything, including wake words and VAD, runs locally.

Should you use RealtimeSTT?

Pick it when

Pick RealtimeSTT when you are building a local voice assistant or LLM voice agent in Python and want microphone capture, VAD, wake words, and streaming partial transcripts already wired together.

Look elsewhere when

Skip it for batch transcription of files or for mobile apps; it is a Python 3.11+ pipeline around other engines. Use faster-whisper or Whisper.cpp directly for files, and Sherpa-ONNX on phones.

Alternatives to RealtimeSTT

  • faster-whisper

    The default engine underneath, the right layer when you only need to transcribe files and will handle audio capture yourself.

  • Sherpa-ONNX STT

    Streaming ASR, VAD, and TTS that run on Android, iOS, and WebAssembly, where a Python library is not an option.

  • Silero VAD

    Just the speech gate RealtimeSTT uses, if you are assembling your own pipeline and want a 2 MB CPU detector.

  • Vosk

    Streaming partial results with tiny models and bindings for many languages beyond Python, at some cost in accuracy versus faster-whisper.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Easy (2/5)
License
MIT
Added
Jul 29, 2026

Tags