FastRTC
community
AI & ML interests
Real Time Communication for AI apps in Python
Recent Activity
View all activity
Organization Card
FastRTC

The Real-Time Communication Library for Python.
Turn any python function into a real-time audio and video stream over WebRTC or WebSockets.
Installation
pip install fastrtc
to use built-in pause detection (see ReplyOnPause), and text to speech (see Text To Speech), install the vad
and tts
extras:
pip install fastrtc[vad, tts]
Key Features
- ๐ฃ๏ธ Automatic Voice Detection and Turn Taking built-in, only worry about the logic for responding to the user.
- ๐ป Automatic UI - Use the
.ui.launch()
method to launch the webRTC-enabled built-in Gradio UI. - ๐ Automatic WebRTC Support - Use the
.mount(app)
method to mount the stream on a FastAPI app and get a webRTC endpoint for your own frontend! - โก๏ธ Websocket Support - Use the
.mount(app)
method to mount the stream on a FastAPI app and get a websocket endpoint for your own frontend! - ๐ Automatic Telephone Support - Use the
fastphone()
method of the stream to launch the application and get a free temporary phone number! - ๐ค Completely customizable backend - A
Stream
can easily be mounted on a FastAPI app so you can easily extend it to fit your production application. See the Talk To Claude demo for an example on how to serve a custom JS frontend.
Docs
FastRTC Demos using Global Cloudflare Calls TURN network
spaces
40
Running
2
Talk To Oai Gpt Oss 20b
๐
Talk To GPT-OAI-OSS
Running
on
Zero
8
Gemma 3n E4B It
โก
Generate text from images, videos, and audio
Running
Integrated Text Box
๐
Talk or type to ANY LLM!
No application file
Integrated Textbox Gradio
๐
Running
on
CPU Upgrade
4
Talk to OpenAI (Gradio UI)
๐ฃ
Talk to OpenAI (Gradio UI)
Running
on
CPU Upgrade
35
Gemini Audio Video
โ
Gemini understands audio and video!
datasets
0
None public yet