A basic example of a Next.js frontend for a LiveKit AI voice agent.
- data passing between frontend and backend voice agent
- agent dispatch to connect both frontend and calling via optional SIP trunk setup (see repo linked at bottom)
Clone the repository and install dependencies:
cd livekit-nextjs-voice-agent-interface
yarn installSet up the environment by copying .env.example to .env.local and filling in the required values:
LIVEKIT_URLLIVEKIT_API_KEYLIVEKIT_API_SECRET
Run the Next.js application:
yarn devThis frontend application requires an agent to communicate with. You can use one this example agent in livekit-voice-agent-python