SomyaLabs does not yet have a built-in LiveKit plugin or a LiveKit Inference
model. Copy the SomyaLabs adapter into your
agent project before using the short example below.
Install and configure
Use Python 3.10 or newer. Create a LiveKit Cloud project and a SomyaLabs API key, then install:somya_livekit.py.
Create .env.local in the same directory:
Create the agent
Save this asagent.py beside somya_livekit.py:
python agent.py dev, then open the agent in your
LiveKit Cloud dashboard to speak to it. Change
voice="arjun" to another voice slug if you prefer.
Vyasa transcribes completed speech turns, so the agent does not receive interim
transcripts. Panini streams audio chunks for playback as they arrive. See the
adapter reference for how the HTTP requests and
audio conversion work.