Skip to content

Deploying to LiveKit Cloud

LiveKit Cloud agent hosting builds your repository’s Dockerfile, runs it next to your project, and scales it with demand.

Install the LiveKit CLI and sign in with lk cloud auth. Set the production worker name in .env:

Terminal window
AGENT_NAME=acme-scribe

Then, from the repository root:

Terminal window
lk agent create --secrets-file .env

This builds and starts the agent and writes livekit.toml, which records your project and agent ID. Commit livekit.toml so later deploys find it. Later changes deploy with:

Terminal window
lk agent deploy

Create (or edit) the agent and set Runs on → Self-hosted worker name to the same AGENT_NAME. The prompt, greeting, skills and human contact are all edited there and take effect at the next meeting without a redeploy.

Add the agent to a meeting in one of your rooms, then:

Terminal window
lk agent logs

You should see Parivox agent <id> live in pr-….

Symptom Cause
Adding the agent says it can only join rooms hosted on its owner’s LiveKit project The room isn’t on your project. Turn on Use my LiveKit config in Settings, and use one of your own rooms.
The agent is added but never appears, and disappears from the list after 15 seconds No worker is registered under that name on your project, or the worker crashed before publishing presence. Check lk agent logs and that the names match exactly.
Room memory or Shared Files say they’re unavailable The job had no callback token (it wasn’t dispatched by Parivox), or the room is off the record.
The agent answers while hushed Your agent overrides on_user_turn_completed without calling super().

Keep keys in LiveKit Cloud secrets (--secrets-file), never in the image. .env is in .gitignore and .dockerignore.