Deploy a sandbox app • LiveKit Agents Docs • LiveKit Cloud • Blog
A basic example of a voice agent using LiveKit and Python.
Clone the repository and install dependencies to a virtual environment:
cd voice-agent-outbound-caller
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtSet up the environment by copying .env.example to .env.local and filling in the required values:
LIVEKIT_URLLIVEKIT_API_KEYLIVEKIT_API_SECRETOPENAI_API_KEYDEEPGRAM_API_KEYSIP_TRUNK_ID
Run the agent:
python3 agent.py dev