GitHub radar

Voice agent spots silence about 100 ms before Silero does

RealtimeVAD is a lightweight add-on for the popular Silero VAD speech-detection model. It tells your voice agent that the speaker stopped talking about 100 ms sooner than Silero alone, so replies come faster.

01KoljaB/RealtimeVAD 79Python

It's a small add-on program that listens to the microphone and notices silence faster than usual. It works alongside the Silero VAD speech-detection model and speeds up its decision.

When it helps

Useful if you're building a voice bot or assistant and want it to respond without noticeable lag. Skip it if your project has no voice, or response speed doesn't matter.

Pros

  • Signals a pause a median 100 ms earlier than Silero
  • Runs on one CPU core, no GPU needed
  • Drop-in replacement for Silero — just change one import line
  • Ready-made plugin for LiveKit Agents included

Cons

  • Still alpha software, the API may change
  • Fires on gaps between words about 10x more than Silero
  • You'll need extra logic to filter out false pause alarms

How to set it up — step by step

  1. 1Open your voice project in your AI agent (Claude Code, Codex).
  2. 2Send the agent the text from the block below.
  3. 3Give the agent access to your microphone and voice pipeline to test it.
  4. 4Check the result — compare how much sooner the bot caught the pause.
  5. 5If false pauses get in the way, ask the agent to add a check before acting on the pause event.

Text for your agent

Copy this and send it to your agent — Claude Code, Codex, any of them:

Install RealtimeVAD from https://github.com/KoljaB/RealtimeVAD — wire it in as a drop-in replacement for Silero VAD in my voice pipeline (or build the demo from demo/README.md and run it on my own microphone) and show me how much sooner it detects that I've stopped talking compared to Silero.

Runs on a regular laptop — a single CPU thread is enough, no GPU needed.

Open on GitHub