dry-leather-74420
09/22/2025, 6:38 AMtall-airline-16756
09/22/2025, 6:38 AMtall-airline-16756
09/22/2025, 6:39 AMRoomInputOptions when starting the agent. It looks like this:
room_io = RoomIO(session, room=ctx.room,
input_options=RoomInputOptions(
listen_to_agents=True
))
1. Next, configure RoomInputOptions so that speech detection works between agents. You can do this by setting:
RoomInputOptions.participant_kinds = [rtc.ParticipantKind.PARTICIPANT_KIND_AGENT]
1. Finally, just make sure both agents are connected to the same room and have Text-to-Speech (TTS) properly configured. This will help the conversation flow smoothly.
If you run into any bumps or have questions along the way, feel free to ask—I'm here to help!
Sources: Agent Testing & Evaluation | livekit/livekit_composite | DeepWiki | How to Enable Agent-to-Agent Speech Detection in LiveKit