If I deploy an agent on LiveKit Cloud, what comput...
# ask-ai
b
If I deploy an agent on LiveKit Cloud, what compute resources will it have?
t
Thanks for reaching out, Stefanos. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd love to help! Could you please clarify which specific compute resources you're referring to? For instance, are you asking about CPU, memory, storage, or something else? This will help me assist you better.
b
CPU and memory
t
When deploying agents on LiveKit Cloud, we usually recommend starting with 4 CPU cores and 8GB of memory per worker. This setup typically supports around 10–25 concurrent jobs, though it can vary depending on the agent's features, like advanced noise cancellation or turn detection. One of the great things about LiveKit Cloud is that it automatically handles scaling and load balancing based on real-time conditions, spinning up new servers as needed. You can easily keep an eye on CPU and memory usage through the LiveKit dashboard or by running commands like
lk agent status
in the CLI. If you’d like more details or need a hand with sizing your deployment, please don’t hesitate to reach out—I’m here to help! Sources: kubernetes/agent-manifest.yaml | Deploy and scale agents on LiveKit Cloud | cmd/lk/agent.go | Deploying to custom environments | LiveKit Docs | Deployment and scaling | LiveKit Docs
b
In https://livekit.io/pricing what is the difference between "Concurrent agent sessions" and "Agent deployments"
t
I'm happy to help clarify the difference between "Concurrent agent sessions" and "Agent deployments" in LiveKit pricing for you: • Concurrent agent sessions: This means the number of active, simultaneous sessions happening across all your agents on LiveKit Cloud. Each session is a real-time interaction, like a voice or video call, between a user and an agent. For example, the Build plan includes up to 5 concurrent agent sessions. • Agent deployments: This refers to how many distinct agents you have set up on LiveKit Cloud. Each deployment is a separate agent or service that you’ve uploaded and configured to manage sessions. For instance, the Build plan allows for 1 agent deployment. To sum it up: • Concurrent agent sessions = how many simultaneous interactions your agents can handle. • Agent deployments = how many individual agents you can deploy and manage. If you’d like me to explain anything further or have more questions, just let me know—I’m here to help! Sources: LiveKit Pricing
b
What will happen when the client sdk attempts to create a new room but the number of concurrent agent sessions is already at its limit?
t
I understand this can be a bit tricky, so let me walk you through it. When the client SDK tries to create a new room but the number of concurrent agent sessions has already hit its limit, the room itself will still be created successfully. However, any agent sessions that were supposed to start with that room won’t be able to launch because of the concurrency limit. It’s good to keep in mind that usually, room creation is managed through the server SDK, not the client SDK. The client SDK is mainly used for joining rooms that already exist. If your room setup includes agents, the agent dispatch happens right when the room is created. When you’ve reached the concurrency limit, the agent dispatch won’t show any errors on the client side because agent management happens on the server side. To keep an eye on these situations, you can check your server-side logs, use monitoring tools, or set up webhook notifications for agent lifecycle events. And if you find that you need to increase the limit for concurrent agent sessions, you can easily do this through the LiveKit Cloud dashboard, especially if you’re on a higher-tier plan. Sources: Quotas and limits | LiveKit Docs | LiveKit Pricing | packages/livekit-server-sdk/src/RoomServiceClient.ts | test/agent_test.go | An open source stack for real-time multimodal AI