c1d3a5784c3ead84f1c3ec1bc807f0ad27f570a5
Voice AI Assistant with LiveKit Agents
Deploy a sandbox app • LiveKit Agents Docs • LiveKit Cloud • Blog
A simple voice AI assistant built with LiveKit Agents for Python.
Dev Setup
Clone the repository and install dependencies to a virtual environment:
cd agent-starter-python
uv sync
Set up the environment by copying .env.example to .env and filling in the required values:
LIVEKIT_URLLIVEKIT_API_KEYLIVEKIT_API_SECRETOPENAI_API_KEYDEEPGRAM_API_KEY
You can also do this automatically using the LiveKit CLI:
lk app env -w .env
Run the agent:
uv run python src/agent.py dev
This agent requires a frontend application to communicate with. Use a starter app, our hosted Sandbox frontends, or the LiveKit Agents Playground.
Run tests
uv run pytest
Languages
Python
77%
Dockerfile
23%