723 B
723 B
Agent Setup
Installation
Using uv
uv sync
This will create a virtual environment and install all dependencies.
Environment Variables
Copy the example environment file:
cp .env.example .env.local
Then edit .env.local with your credentials:
LIVEKIT_API_KEY- Your LiveKit API keyLIVEKIT_API_SECRET- Your LiveKit API secretLIVEKIT_URL- Your LiveKit server URL (e.g.,wss://your-project.livekit.cloud)GOOGLE_API_KEY- Your Google/Gemini API key
Or use the LiveKit CLI to auto-populate:
lk app env -w
Running the Agent
Using uv
uv run python agent.py dev
The agent will connect to LiveKit and wait for incoming sessions.