- Use Cases
- Ai Voice Agents
Build AI Voice Agents that understand every voice
Sub-second, speaker-aware speech-to-text across 55+ languages, with a flexible API and native integrations for LiveKit, Pipecat, and Vapi to power AI voice agents.
Start with $100 in free credit.
Enabling 100,000+ developers with leading speech recognition
Pairing LiveKit’s flexible agent framework with Speechmatics to build world-class agentsWhy builders choose Speechmatics
Why builders choose Speechmatics
The accuracy, latency, and deployment options builders need to ship AI voice agents that hold up in production.
Capture what's actually said
Capture what users actually say, even with accents, background noise, or overlapping speech.
Keep conversations moving
Keep conversations moving with speech-to-text that supports fast, natural responses.
Build AI voice agents faster with a flexible API
Build AI voice agents without rebuilding the speech layer from scratch. Speechmatics gives teams a flexible API for accurate, low-latency transcription. Developers can focus on the agent experience, workflow logic, and what happens after the conversation.
Or build on the voice agent frameworks you already use.
# Install the speechmatics package using the command "pip install speechmatics-rt"
#!/usr/bin/env python3
"""Real-time transcription with microphone."""
import asyncio
import os
from dotenv import load_dotenv
from speechmatics.rt import (
AsyncClient,
ServerMessageType,
TranscriptionConfig,
TranscriptResult,
OperatingPoint,
AudioFormat,
AudioEncoding,
Microphone,
AuthenticationError,
)
load_dotenv()
async def main():
api_key = os.getenv("SPEECHMATICS_API_KEY")
transcript_parts = []
audio_format = AudioFormat(
encoding=AudioEncoding.PCM_S16LE,
chunk_size=4096,
sample_rate=16000,
)
transcription_config = TranscriptionConfig(
language="en",
enable_partials=True,
operating_point=OperatingPoint.ENHANCED,
)
mic = Microphone(
sample_rate=audio_format.sample_rate,
chunk_size=audio_format.chunk_size,
)
if not mic.start():
print("PyAudio not installed. Install: pip install pyaudio")
return
try:
async with AsyncClient(api_key=api_key) as client:
@client.on(ServerMessageType.ADD_TRANSCRIPT)
def handle_final_transcript(message):
result = TranscriptResult.from_message(message)
transcript = result.metadata.transcript
if transcript:
print(f"[final]: {transcript}")
transcript_parts.append(transcript)
@client.on(ServerMessageType.ADD_PARTIAL_TRANSCRIPT)
def handle_partial_transcript(message):
result = TranscriptResult.from_message(message)
transcript = result.metadata.transcript
if transcript:
print(f"[partial]: {transcript}")
try:
print("Connected! Start speaking (Ctrl+C to stop)...\n")
await client.start_session(
transcription_config=transcription_config,
audio_format=audio_format,
)
while True:
frame = await mic.read(audio_format.chunk_size)
await client.send_audio(frame)
except KeyboardInterrupt:
pass
finally:
mic.stop()
print(f"\n\nFull transcript: {' '.join(transcript_parts)}")
except (AuthenticationError, ValueError) as e:
print(f"\nAuthentication Error: {e}")
if __name__ == "__main__":
asyncio.run(main())Should you build or buy AI voice agents?
Should you build or buy AI voice agents?
Whether you build a voice agent from scratch or buy a hosted one, Speechmatics sits underneath as the speech-to-text layer. How you integrate it depends on how much of the pipeline you want to control.
Not sure which path fits? Talk to our team.
Path | Best for | How it works |
|---|---|---|
Hosted platforms | Fastest to launch | Use Speechmatics through providers like Vapi, Telnyx, and LiveKit Inference. You trade some control for build speed. |
Open-source frameworks | Standard workflows, community support | Pre-built integrations for LiveKit Agents and Pipecat. Proven patterns, no build from scratch. |
Custom pipeline | Maximum control | Integrate directly through our SDKs into your own STT, LLM, and TTS pipeline. For builders who need customization and low-latency transcription. |
Resources for AI Voice Agents

De-risk your voice agent: The 11 best voice agent testing platforms in 2026
Voice agents that pass in demos routinely fail in production. This guide covers the 11 best voice agent testing platforms in 2026, with the Five-Layer Testing Framework, platform deep dives, open-source alternatives, and a decision guide by maturity stage.

Alphanumeric speech recognition: why voice assistants mangle SKUs (and how to fix it)
A guide for voice AI engineers, ecommerce platforms and warehouse teams on SKU recognition accuracy voice assistant deployments depend on: why speech recognition systems produce transcription errors on product codes, what to measure when error rates matter, and the fixes that move the needle on order picking, voice ordering and customer-facing voice AI.
![[alt: Logo design featuring the text "SPEECHMATICS" alongside a stylized logo for "Cekura," set against a soft green background with subtle curved lines.]](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fyze1aysi0225%2F39N1Yr95B2jvfd7JKGihq0%2F7b1ca5f8d5db0235b64829dcab16b96a%2FSpeechmatics_partners_with_Cekura-wide-carousel.webp&w=3840&q=75)
Speechmatics and Cekura bring real-world STT testing to voice agent pipelines
A new integration gives agent developers a QA layer built for the complexity of the real world.
![[alt: Two soft-colored circular shapes, one greenish and one orange, are positioned on opposite sides. A central icon resembling a lightning bolt is flanked by a sound wave graphic with vertical markers, suggesting a connection or interaction between the two elements.]](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fyze1aysi0225%2F6Qlqz5JnR5XdghegdEO0mW%2F486ddd2d0e19057f1fa0e32571797380%2FBlog_image__2_-wide-carousel-1200x480.webp&w=3840&q=75)
You can’t hurry love, but you can hurry final transcripts
Introducing 250ms final transcripts for Voice AI
![[alt: Vapi integration launch blog]](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fyze1aysi0225%2F4oh9lqHezPsnHJEdyeKLi2%2F1c6355f73f53d3d3154f6f04594b6993%2FVapi-blog_assets-V1_-_Header_16-9.webp&w=3840&q=75)
Vapi and Speechmatics: Build agents that understand every voice
Ship Voice AI agents that understand every voice in real-time, even in noisy, multi-speaker scenarios.
![[alt: Livekit and Speechmatics partnership]](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fyze1aysi0225%2F55uo621nIAzecVIcDsrrGX%2Fa81809b4dcf9acd1883ce628f8a10552%2FLiveKit-blog_assets-V1_-_Header_16-9.webp&w=3840&q=75)
Introducing real-time, speaker-aware Voice Agents with LiveKit + Speechmatics
Build real-time, speaker-aware Voice Agents with LiveKit + Speechmatics
![[alt: The Pipecat logo]](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fyze1aysi0225%2FpvtJ7dqMe5Kdfc6zSeyxI%2F173057fb186137baa7c5c1126e8e62da%2FSocial_sharing.png&w=3840&q=75)
Pipecat and Speechmatics: Building Voice Agents that know exactly ‘Who’ said ‘What’
Build smarter voice agents on Pipecat with Speechmatics speech-to-text, now with powerful speaker diarization for real-world, multi-speaker conversations.
![[alt: Livekit and Speechmatics partnership]](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fyze1aysi0225%2F55uo621nIAzecVIcDsrrGX%2Fa81809b4dcf9acd1883ce628f8a10552%2FLiveKit-blog_assets-V1_-_Header_16-9.webp&w=3840&q=75)
Inside the future of Voice AI: Speechmatics at the LiveKit developer showcase
From stage to strategy: core takeaways from a lead engineer on the future of live, usable Voice AI.
Want to go deeper? Join our developer community.
Build AI voice agents: Frequently asked questions
To build AI voice agents from scratch, you need speech recognition, a language model, conversation logic, text-to-speech, integrations, and secure deployment. Speechmatics provides the speech-to-text layer, helping your agent understand users clearly before it decides what to do next.
The choice depends on how much control, speed, and customization you need. Many teams use a hybrid approach: buy specialist components like speech recognition, then build the agent experience, workflows, and integrations around their own users.
The best tools to build AI voice agents in 2026 usually include speech-to-text, text-to-speech, an LLM, orchestration, analytics, and secure deployment. Speechmatics supports the speech layer with real-time, speaker-aware transcription across 55+ languages.
Speech-to-text accuracy affects what the AI voice agent understands, remembers, and does next. Better transcription helps agents capture names, numbers, intent, and context, so users get more relevant responses with fewer repeat questions.
In independent testing by Pipecat (as of August 2026), Speechmatics returned a 1.07% pooled word error rate on real-time streaming audio, the lowest of the 12 services benchmarked, including Deepgram, AWS, and Azure. Read more in Speed you can trust: the STT metrics that matter for voice agents.
Yes. You can build voice agents that support multiple languages when your speech-to-text layer can handle global language coverage, accents, and dialects. Speechmatics supports 55+ languages, helping teams serve users across international markets.
Start by getting a Speechmatics API key, reviewing the docs, and testing real-time speech-to-text with your own audio. From there, you can connect Speechmatics into your agent stack and build AI voice agents with faster, more accurate listening.