stale-intern-90009
09/03/2025, 1:56 AMtall-airline-16756
09/03/2025, 1:57 AMtall-airline-16756
09/03/2025, 1:57 AMagent_name field in the WorkerOptions during worker registration.
To make sure automatic dispatch works smoothly for you:
• Simply leave out the agent_name in WorkerOptions. For example, a simple setup would look like this:
agents.cli.run_app(agents.WorkerOptions(entrypoint_fnc=entrypoint))
When agent_name isn’t set, your worker is ready to be automatically dispatched to every new room created in your LiveKit Cloud project.
If you’ve set the agent_name, automatic dispatch won’t happen, so you’ll need to assign the agent to rooms manually. If you want, I’m here to help—just let me know!
Sources: Dispatching agents | LiveKit Docs | LiveKit Docs | Agent dispatch | LiveKit Docs | An open source stack for real-time multimodal AI | agent/main.py