Skip to main content

LiveKit Framework

Voiceblox uses LiveKit as its agent runtime — an open-source, real-time infrastructure platform that handles audio transport, room management, and WebRTC.

What LiveKit gives you

FeatureDescription
In-browser testingFull playground with live voice sessions
Conversation stepsFull step engine with branching and timers
Avatar nodesVisual avatar rendering during calls
MCP integrationConnect external tool servers
Web search (Exa)Real-time search augmentation
Interruption controlToggle whether users can interrupt the agent
Standalone workerpnpm agent:start for production
Docker deploymentFull stack containerization

Setup

Sign up at cloud.livekit.io (free tier available) and add to .env.local:
LIVEKIT_URL=wss://your-project.livekit.cloud
LIVEKIT_API_KEY=APIxxxxxxxxxx
LIVEKIT_API_SECRET=your-secret

Two deployment modes

Worker mode (production): A standalone process connects to your LiveKit server, watches for new rooms, and starts an agent for each room. Local mode (playground): The Next.js server starts an in-process agent when you click Start Session in the Test Panel. See LiveKit Worker for production deployment details.