Thank you! I indeed had a deployed agent and deleted it. (Side note: This is also the same issue as the one reported on GitHub.)
[…] the agent needs to be dispatched to the same room as the Android participant. […]
How can I ensure that my agent is in all rooms that are created in my application? I would like to build an app where participants can speak with the agent 1:1—i.e., each room should only include the participant and the agent. This seems to be solved by including the agentName in the rememberSession constructor.
[…] it doesn’t specify the agent name (which must match the name of the agent you created)
Exactly that was my question: How does LiveKit (for Android) know which agent to use?
Thank you for the hint about the missing parameter. I edited these lines as follows where agentName is defined with the name of my deployed agent:
val session = rememberSession(
tokenSource = viewModel.tokenSource,
options = SessionOptions(
room = viewModel.room,
+ tokenRequestOptions = TokenRequestOptions(agentName = "Sage-1b7b")
)
)
It works with warnings when I using an agent deployed via dashboard, but it didn’t work when I used an agent deployed via CLI.
Dashboard-deployed Agent
Warnings in dashboard-deployed agent shown in the app:
Received byte stream for topic "lk.agent.session", but no handler was found. Ignoring.
The following error is shown when hanging up the call with the agent:
Error sending metrics:
io.livekit.android.room.RoomException$ConnectException: Publisher isn't setup yet! Is room not connected?!
at io.livekit.android.room.RTCEngine.ensurePublisherConnected(RTCEngine.kt:805)
...
These are the logs above as shown in Android Studio (including additional info):
CLI-deployed Agent
Error in CLI-deployed agent is “Missing configuration” shown in the terminal with lk agent logs:
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 126, "elapsed_time": 0.6, "timestamp": "2026-04-11T09:15:17.928538+00:00"}
{"message": "Missing configuration", "level": "ERROR", "name": "livekit.plugins.ai_coustics", "room": "sbx-2reup2-irxC839KnguXhA9bopXo28", "pid": 84, "job_id": "AJ_o4hYQxWY8Rox", "room_id": "RM_ptzWdPTyDKQV", "timestamp": "2026-04-11T09:15:18.042031+00:00"}
Summary
- How can I fix the warning below in the Android app?
”Received byte stream for topic “lk.agent.session”, but no handler was found. Ignoring.”
- Do you have an idea why the “Missing configuration” error is happening in the CLI-deployed agent? I have
.env with credentials LIVEKIT_URL, LIVEKIT_API_KEY, and LIVEKIT_API_SECRET defined.