FastRTC: The Real-Time Communication Library for Python

FastRTC is a Python library that simplifies building real-time audio and video AI applications by abstracting away WebRTC complexities. It provides built-in voice activity detection, automatic turn-taking, and a Gradio-powered WebRTC UI for testing and deployment. The library also includes utilities for text-to-speech, speech-to-text, and stop word detection to accelerate voice AI development.

Creator: Freddy Boulton, Abubakar Abid (Hugging Face) | Category: voice | Status: draft

Key Capabilities

  • Automatic voice detection and turn taking
  • Built-in WebRTC-enabled Gradio UI
  • Phone calling via fastphone()
  • WebRTC and WebSocket support
  • FastAPI integration for custom UIs
  • TTS, STT, and stop word detection utilities
  • Python-native real-time streaming