Keep other voices away from your agent: speaker gate and adaptive VAD

November 6, 2026 · release

Voice agents get confused when more than one person is talking near the phone. A TV, a colleague, a second person on speakerphone: the recognizer hears them all and the agent answers whoever spoke last.

Projects now have a speaker gate. The first thing the caller says enrolls their voice, and from then on each utterance is compared with it. You pick what happens to the rest in Project Settings → Voice (STT / TTS) → Advanced voice pipeline → Speaker gate.

A second setting controls interruptions. With caller_only, a bystander cannot cut the agent off mid-sentence. With anyone, the gate still labels speech but never holds an interruption back. From @voicethere/agent 0.29.0 an agent can also change both while the call is running with setSpeakerGate(sessionId, { mode, bargeIn }), read them with getSpeakerGate(sessionId), and start over with resetSpeakerEnrollment(sessionId) if the wrong person enrolled. Bystander speech in auto mode reaches onUserSpeechIgnored.

There is a new starter template too. Pick Speaker gate under Voice when you create a project: it answers the caller, says one short line when it hears someone else, and switches mode from a chat command or a spoken phrase.

The same release adds an adaptive VAD. Set vad.provider to adaptive and the speech threshold follows the measured noise floor instead of sitting at one fixed level, which helps in loud rooms and with quiet callers. It has three settings of its own: the noise margin, whether to follow the caller's level, and how long speech may stay active before the detector re-measures the floor.

The gate has limits. We tested bystanders at least 15 dB quieter than the caller; someone as loud as the caller can pass, and the speaker model is trained on English. A barge-in under caller_only can wait up to about 1.5 seconds for the gate to hear enough speech. The documentation lists what happens for each case where the gate cannot decide.

Try it

Similar posts

← All posts