This is a starter template for LiveKit Agents that provides a simple voice interface using the LiveKit JavaScript SDK.
This template is built with Next.js and is free for you to use or modify as you see fit.
Tip
If you'd like to try this application without modification, you can deploy an instance in just a few clicks with LiveKit Cloud Sandbox.
Run the following command to automatically clone this template.
lk app create --template voice-assistant-frontend
Then run the app with:
pnpm install
pnpm dev
And open http://localhost:3000 in your browser.
You'll also need an agent to speak with. Try our sample voice assistant agent for Python, Node.js, or create your own from scratch.
Note
If you need to modify the LiveKit project credentials used, you can edit .env.local
(copy from .env.example
if you don't have one) to suit your needs.
This template is open source and we welcome contributions! Please open a PR or issue through GitHub, and don't forget to join us in the LiveKit Community Slack!