Is it possible to have multiple humans in a room s...
# ask-ai
i
Is it possible to have multiple humans in a room speak to one agent?
t
Thanks for reaching out, Ernest. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking whether multiple humans in a room can speak to one agent — yes. By default, agents hear audio from all participants with kind
STANDARD
or
SIP
, so multiple humans in the same room can speak and the agent will receive their audio. If you need the agent to focus on a single person, set
participant_identity
in `RoomIO`'s
RoomOptions
(for example,
participant_identity="user_123"
) so the agent only processes that participant's audio. If you expect simultaneous speakers or need turn-taking/overlap handling, that must be handled in the agent logic (voice-activity detection, turn-taking policies, or microphone mixing), because the default behavior does not automatically distinguish or resolve overlapping human speech. If you want, tell me whether you want the agent to (a) hear everyone and manage turns itself, (b) only listen to a specific participant, or (c) process multiple speakers concurrently with custom logic — and I’ll outline the exact options and code changes. Sources: Agent session | LiveKit docs | sip | livekit/livekit_composite | DeepWiki | How to test your agent using another agent
i
Let's say a group class with agent as teacher
t
Regarding a group class with one agent as the teacher — yes, you can do this. Here are the key points and options to choose from based on how you want the class to run. What works by default • The agent will receive audio from all participants of kind
STANDARD
or
SIP
, so multiple students can speak in the same room and the agent can hear them. Decisions you need to make (and how to implement them) • Listen to everyone and manage turns in agent logic ◦ Have the agent process all participant audio and implement turn-taking, moderation, or speaker-selection inside the agent (voice-activity detection, speech diarization, or explicit speaking cues). • Restrict agent to a single participant at a time ◦ Set
participant_identity
in
RoomIO
RoomOptions to focus the agent on one student (useful for one-on-one checks during a class). • Allow the agent to handle overlapping speech ◦ Implement custom mixing/diarization so the agent can separate concurrent speakers; this requires extra audio processing in your agent pipeline. • Include other agents or bots ◦ You can enable listening to
AGENT
kind participants by adjusting
participant_kinds
if you want multiple bots or assistants in the room. Practical suggestions for a class scenario • Use VAD and a simple turn-taking policy in the agent for Q&A and to avoid crosstalk. • If the agent should address the whole class, send synthesized audio back to the room as the agent’s output while continuing to monitor students’ audio. • For assessments or private checks, switch
participant_identity
temporarily to a single student. Which behavior do you want for your class: the agent to moderate and speak to everyone continuously, run structured turn-taking, or conduct private one-on-one checks during class? Tell me which and I’ll give the specific RoomOptions and implementation steps.