Deploying to LiveKit Cloud
LiveKit Cloud agent hosting builds your repository’s Dockerfile, runs it next to your project, and scales it with demand.
1. Create the deployment
Section titled “1. Create the deployment”Install the LiveKit CLI and sign in with lk cloud auth. Set the production worker name in .env:
AGENT_NAME=acme-scribeThen, from the repository root:
lk agent create --secrets-file .envThis 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:
lk agent deploy2. Register the agent in Parivox
Section titled “2. Register the agent in Parivox”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.
3. Check it
Section titled “3. Check it”Add the agent to a meeting in one of your rooms, then:
lk agent logsYou should see Parivox agent <id> live in pr-….
Troubleshooting
Section titled “Troubleshooting”| 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(). |
Secrets
Section titled “Secrets”Keep keys in LiveKit Cloud secrets (--secrets-file), never in the image. .env is in .gitignore and .dockerignore.