Services

Accelerators

Resources

Company

Services

Accelerators

Resources

Company

/

Turn detection

Turn detection (endpointing)

Turn detection, also called endpointing, decides when the caller has finished speaking and expects an answer. A pause is not always the end of a turn: people stop to think, breathe or find a word. A voice AI agent that guesses wrong either interrupts the caller or leaves them waiting.

How it works

The simplest approach is a silence timer on top of voice activity detection: reply after N ms of silence. Better approaches look at what was said. If the last word is “and”, “so” or “because”, the caller probably has more to say, so the agent waits longer. Newer systems use small models trained on conversations, such as Pipecat’s Smart Turn or LiveKit’s turn detector, which read the words or the audio and predict whether the turn is over.

For example, One2N’s interview agent ends a turn after 1.2 s of silence when the answer sounds finished, but waits 3.2 s when the last word is a continuation such as “and” or “um”, or when the candidate has spoken for less than 20 seconds.

Why it matters in production

Turn detection is often the largest single delay in a voice agent, larger than the LLM. Tune it with real recordings of your callers, and measure both failure modes: replies that cut people off and replies that keep them waiting.

See also

On the One2N blog

References

  1. Smart Turn (Pipecat, GitHub)

  2. Turn detector (LiveKit documentation)

  3. Stivers et al. (2009), Universals and cultural variation in turn-taking in conversation, PNAS

Comic about turn detection: a caller pauses mid-sentence after I restarted the pod and...; a 0.5 s silence rule cuts them off mid thought; an always-wait-3 s rule adds 3 s of dead air every turn; waiting about 1.2 s after a finished sentence and about 3.2 s after words like and, so, because or um gives quick replies without cutoffs, and newer agents use a small model on words and tone.

Putting this into practice?

Talk to One2N about our AI engineering services

Talk to One2N about our AI engineering services