Skip to main content

Sandbox

Rapidly prototype your apps and share them with others, cutting out the boilerplate.

Overview

Deprecation notice

LiveKit Sandbox is deprecated, and some functionality may already be removed or disabled. Use Agent Console to test and debug agents, and use the token server for frontend development and testing.

Existing sandboxes continue to work during the transition, but don't use Sandbox for new projects. You can still view and delete existing sandbox apps in LiveKit Cloud.

LiveKit Sandboxes  are hosted components that help you prototype your ideas without having to copy and paste code or manage deployments. They're integrated with our CLI, and ready to work with your LiveKit account out of the box. You can use a sandbox to:

  • Build and customize an AI voice assistant you can share with others, without building and deploying a frontend.
  • Prototype a mobile or web app without having to set up and deploy a backend server with a token endpoint.
  • Set up video conferencing rooms with a single click, and share the link with friends and colleagues.

Getting started

For new projects, use one of the supported workflows instead:

  • Use Agent Console to test agents, inspect sessions, and share agent debugging links.
  • Use the token server to generate development tokens for frontend apps without running a backend.

Sandbox creation is disabled. You can still use the Sandbox page to view and delete existing sandbox apps.

  1. Create a LiveKit Cloud account and Install the LiveKit CLI.

  2. If you're setting up the CLI for the first time, authenticate with your LiveKit Cloud account:

    lk cloud auth
  3. Navigate to the Sandbox  page to view or delete existing sandboxes, or enable the token server from Settings .

Moving to production

When you're ready to move on from the prototyping stage and own the code yourself, every existing sandbox app can be cloned to your local machine, ready for customization. The quickest way to create a new agent project is via the LiveKit CLI:

lk agent init my-agent --template agent-starter-python

You'll notice this is similar to the process for cloning agents and other local templates. That's because all sandboxes, and many other templates at github.com/livekit-examples , are simple git repositories with a few conventions around environment variables that make them ready to work with your LiveKit account and the CLI.

Community templates

If you're interested in creating and sharing your own templates with the larger community of LiveKit users, check out the Template Index  repository for more information on contributing.