speechmatics-voice
Speechmatics Voice Agent Python client for Real-Time API
Decision gist · record as of 2026-08-14
Yes, if you are building a Python voice application that needs real-time transcription with speaker awareness and turn detection. The low install friction, active maintenance, MIT license, and preset configurations make it a practical choice. Verify that optional ML features meet your production requirements and that latency characteristics align with your use case before committing to a large deployment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; optional ML-based turn detection and VAD features require additional dependencies that are gracefully disabled if not installed.
- Low friction installation with a pure-Python wheel.
- Active maintenance with recent commits; repo is not archived.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-01-26 (200 days) · last repo commit 2026-08-13 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 209,540 downloads/mo, #9,512 on PyPI
Alternatives
Verify before relying
pip install speechmatics-voice
import asyncio
from speechmatics.voice import VoiceAgentClient, AgentServerMessageType
client = VoiceAgentClient(api_key="your_key", preset="scribe")
@client.on(AgentServerMessageType.ADD_SEGMENT)
def on_segment(message):
for segment in message["segments"]:
print(f"{segment['speaker_id']}: {segment['text']}")
await client.connect()
await client.send_audio(audio_chunk)
await client.disconnect()- Whether ML-based turn detection (SMART_TURN) and VAD features work reliably without manual model download in production environments
- Performance characteristics and latency guarantees under high-concurrency or high-volume transcription workloads
- Compatibility with specific voice frameworks mentioned in keywords but not detailed in the excerpt
What it is and what it does
Speechmatics Voice is a higher-level Python wrapper around the Speechmatics Real-Time API that simplifies building voice-enabled applications. Instead of handling raw word-level transcription events, it provides intelligent speech segmentation (grouping words into meaningful segments per speaker), automatic turn detection to know when speakers finish, and speaker management for multi-speaker scenarios. It comes with preset configurations optimized for conversational AI, voice agents, note-taking, and live captioning, so you can start with sensible defaults rather than tuning parameters from scratch.
The SDK is designed for async Python applications that stream audio and need clean, structured speech segments with speaker IDs rather than low-level transcription events. It depends on speechmatics-rt for the underlying real-time connection, pydantic for configuration validation, and numpy for audio handling. Installation is straightforward; optional ML features require additional dependencies but are gracefully disabled if not present.
Use it for
- Build a conversational AI chatbot that detects when the user finishes speaking and responds appropriately
- Create a real-time meeting transcription tool that labels segments by speaker and formats them for note-taking
- Implement live captioning for video streams or broadcasts with automatic speaker identification
- Develop a voice agent that handles multi-turn dialogue with adaptive or ML-based turn detection
- Stream microphone audio from a web or mobile app to transcribe speech with minimal latency
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a Python voice application that needs real-time transcription with speaker awareness and turn detection.
The low install friction, active maintenance, MIT license, and preset configurations make it a practical choice. Verify that optional ML features meet your production requirements and that latency characteristics align with your use case before committing to a large deployment.
Install
speechmatics-voice on PyPI
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with recent commits; repo is not archived. Requires speechmatics-rt, pydantic, and numpy as runtime dependencies.
Requires Python 3.9 or later; optional ML-based turn detection and VAD features require additional dependencies that are gracefully disabled if not installed.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install speechmatics-voice
import asyncio
from speechmatics.voice import VoiceAgentClient, AgentServerMessageType
client = VoiceAgentClient(api_key="your_key", preset="scribe")
@client.on(AgentServerMessageType.ADD_SEGMENT)
def on_segment(message):
for segment in message["segments"]:
print(f"{segment['speaker_id']}: {segment['text']}")
await client.connect()
await client.send_audio(audio_chunk)
await client.disconnect()
Verify before relying
- Whether ML-based turn detection (SMART_TURN) and VAD features work reliably without manual model download in production environments
- Performance characteristics and latency guarantees under high-concurrency or high-volume transcription workloads
- Compatibility with specific voice frameworks mentioned in keywords but not detailed in the excerpt
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesspeechmatics-rtpydanticnumpy |
| Maintenance | Actively maintained 200 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 209,540 / month, #9,512 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Multimedia :: Sound/Audio :: SpeechTopic :: Software Development :: Libraries :: Python Modules |
Evidence: speechmatics_voice-0.2.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “speech segmentation turn detection”
- speechmatics-voicePython SDK for building real-time voice applications with automatic…
- pyannote-metricsEvaluates and analyzes speaker diarization systems by computing…
- kugelaudioOfficial Python SDK for KugelAudio's text-to-speech API, with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also livekit-plugins-speechmatics · speechmatics-rt · speechmatics-batch · pyannoteai-sdk · livekit-plugins-soniox · deepgram-sdk · hume · dashscope · elevenlabs · whisperx