Skip to main content

LiveKit Integration Installation

Integrate NextEVI with LiveKit Agents to create powerful real-time voice applications that work seamlessly with LiveKit’s ecosystem and playground.

Prerequisites

  • Python 3.9 or higher
  • NextEVI API account with API key, config ID, and project ID
  • LiveKit account with API credentials

Installation

Install the NextEVI LiveKit plugin:
This will automatically install:
  • livekit-agents (>=1.2.8)
  • Required NextEVI dependencies
  • Audio processing libraries

Environment Setup

Set up your environment variables for both NextEVI and LiveKit:
You can get your NextEVI credentials from your NextEVI dashboard and LiveKit credentials from your LiveKit console.

Verify Installation

Create a simple test to verify everything is working:

Next Steps

Quick Start Guide

Get your first NextEVI agent running with LiveKit in minutes

Troubleshooting

Make sure you have Python 3.9+ and run:
LiveKit requires specific audio formats. The plugin handles this automatically, but ensure your system has audio drivers installed.
Verify your environment variables are set correctly: