Skip to main content

Agents UI components

Polished Shadcn components for rapid development of voice agent frontends.

http://localhost:3000
Screenshot of Agents UI components used in our agent starter React app

Overview

Agents UI is a component library built on top of Shadcn and AI Elements to accelerate the creation of agentic applications built with LiveKit's realtime platform. It provides pre-built components for controlling IO, managing sessions, rendering transcripts, visualizing audio streams, and more.

Installation

You can install Agents UI components using the Shadcn CLI. First, set up shadcn in your project:

npx shadcn@latest init

Then add the Agents UI registry and install components:

npx shadcn@latest registry add @agents-ui
npx shadcn@latest add @agents-ui/{component-name}

After installation, components are available in your project's components/agents-ui directory with full source code that you can customize.

Other UI component SDKs

LiveKit also provides component libraries for other frameworks. While these are not agents-specific, they include useful components for building realtime applications:

FrameworkDescription
React componentsLow-level React components and hooks for building realtime audio and video applications with LiveKit's platform primitives.
Swift componentsSwiftUI components for iOS, macOS, visionOS, and tvOS applications with native platform integration.
Android componentsJetpack Compose components for Android applications with Material Design integration.
Flutter componentsFlutter widgets for cross-platform mobile and desktop applications.

In this section

Agents UI organizes components into the following categories. Each category page explains what the components do, when to use them, and includes live previews.

CategoryWhat it includesWhen to use
Media controlsAgentControlBar, AgentTrackControl, AgentTrackToggle, AgentDisconnectButton, StartAudioButtonGive users control over microphone, camera, session disconnect, and browser audio playback.
Audio visualizerAgentAudioVisualizerBar, Grid, Radial, Wave, AuraGive your voice agent a visual presence with animated visualizations driven by audio data and agent state.
Chat componentsAgentChatTranscript, AgentChatIndicatorDisplay realtime conversation transcripts, text messages, and typing indicators.