miniature-businessperson-21934
04/10/2026, 5:47 AMtall-airline-16756
04/10/2026, 5:48 AMtall-airline-16756
04/10/2026, 5:49 AMapp.py) inside a LiveKit deployment. Quick answer and guidance:
• You can deploy your agent backend (the agent entrypoint like agent.py) to LiveKit Cloud or a self-hosted LiveKit Agents environment. LiveKit is built to run agent server projects (entrypoint, dependencies, Dockerfile) that handle real-time media/AI logic.
• If your app.py is a LiveKit agent implementation (the real-time/agent logic), you can deploy it as the agent container. Use the LiveKit CLI (lk agent create) or a self-hosted container/Kubernetes deployment.
• If your app.py is a general-purpose web backend (HTTP routes, auth, DB access), that should run separately (e.g., on AWS, GCP, Vercel). The LiveKit agent can communicate with that external backend via HTTP/RPC/message queues so responsibilities stay separated.
If you want, tell me:
• Is your app.py an agent (handles room/audio/video/AI logic) or a general web API?
• Are you targeting LiveKit Cloud or a self-hosted deployment?
I’ll give exact deploy steps based on your answer.
Sources: Self-hosted deployments | LiveKit Documentation | Voice AI quickstart | LiveKit Documentation | Build Your First AI Voice Agent in Python: Complete Tutorial | LiveKit | examples/drive-thru | livekit/livekit_composite | DeepWiki | Agents (Python) | livekit/livekit_composite | DeepWiki, with interactive elements