mysterious-agent-76276
09/02/2025, 4:49 PMtall-airline-16756
09/02/2025, 4:49 PMtall-airline-16756
09/02/2025, 4:50 PMturn_detection="manual" when you create the AgentSession.
2. Start by disabling audio input with session.input.set_audio_enabled(False).
3. In the agent’s on_enter() method, use session.say() to deliver that first message.
4. Once the message is done, turn audio input back on with session.input.set_audio_enabled(True).
5. Keep allow_interruptions=True (which is the default) so the user can jump in after the first turn.
This way, your agent gets to speak first and only then starts listening to the user. If you want, I’m happy to help with a full code example or any other questions you have!
Sources: Agent speech and audio | LiveKit Docs | Turn detection and interruptions | LiveKit Docs