# Agent does't reply in Android app from agent-starter-android repo

**URL:** <https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828>\
**Category:** Getting Started\
**Tags:** android\
**Created:** [April 10, 2026, 9:15am UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828 "2026-04-10T09:15:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![schettino](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/schettino/32/1011_2.png) [@schettino](https://community.livekit.io/u/schettino)\
**Post date:** [April 10, 2026, 9:15am UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828/1 "2026-04-10T09:15:05Z")

</div>

Hello,

Following the instructions to run the [agent-starter-android app](https://github.com/livekit-examples/agent-starter-android) doesn’t seem to work. The agent is not replying and no errors are shown in the console.

## Issue Reproduction Steps

1. Sign up on LiveKit and create project

2. Enable token server in project settings on LiveKit Cloud

3. Create new agent in web dashboard using `Create in browser using Agent Builder` button and deploy

4. Copy `Token server sandboxId` from project settings on LiveKit Cloud

5. Run the command after replacing `<token_server_sandbox_id>` with the one from the previous step

6. Open project in Android Studio

7. Sync Gradle files

8. Build and run the app

9. Tap on start call and allow mic access

10. No greeting from agent, no error in the console, chatting with the agent doesn’t result in the agent replying.

I sporadically see some sessions being created with some delay in my dashboard but they’re closed.

 ![image](https://us1.discourse-cdn.com/flex001/uploads/livekit2/original/2X/0/0a0d5623e6dc08d09bd7875d2f383ad75b5210b5.png)

I also followed the instructions in [https://github.com/livekit-examples/agent-starter-python](https://github.com/livekit-examples/agent-starter-python) to deploy an agent but the Android app still doesn’t reply after deploying the agent via CLI. So, the issue doesn’t seem related to deploying agents on the dashboard.

Am I missing a step? How to fix this issue?

---

<div class="post-metadata">

**Author:** ![darryncampbell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/darryncampbell/32/20_2.png) [@darryncampbell](https://community.livekit.io/u/darryncampbell)\
**Post date:** [April 10, 2026, 3:56pm UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828/2 "2026-04-10T15:56:32Z")

</div>

> [@schettino](#):
>
> Create new agent in web dashboard using `Create in browser using Agent Builder` button and deploy

Two things:

- Looking in your account at [Sign in | LiveKit Cloud](https://cloud.livekit.io/projects/p%5C_/agents) I do not see any deployed agents
- Assuming you had an agent previously, and then deleted it, the agent needs to be dispatched to the same room as the Android participant. I expected this to be done through the token, [Sandbox token server | LiveKit Documentation](https://docs.livekit.io/frontends/build/authentication/sandbox-token-server/#use-a-sandbox-based-tokensource), but if I look at the source code at [agent-starter-android/app/src/main/java/io/livekit/android/example/voiceassistant/screen/VoiceAssistantScreen.kt at 41f63e0cf11c5b167c0e10ab3c194b6ead01599a · livekit-examples/agent-starter-android · GitHub](https://github.com/livekit-examples/agent-starter-android/blob/41f63e0cf11c5b167c0e10ab3c194b6ead01599a/app/src/main/java/io/livekit/android/example/voiceassistant/screen/VoiceAssistantScreen.kt#L51) it doesn’t specify the agent name (which must match the name of the agent you created)

I believe these two steps should resolve your issue, but let me know. I haven’t tried the Android starter with our new sandbox TokenSource

---

<div class="post-metadata">

**Author:** ![schettino](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/schettino/32/1011_2.png) [@schettino](https://community.livekit.io/u/schettino)\
**Post date:** [April 11, 2026, 9:39am UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828/3 "2026-04-11T09:39:57Z")

</div>

Thank you! I indeed had a deployed agent and deleted it. (Side note: This is also the same [issue](https://github.com/livekit-examples/agent-starter-android/issues/63) 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](https://github.com/livekit-examples/agent-starter-android/blob/41f63e0cf11c5b167c0e10ab3c194b6ead01599a/app/src/main/java/io/livekit/android/example/voiceassistant/screen/VoiceAssistantScreen.kt#L104-L109) lines as follows where `agentName` is defined with the name of my deployed agent:

```diff
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:

```auto
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:

```auto
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):

 ![image](https://us1.discourse-cdn.com/flex001/uploads/livekit2/original/2X/b/bd958015b0f05a782a34fea93542c2246689b27c.jpeg)

## CLI-deployed Agent

Error in CLI-deployed agent is “Missing configuration” shown in the terminal with `lk agent logs`:

```bash
{"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

1. 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.”
2. 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.

---

<div class="post-metadata">

**Author:** ![darryncampbell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/darryncampbell/32/20_2.png) [@darryncampbell](https://community.livekit.io/u/darryncampbell)\
**Post date:** [April 13, 2026, 10:07am UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828/4 "2026-04-13T10:07:11Z")

</div>

> ”Received byte stream for topic “lk.agent.session”, but no handler was found. Ignoring.”

I went down a bit of a rabbit hole here. TLDR it’s safe to ignore it. If you want it to disappear you can register a handler for `lk.agent.session` but I don’t think the data within that is intended for external consumption.

> 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.

That error is coming from your agent:

> {“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”}

It’s not related to your LiveKit credentials, it’s something to do with ai\_coustics. There was a related thread this morning, [Unable to use ai\_coustics in agents - #5 by darryncampbell](https://community.livekit.io/t/unable-to-use-ai-coustics-in-agents/832/5) , so perhaps there is an issue with our example’s use of ai\_coustics. I’ll look into that now, but you can use this slightly older agent source (that does not use ai\_coustics) as a reference: [agent-starter-python/src/agent.py at cb13593fbc6617b23c5963280f9b21b02c5c6cb4 · livekit-examples/agent-starter-python · GitHub](https://github.com/livekit-examples/agent-starter-python/blob/cb13593fbc6617b23c5963280f9b21b02c5c6cb4/src/agent.py)

The other thing to note, I needed to update my libs.versions.toml to ensure the Android app was pulling the latest versions of the libs, as it doesn’t look like the starter does this by default.

> livekit-lib = { group = “io.livekit”, name = “livekit-android”, version = “2.24.1” }  
> livekit-components = { group = “io.livekit”, name = “livekit-android-compose-components”, version = “2.3.0” }

Compare with this: [agent-starter-android/gradle/libs.versions.toml at main · livekit-examples/agent-starter-android · GitHub](https://github.com/livekit-examples/agent-starter-android/blob/main/gradle/libs.versions.toml)

You also had an error with `attributionTag` shown in a screenshot, I’m not sure where that is coming from as the tag it is complaining about is blank, but I see an old issue that also has this error, so I assume it’s been there for a while: [Even i keep say something but still stuck at listening . no any response ,how to fix this · Issue #800 · livekit/client-sdk-android · GitHub](https://github.com/livekit/client-sdk-android/issues/800) (Claude says this is also safe to ignore)

---

<div class="post-metadata">

**Author:** ![darryncampbell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/darryncampbell/32/20_2.png) [@darryncampbell](https://community.livekit.io/u/darryncampbell)\
**Post date:** [April 13, 2026, 10:47am UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828/5 "2026-04-13T10:47:51Z")

</div>

Related to the above: [Agent displays missing configuration for ai\_coustics plugin · Issue #63 · livekit-examples/agent-starter-python · GitHub](https://github.com/livekit-examples/agent-starter-python/issues/63)

---

<div class="post-metadata">

**Author:** ![schettino](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/schettino/32/1011_2.png) [@schettino](https://community.livekit.io/u/schettino)\
**Post date:** [May 24, 2026, 10:44am UTC](https://community.livekit.io/t/agent-doest-reply-in-android-app-from-agent-starter-android-repo/828/6 "2026-05-24T10:44:00Z")

</div>

Thank you for your very thorough answers, Darryn. I will have a look at them.
