can i add multiple agents to a given room? is ther...
# ask-ai
s
can i add multiple agents to a given room? is there a limit on the number of agents I can add?
t
Thanks for reaching out, Wolfgang. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely, you can add multiple agents to a room in LiveKit! There are a few different ways to set this up, depending on what works best for you: • Via Room Configuration: You can add multiple
RoomAgentDispatch
entries within the
RoomConfiguration
. • Via API: The
CreateRoomRequest
allows you to include multiple agents through a repeated field. • Via Token Configuration: You also have the option to configure agents when generating access tokens. When it comes to limits, there isn’t a strict cap on the number of agents at the participant level within a room. That said, for LiveKit Cloud, there are some service-level quotas to keep in mind: • Up to 5 actively connected agent sessions at a time. • A total of 100 participants (including both agents and end-users) across all rooms. If you’re working with a self-hosted setup or need different limits, you might want to adjust your configuration or reach out to LiveKit for custom plans. I’m here to help if you have any questions along the way! Sources: Agent dispatch | LiveKit Docs | Core Platform Architecture & Authentication | livekit/livekit_composite | D... | protobufs/livekit_room.proto | Server-Side SDKs & Authentication | livekit/livekit_composite | DeepWiki | Connecting to LiveKit | LiveKit Docs
s
where can i learn more about the 5 actively connected agent sessions at a time?
t
I’d love to help clarify the limit of 5 actively connected agent sessions in LiveKit Cloud for you. This means that, at any given time, up to 5 agent sessions can be running simultaneously across all agents under your current plan. This limit is typical for the default pricing tier, but don’t worry—depending on your subscription, you might have access to higher limits like 20, 1,000, or even unlimited sessions! Just to explain a bit more, an "actively connected agent session" is when an agent is engaged in a WebRTC or Telephony session using LiveKit Cloud’s infrastructure. These sessions are designed to keep things running smoothly and continuously during your interactions. If you’re using the free plan, this 5-session limit is a firm cap, so new connection attempts won’t go through once it’s reached. But if you’re on a paid plan, you have the option to upgrade to a higher tier or request more capacity easily through the LiveKit Cloud dashboard. If you have any questions or would like some help with upgrading, please don’t hesitate to reach out—I’m here to support you! Sources: LiveKit Pricing | Quotas and limits | LiveKit Docs | Deploy and scale agents on LiveKit Cloud