able-lighter-67088
07/30/2025, 8:13 PMtall-airline-16756
07/30/2025, 8:13 PMtall-airline-16756
07/30/2025, 8:14 PMagent_name field in your WorkerOptions to enable explicit dispatch. For example:
opts = WorkerOptions(
...
agent_name="local-dev-agent",
) When agent_name is set, automatic dispatch is disabled. You can then:
◦ Dispatch jobs via API when needed for testing
◦ Configure participant tokens to automatically dispatch your named agent when participants connect
◦ Control exactly which agent handles which rooms
The recommended approach is to use separate project credentials for local development, as it provides complete isolation between your development and production environments while maintaining simplicity for local testing.
Sources: Deployment and scaling | LiveKit Docs | Agent dispatch | LiveKit Docs | livekit-agents/livekit/agents/worker.pyable-lighter-67088
07/30/2025, 8:15 PMtall-airline-16756
07/30/2025, 8:16 PMable-lighter-67088
07/30/2025, 8:20 PM