Skip to main content
Voice Activity Detection (VAD) identifies when speech is present in an audio stream. It acts as a first-pass filter and enables interruption handling in your pipeline by signaling when a user starts talking. Zero Runtime uses Silero VAD for speech-activity detection; for the most reliable results, pair VAD with a turn detector.

Configure Silero VAD

Configure VAD and pass it to your Pipeline as the vad component:

Interruption Detection

Interruption Detection decides when user speech should stop the agent mid-response. It can use VAD, STT, or both. This avoids false triggers from short noises, filler words, or background audio. Using VAD detects raw speech activity. It is faster but can be triggered by background noise.
Using STT relies only on recognized words from the transcript. It is slower but ensures the speech is intelligible.
Use HYBRID mode to require both audio detection and recognized words.

False Interruption Recovery

A false interruption is a brief accidental noise, like a cough, an “mm-hmm”, or background noise, that should not stop the agent. Instead of cutting off immediately, InterruptConfig lets the agent pause and confirm whether an interruption is genuine before deciding to stop or resume speaking.

How it works

1

Maybe-interruption

The user makes a sound while the agent is speaking. Instead of cutting off, the agent pauses TTS and starts a timer (false_interrupt_pause_duration).
2

Confirm or resume

If a transcript with at least interrupt_min_words words arrives before the timer expires (or VAD confirms sustained speech), it’s a real interruption and the agent stops. Otherwise the timer expires and the agent resumes speaking from where it paused.

Enable it

Set resume_on_false_interrupt=True on the pipeline’s InterruptConfig. Tune false_interrupt_pause_duration for how long to wait before deciding it was a false alarm.

Configuration

What’s Next

Turn Detection

Pair VAD with semantic turn detection.

De-noise

Give VAD a cleaner audio signal.

References

Examples

Cascade Basic

Voice agent with VAD configured.

SDK Reference

VAD

VAD in the Python API reference.

Utterance Handle

Utterance Handle in the Python API reference.