livekit-examples/agent-starter-react

A complete voice AI frontend app for LiveKit Agents with Next.js

What it solves

This project provides a ready-made frontend template for developers to quickly build voice-based AI agents. It eliminates the need to build a voice interface from scratch by providing pre-built UI components for real-time interaction, audio visualization, and media streaming.

How it works

Built with Next.js and the LiveKit JavaScript SDK, the template connects a web frontend to a LiveKit Agent. It uses a specialized set of UI components (Agents UI) to handle the complex parts of a voice session, such as managing audio tracks, displaying chat transcripts, and rendering audio visualizers. Developers can connect the app to either a default LiveKit agent or their own custom agent via a token server for authentication.

Who it’s for

Frontend developers and AI engineers who want to integrate real-time voice, video, and avatar capabilities into their web applications without spending time on the basic UI and session management logic.

Highlights

  • Real-time Voice Interaction: Direct integration with LiveKit Agents for low-latency voice AI.
  • Custoimzable Visualizers: Five different audio visualizer styles including bar, grid, radial, wave, and aura.
  • Media Support: Built-in support for camera video streaming and screen sharing.
  • Virtual Avatars: Integration for displaying AI-driven virtual avatars.
  • Theming: Support for light and dark modes with system preference detection.

Related

  • Project
  • Project
  • Project
  • Project
  • Project