Registry / ai-ml / wyoming

wyoming

JSON →
library1.9.0pypypi✓ verified 81d ago

Wyoming is a peer-to-peer protocol for voice assistants, enabling communication between speech-to-text (STT), text-to-speech (TTS), wake word detection, and other voice processing services. Version 1.9.0 requires Python >=3.8. The project is actively maintained on GitHub under OHF-voice.

pip install wyoming
INSTALL
IMPORT
SIG · WYOMING
W
wyoming
ai-mlpythonv1.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

version
from wyoming import version
from wyoming.server import WyomingServer

Runs a basic Wyoming server on default port 10400.

import asyncio from wyoming.server import WyomingServer async def main(): server = WyomingServer(host='0.0.0.0', port=10400) await server.run() asyncio.run(main())
Debug
Known issues
gotchaThe wyoming package is designed for peer-to-peer communication, not for direct REST API calls. Users often try to use it like a web framework, which leads to confusion.
fix
Use the built-in WyomingServer and WyomingClient classes for communication.
affects: all
breakingIn version 1.0.0, the event loop handling changed. Code using asyncio.get_event_loop() without proper async context may break.
fix
Use asyncio.run() or ensure event loop is properly set.
affects: >=1.0.0
gotchaThe protocol uses a custom binary format, not JSON. Attempts to parse messages as JSON will fail silently.
fix
Always use the serde functions provided by wyoming (e.g., wyoming.serde) to encode/decode messages.
affects: all
Upgrade
Version history
1.9.0latest on PyPI · released May 14, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
42
OpenAI (training)
1
Resources
wyoming — pip install wyoming · libregistry