Skip to content

A basic voice assistant app built with LiveKit Android Components

Notifications You must be signed in to change notification settings

livekit-examples/android-voice-assistant

Repository files navigation

LiveKit logo

Android Voice Assistant

Deploy a sandbox appLiveKit Agents DocsLiveKit CloudBlog

A basic example of an AI voice assistant using LiveKit Android Components.

Installation

Using the LiveKit CLI

The easiest way to get started is to use the LiveKit CLI. Run the following command to bootstrap this template:

lk app create --template android-voice-assistant [--sandbox <sandboxID>]

Then follow instructions to set up an agent for your app to talk to.

Manual Installation

Clone the repository and install dependencies using Gradle, then edit the TokenExt.kt file in the app source to add either a sandboxID (if using a hosted Token Server via Sandboxes), or a manually generated URL and token.

Then follow instructions to set up an agent for your app to talk to.

Token Generation

In production, you will want to host your own token server to generate tokens in order for users of your app to join LiveKit rooms. But while prototyping, you can either hardcode your token, or use a hosted Token Server via Sandboxes).

Agent

This example app requires an AI agent to communicate with. You can use one of our example agents in livekit-examples, or create your own following one of our agent quickstarts.

About

A basic voice assistant app built with LiveKit Android Components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages