Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 2.03 KB

File metadata and controls

66 lines (49 loc) · 2.03 KB

LiveKit w/ AssemblyAI, Cerebras, and Rime Example Project

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).

Prerequisites

Get Started

Clone this repo then:

1. Set up your Python environment

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

2. Create a .env file

Copy the env.sample file to a .env file with:

cp env.example .env

Then fill in the API key values.

3. Run the agent

Locally:

uv run python agent.py console

Via LiveKit Playground:

uv run python agent.py dev

Documentation & Resources

For more details on LiveKit:

Cerebras:

Rime:

For AssemblyAI: