lively-horse-90722
12/23/2025, 9:30 AMtall-airline-16756
12/23/2025, 9:30 AMtall-airline-16756
12/23/2025, 9:30 AMcli.run_app(server)) so it registers with the LiveKit server and remains available.
• Use the Agents framework’s ServerType to control per-session behavior:
◦ ServerType.ROOM spawns one job per room (recommended for most cases).
◦ ServerType.PUBLISHER spawns per publisher if you need per-stream isolation.
• The agent server can run multiple jobs concurrently; each job runs in its own process for isolation.
• Run multiple agent server replicas to scale; LiveKit automatically balances job dispatch across available servers.
If you want, tell me:
• which language/framework you’re using (Python/JS/Go), and
• whether you want one agent instance per room or per publisher,
and I’ll give a concrete example for your setup.
Sources: Server lifecycle | LiveKit docs | Agent server options | LiveKit docs | examples/drive-thru | livekit/livekit_composite | DeepWiki