Skip to content

๐Ÿง  Introduction to Wyoming

Wyoming is a lightweight, streaming-focused protocol and library designed to connect the components of a privacy-respecting, locally-run voice assistant.

Originally created for Home Assistant's Year of the Voice, Wyoming allows voice interfaces to be built using modular services that speak a common protocol: JSON + optional binary payloads, sent peer-to-peer via TCP, Unix sockets or stdin/stdout.


โœจ What is Wyoming?

  • ๐Ÿงฉ A peer-to-peer event protocol for audio-based services
  • ๐Ÿ”„ Messages consist of structured JSON and optional payloads (e.g. raw audio)
  • ๐Ÿ“ก Supports streaming audio, TTS, wakeword, ASR, NLU, intent handling, and more
  • โš™๏ธ Runs over TCP sockets, Unix sockets, or standard I/O
  • ๐Ÿ’ก Designed to be simple enough for implementation in any language

๐ŸŽฏ Why Was It Created?

  • Replace the legacy MQTT protocol from Snips AI
  • Simplify streaming communication between audio services
  • Allow seamless integration of different implementations (e.g. Whisper, Piper, Porcupine)
  • Work natively with Home Assistant and Rhasspy 3
  • Support multi-language, offline voice control without a cloud dependency

๐Ÿง‘โ€๐Ÿ’ป Who Is It For?

  • Developers of voice components (ASR, TTS, Wakeword, etc.)
  • Smart home users wanting to build offline, modular voice control
  • Integrators needing a privacy-friendly protocol
  • Researchers working on speech systems for underrepresented languages

๐Ÿงญ Philosophy and Design Principles

Wyoming was created to solve real-world pain points in building distributed, open voice assistants:

Principle Explanation
๐Ÿ”Œ Modularity Every voice component is a standalone microservice
๐Ÿ” Privacy-by-design No cloud required, fully local deployment possible
โšก Streaming-first No need to buffer entire recordings โ€“ supports real-time
๐Ÿ”„ Simple and hackable Implementable in a few dozen lines per client/server
๐ŸŒ Language-neutral Not tied to English; supports multilingual systems

๐Ÿš€ Where is Wyoming Used?

  • ๐Ÿก Home Assistant Voice (local TTS/ASR pipelines)
  • ๐Ÿง  Rhasspy 3 (modular assistant architecture)
  • ๐Ÿ”Š Piper TTS add-on (used via Wyoming)
  • ๐Ÿงช Community ASR/TTS/Wakeword services (Whisper, Vosk, Porcupine, etc.)

Wyoming is becoming a standard interface layer for open voice tooling โ€“ offering a flexible bridge between diverse services.