modern-winter-66316
12/02/2025, 8:16 PMtall-airline-16756
12/02/2025, 8:16 PMtall-airline-16756
12/02/2025, 8:16 PMmodern-winter-66316
12/02/2025, 8:16 PMtall-airline-16756
12/02/2025, 8:17 PM/api/connect (remove the signature) and paste the payload here? I’m specifically looking for room_config.agents in the JWT.
4. Is the agent process running and registered with LiveKit? (Check agent logs or run lk service status / your equivalent.)
5. Run lk room info <room-name> for the room shown in your logs (e.g., english-teacher-1764706509442-f9dtn2) and tell me whether the agent appears in the participant list.
6. Which SDKs and versions are you using for server-side agent dispatch (e.g., livekit-server-sdk, livekit-agents)?
What I can do next after you reply:
• If room_config.agents is missing from the token, I’ll show the exact token generation snippet to include the dispatch.
• If the agent is running but not dispatched, I’ll give the CLI/API commands to trigger a manual dispatch and what errors to look for in agent logs.
• If you prefer, paste a sanitized JWT payload and agent logs and I’ll inspect them for mismatches (agent_name, metadata, etc.).
Which of the above would you like to do first?
Sources: Connecting to LiveKit | LiveKit docs | Camera & microphone | LiveKit docs | Rooms, participants, and tracks | LiveKit docs | Agent dispatch | LiveKit docs | Python SDKs | livekit/livekit_composite | DeepWikimodern-winter-66316
12/02/2025, 8:17 PMtall-airline-16756
12/02/2025, 8:18 PMroom_config.agents with the correct agent_name.
1. Is the agent deployed and running in LiveKit Cloud?
◦ Run lk agent list or check the Agents page in the Cloud dashboard and tell me the agent’s state (Running, Building, CrashLoop, etc.).
1. Any agent logs or build errors?
◦ If possible, share the last few lines from lk agent logs --name <agent-name> or the build log (--log-type=build).
1. Are you relying on automatic dispatch or explicit dispatch?
◦ If your agent sets an agent_name in its decorator, automatic dispatch is disabled and you must dispatch explicitly (CLI/API/token). Tell me which method you expect.
1. Are you on a plan that may cause cold starts?
◦ If so, the agent can take ~10–20s to start. Let me know if you saw any delayed join attempts.
Send the decoded JWT payload (sanitized), agent name/status, and any recent agent logs and I’ll tell you exactly what to change or which dispatch command to run.
Sources: Agent dispatch | LiveKit docs | sip | livekit/livekit_composite | DeepWiki | Agent deployment CLI reference | LiveKit docs | Streamline Troubleshooting with Agent Observability | Log collection | LiveKit Docs