How To Create A Staging Environment for Your Voice Agent
Add a staging environment to a LiveKit voice agent you already have in production, and test a real change on real infrastructure before it reaches your callers. Non-production deployments run the same container image, in the same project, with the same secrets as production, they sleep when idle, and you promote the build you tested straight to production with one command. This one is deployment-side, not eval-side. It covers where your agent runs while you test it, the infrastructure, the secrets, and the traffic path, rather than whether its answers are any good. We follow a single change the whole way through: bring up a staging deployment with lk agent deploy --deployment staging, send it a real call with a token, branch on LIVEKIT_AGENT_DEPLOYMENT when staging needs a different key, promote that exact image to production, and wire the same two steps into CI. Plus the three things worth knowing before you go do it. Sign up for LiveKit Cloud: https://cloud.livekit.io/signup?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=oFi4CQl0fYg 📚 Resources 📚 Agent deployments guide: https://docs.livekit.io/deploy/agents/deployments/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=oFi4CQl0fYg Agent docs: https://docs.livekit.io/agents/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=oFi4CQl0fYg Deployments are available on Ship and above. You need livekit-agents 1.6 or later on Python, or @livekit/agents 1.7.1 or later on Node. Below those versions a deployment comes up as production instead, so check your version before you create one. 🤝 Join the Community: https://community.livekit.io/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=oFi4CQl0fYg #livekit #ai #voiceai