Google Speech Recognition STT plugin for LiveKit Agents
Project description
🚀 Installation
pip install livekit-plugins-googlesr
🧠 Usage Example
Use the plugin in your LiveKit Agent session:
from livekit_plugins_googlesr import GoogleSTT
from livekit.agents import AgentSession, inference
session = AgentSession(
stt=GoogleSTT(language="ar-EG"),
# ... other components (llm, tts, vad, turn_detection)
)
🌍 Notes on Arabic Turn Detection (ar-EG)
LiveKit’s Multilingual Turn Detector currently supports a subset of languages —
Arabic (ar-EG) is not yet explicitly listed.
You might see this message:
2025-10-25 16:59:28,265 - INFO livekit.agents - Turn detector does not support language ar-EG
Keep an eye on LiveKit Docs for future updates on multilingual support.
🧩 Features
- ✅ Plug-and-Play integration with LiveKit Agents
- 🌐 Supports 100+ languages via Google Speech API
- ⚡ Real-time low-latency transcription
- 🗣️ Native support for Arabic (
ar-EG)
🧪 Quick Demo (Optional)
You can also test the plugin directly without LiveKit:
from livekit_plugins_googlesr import GoogleSTT
stt = GoogleSTT(language="en-US", api_key="YOUR_GOOGLE_SPEECH_API_KEY")
text = stt.transcribe("path/to/audio.wav")
print(text)
💡 Development & Contributing
Want to improve the plugin? Clone and install it locally:
git clone https://github.com/haitham-ramadan/livekit-plugins-googlesr.git
cd livekit-plugins-googlesr
pip install -e .
Pull requests and issues are welcome! Please open an issue before submitting major changes.
🧾 License
This project is licensed under the MIT License.
👨💻 Author
Haitham Ramadan 💬 GitHub
⭐ Support
If you find this project useful, please ⭐ star the repo and share it with others!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livekit_plugins_googlesr-0.1.2.tar.gz.
File metadata
- Download URL: livekit_plugins_googlesr-0.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55848dbc5f4bee3b081482978565154d3594b3f369c08a9d3489285c875583e8
|
|
| MD5 |
85837f262a2b374e035699bba18022cb
|
|
| BLAKE2b-256 |
6e2926a030db0176008840f2e119aabd6689e772506f65578c7b42803bd13c77
|
File details
Details for the file livekit_plugins_googlesr-0.1.2-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_googlesr-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54f9ac8751abc43bd8c49d0b2c5a422ba7a0836b44d0218717a86902a8703a40
|
|
| MD5 |
82a319db3df6cd381d2e5cd700abd5c3
|
|
| BLAKE2b-256 |
ab59970e756bbdb15aadfeae5ee7f1de4d5a0c8978139644fd16813b9ed5928e
|