Files
pj0333-full-duplex/README.md
T
2025-06-30 15:51:21 -07:00

1.4 KiB

LiveKit logo

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_URL
  • LIVEKIT_API_KEY
  • LIVEKIT_API_SECRET
  • OPENAI_API_KEY
  • DEEPGRAM_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