A sample LiveKit Agent using AssemblyAI for handling STT (Speech-To-Text), Cerebras as the agent model, and Rime for handling TTS (Text-To-Speech).
- Python 3.13+
- Linux, MacOS, or Windows
- LiveKit Cloud Account
- AssemblyAI Account
- Cerebras Account
- Rime Account
Clone this repo then:
A virtual environment is recommended to manage your Python dependencies. Using (uv)[https://docs.astral.sh/uv/]:
# Create virtual environment and download project dependencies
uv sync
Copy the env.sample file to a .env file with:
cp env.example .env
Then fill in the API key values.
Locally:
uv run python agent.py console
Via LiveKit Playground:
uv run python agent.py dev
For more details on LiveKit:
Cerebras:
Rime:
For AssemblyAI: