Agent-to-agent audio

Hey was hoping for a little help with this issue. It feels like I’m really close but can’t get it yet. Here’s a write-up from Claude.

Agent-to-agent audio doesn’t flow on LiveKit Cloud

Two agents dispatched to the same room via AgentDispatchClient. Both join, both publish SOURCE_MICROPHONE tracks. Agent A speaks (confirmed via conversation-update webhook). Agent B (configured with
participant_identity targeting Agent A and participant_kinds including PARTICIPANT_KIND_AGENT in RoomOptions) never receives audio — STT never transcribes, no user turn fires.

Tested on: livekit-agents==1.5.1 and 1.3.6 — same behavior on both.

Works locally in console mode (same code, same SDK).

Normal inbound calls work fine on the same cloud agent — the issue is specifically agent-to-agent audio routing.

Participant details from lk room participants list:
agent-AJ_xxx (ACTIVE) tracks: 1 # inbound - speaks
agent-AJ_yyy (ACTIVE) tracks: 1 # tester - never hears

Both kind: AGENT, both canSubscribe: true. Is there additional cloud configuration needed to enable agent-to-agent audio

I think this is the missing piece of the puzzle you are looking for: How to Enable Agent-to-Agent Speech Detection in LiveKit

Add the following configuration to enable speech detection between agents:

RoomInputOptions.participant_kinds = [rtc.ParticipantKind.PARTICIPANT_KIND_AGENT]