VAD (voice activity detection)
Voice activity detection (VAD) answers one question many times a second: is someone speaking right now? A voice AI agent uses it to know when the caller starts and stops talking, so it only sends speech to speech to text and can react when the caller interrupts.
How it works
The audio is cut into short frames, about 30 ms each. A small model scores each frame with a speech probability from 0 to 1. Above a threshold, often 0.5, the frame counts as speech. Silero VAD, a common open choice, is about 2 MB and takes under a millisecond per chunk on one CPU thread.
For example, frames scored 0.02, 0.1, 0.8, 0.95, 0.9, 0.3 and 0.05 contain one stretch of speech in the middle. A fan humming at 0.3 stays below the threshold and is ignored. The agent waits for a set amount of silence, such as 0.8 to 1 second, before closing the stretch.
Why it matters in production
VAD settings trade speed for accuracy. A short silence window cuts callers off mid-thought; a long one makes every reply slower. VAD also only hears sound, not meaning: it cannot tell a pause for breath from the end of a question, which is why agents add turn detection on top.
See also
On the One2N blog
References

Putting this into practice?