openwakeword
An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity
What it is and what it does
openWakeWord is an open-source framework for detecting wake words and phrases in audio streams. It provides pre-trained models for common trigger words that work in real-world noisy environments, and can be extended with custom models trained on synthetic speech. The library processes audio in 80 ms frames and returns confidence scores between 0 and 1, making it suitable for voice-activated applications like smart assistants, IoT devices, and web-based voice interfaces.
The package depends on onnxruntime and tflite-runtime for inference, plus scipy and scikit-learn for audio processing. It includes optional Speex noise suppression for Linux systems and a built-in Silero voice activity detection model to reduce false positives. The framework is designed to be lightweight enough for resource-constrained devices while remaining simple to integrate into Python applications.
Use it for:
- Build a voice-activated smart home controller that listens for specific phrases to trigger actions.
- Add wake-word detection to a web application using the included streaming audio examples to process microphone input.
- Train a custom wake-word model for a specific application using the provided Google Colab notebook and synthetic speech generation.
- Reduce false positives in a voice interface by enabling voice activity detection (VAD) alongside wake-word scoring.
- Deploy multiple wake-word models simultaneously on edge devices for multi-trigger voice control.
- Batch-process large audio file collections to detect wake words using the bulk_predict utility with multiprocessing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
openWakeWord detects wake words and phrases in audio streams using pre-trained neural network models, enabling voice-activated applications to listen for specific spoken triggers in real-time.
Yes, if you need open-source wake-word detection with pre-trained models and low install friction. The permissive Apache 2.0 license and active repository are strengths. However, the aging maintenance status and lack of recent updates warrant caution if you require ongoing support or compatibility with the latest Python ecosystem. Suitable for prototyping and production use in voice-activated applications where you can tolerate a slower release cadence.
Install
openwakeword on PyPI
pip
pip install openwakeworduv
uv add openwakewordpoetry
poetry add openwakewordInstalling openwakeword
Before you install
Low install friction with a pure-Python wheel and six runtime dependencies. Maintenance is aging—last release was 2024-02-11, though the repository remains active and unarchived with 2662 stars.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install openwakeword
import openwakeword
from openwakeword.model import Model
openwakeword.utils.download_models()
model = Model()
prediction = model.predict(frame)
Requires 16-bit 16kHz PCM audio input; on Windows, only onnxruntime inference is supported (tflite-runtime not available).
Verify before relying
- Whether the aging maintenance status will affect long-term compatibility with current Python and dependency versions.
- Real-world false-positive and false-reject rates for the included pre-trained models in production environments.
- Performance characteristics on specific hardware beyond the mentioned Raspberry Pi 3 example.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — onnxruntime, tqdm, scipy, scikit-learn, requests, tflite-runtime |
| Maintenance | aging — 915 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 276,641/month — #8,162 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: openwakeword-0.6.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
pvporcupinePorcupine is a lightweight wake word detection…
permissive · top 15,000 on PyPI
realtimesttRealtimeSTT converts speech from microphone or…
permissive · top 15,000 on PyPI
wyomingWyoming is a peer-to-peer TCP protocol for…
permissive · top 15,000 on PyPI
silero-vadSilero VAD detects speech activity in audio…
permissive · top 5,000 on PyPI
pymicro-vadA self-contained voice activity detector that…
permissive · top 15,000 on PyPI
webrtcvad-wheelsDetects voiced versus unvoiced segments in…
permissive · top 15,000 on PyPI
webrtcvadProvides a Python interface to Google's WebRTC…
permissive · top 15,000 on PyPI
pocketsphinxPocketSphinx provides Python bindings for…
permissive · top 15,000 on PyPI
whisper-timestampedAdds word-level timestamps and confidence…
copyleft · top 15,000 on PyPI
pyrnnoisePython bindings for RNNoise that perform…
unclear · top 15,000 on PyPI