Turn-taking
Turn-taking defines when the agent yields to the user and when it expects the user to yield back. The platform uses a proprietary model to detect end-of-turn signals from audio rather than relying purely on silence duration, which means it handles natural pauses within a sentence without cutting the speaker off prematurely. You can tune turn-taking behavior with the following settings:| Setting | Description |
|---|---|
| Mode | auto lets the platform manage turns. manual requires explicit signals from your code to hand off the turn. |
| User turn timeout | How long the platform waits after the user stops speaking before marking their turn as complete. |
| Agent turn timeout | How long the platform waits for the agent to respond before marking the turn as failed. |
Interruptions
By default, users can interrupt the agent at any time by speaking. When an interruption is detected, the agent stops mid-sentence and starts processing the user’s input.| Option | Behavior |
|---|---|
| Enabled | User speech during agent synthesis interrupts the agent immediately. |
| Disabled | The agent finishes speaking before the user input is processed. |
Even with interruptions enabled, very short noises (coughs, background sounds) do not trigger interruptions. The turn-taking model filters out non-speech signals.
Timeout settings
Timeouts control what happens when silence persists during different phases of the conversation.User silence timeout
If the user does not speak within a defined window after the agent’s turn ends, the agent can respond with a prompt (e.g., “Are you still there?”) or end the call. Configure the timeout duration and the agent’s behavior in the Conversation flow section of the dashboard or via API:Maximum conversation duration
Set a hard cap on conversation length to prevent runaway sessions. When the limit is reached, the agent wraps up gracefully.Configuring conversation flow in the dashboard
Open your agent
Go to the XUNA AI dashboard and select your agent.
Adjust conversation flow settings
Set your preferred values for turn-taking mode, interruption handling, silence timeouts, and max duration.
Recommended settings for customer support
Recommended settings for customer support
- Interruptions: Enabled
- User silence nudge timeout: 8–10 seconds
- User silence end-call timeout: 25–30 seconds
- Max duration: 600–900 seconds (10–15 minutes)
Recommended settings for outbound calling
Recommended settings for outbound calling
- Interruptions: Enabled
- User silence nudge timeout: 5–7 seconds
- User silence end-call timeout: 15–20 seconds
- Max duration: 300 seconds (5 minutes)
Recommended settings for voice UI in apps
Recommended settings for voice UI in apps
- Interruptions: Enabled
- User silence nudge timeout: Disabled (user controls the session)
- Max duration: No limit, or match your app’s session timeout

