average-knife-77348
09/23/2025, 5:57 PMtall-airline-16756
09/23/2025, 5:57 PMtall-airline-16756
09/23/2025, 5:58 PMaverage-knife-77348
09/23/2025, 5:59 PMtall-airline-16756
09/23/2025, 5:59 PMagent_name in your agent's configuration. For example:
const opts = new WorkerOptions({
agentName: 'my-agent', // Disables automatic dispatch
entrypointFnc: async (ctx) => {
console.log('Agent started with metadata:', ctx.job.metadata);
},
});
2. Once auto-dispatch is disabled, you can manually dispatch the agent using methods like API calls, participant join tokens, or room creation APIs.
If you’d like, I’m here to help with more details or examples tailored to your setup—just let me know! Sources: Agent dispatch | LiveKit Docs | Agents telephony integration | LiveKit Docs | livekit-agents/livekit/agents/worker.py | Authentication | LiveKit Docs | livekit/livekit_room.pb.goaverage-knife-77348
09/23/2025, 6:05 PMtall-airline-16756
09/23/2025, 6:05 PMaverage-knife-77348
09/23/2025, 6:06 PMtall-airline-16756
09/23/2025, 6:07 PMaverage-knife-77348
09/23/2025, 6:07 PMtall-airline-16756
09/23/2025, 6:08 PMaverage-knife-77348
09/23/2025, 6:10 PMtall-airline-16756
09/23/2025, 6:11 PMaverage-knife-77348
09/23/2025, 6:11 PMaverage-knife-77348
09/23/2025, 6:11 PMtall-airline-16756
09/23/2025, 6:12 PMclassCode).
• canPublish: This gives the user the ability to publish audio, video, or screen share tracks.
• canSubscribe: This allows the user to subscribe to media tracks from other participants.
This setup is perfect for participants who need full interaction capabilities. If you’re aiming for something like viewer-only access, you can simply set canPublish to false. Feel free to reach out if you’d like me to help you tweak this or if you have any other questions! Sources: Authentication | LiveKit Docs | livekit-api/src/access_token.rs