Documentation
¶
Overview ¶
Command livekit-agent demonstrates an OmniAgent-powered voice assistant with web search capabilities via LiveKit.
The agent uses OmniAgent for LLM + web search (Serper) and responds via voice.
Usage:
export LIVEKIT_URL="wss://your-project.livekit.cloud" export LIVEKIT_API_KEY="your-api-key" export LIVEKIT_API_SECRET="your-api-secret" export ANTHROPIC_API_KEY="your-key" # or OPENAI_API_KEY export SERPER_API_KEY="your-key" # for web search export STT_PROVIDER="deepgram" export DEEPGRAM_API_KEY="your-key" export TTS_PROVIDER="openai" export OPENAI_API_KEY="your-key" # Optional: Enable avatar (static image in video tile) export AGENT_AVATAR="true" # Use default OmniAgent icon export AGENT_AVATAR="/path/to/avatar.h264" # Use custom pre-encoded avatar go run -tags opus ./cmd/livekit-agent
Click to show internal directories.
Click to hide internal directories.