powerful-rose-78381
10/24/2025, 6:26 PMtall-airline-16756
10/24/2025, 6:26 PMtall-airline-16756
10/24/2025, 6:27 PMsession = AgentSession(turn_detection="manual")
2. Next, disable audio input right at the beginning to make sure the agent doesn’t listen to the user’s microphone:
session.input.set_audio_enabled(False)
3. Then, once the bot has delivered its first message, you can enable listening by running:
session.input.set_audio_enabled(True)
This way, you have full control over when the agent starts listening, ensuring it only does so after the bot has spoken its initial message. If you have any questions or need further help, feel free to ask—I’m here for you!
Sources: livekit-plugins/livekit-plugins-ultravox/livekit/plugins/ultravox/realtime/...