livekit/livekit-wakeword

An open-source wake word library for creating voice-enabled applications.

What it solves

LiveKit WakeWord provides a high-accuracy, low-false-positive way to trigger voice-enabled applications. It solves the problem of "false triggers"—where an assistant activates when it shouldn't—by using a specialized classification architecture that understands the temporal order of speech, rather than just identifying the presence of sounds.

How it works

It uses a "Conv-Attention" classifier that processes audio in two steps: 1D convolutions capture local patterns like syllable transitions, and multi-head self-attention models the relationships between different parts of the audio window. Users can define their wake word in a simple YAML file, and the library handles the entire pipeline: generating synthetic training data, augmenting it with noise, training the model, and exporting it to a portable ONNX format for use in Python, Rust, or Swift applications.

Who it’s for

This library is for developers building voice-controlled agents who need a reliable, customizable wake word engine. It is suitable for those who want to train their own specific wake phrases (e.g., "Hey [Product Name]") and deploy them across different platforms, including mobile and desktop environments.

Highlights

  • Superior Accuracy: Features a Conv-Attention architecture that delivers significantly fewer false positives and higher detection rates than standard flat DNN models.
  • End-to-End Pipeline: Manage everything from synthetic data generation to model export using a single YAML configuration.
  • Multilingual Support: Includes support for over 30 languages via VoxCPM synthetic data generation.
  • Cross-Platform: Provides ready-to-use APIs for Python, Rust, and Swift, with automatic audio resampling for various hardware inputs.
  • Flexible Training: Train models locally, in the cloud, or via automated SkyPilot jobs.

Related

  • Project
  • Project
  • Project
  • Project