Home / Companies / Gladia / Blog / Post Details
Content Deep Dive

Add speech-to-text to a LiveKit voice agent

Blog post from Gladia

Post Details
Company
Date Published
Author
Ani Ghazaryan
Word Count
3,270
Company Posts That Month
20
Language
English
Hacker News Points
-
Post removed?
No
Summary

Published by Gladia, the guide explains how to integrate its Solaria-1 streaming speech-to-text service with LiveKit voice agents using either LiveKit plugins or direct WebSocket connections in Python and Node.js. It describes a pipeline in which LiveKit audio frames are sent as 16 kHz PCM data to a persistent Gladia session, producing interim transcripts for interruption handling and final transcripts for LLM processing; it reports partial-transcript latency below 103 ms and final results around 300 ms. Configuration topics include endpointing and maximum-duration silence controls, language detection, optional code-switching across more than 100 languages, custom vocabulary, regional deployment, and data-handling differences between subscription plans. The guide emphasizes explicit turn-state management to prevent partial transcripts from reaching the LLM, recommends buffering audio frames and logging acknowledgements to monitor latency, and outlines retry behavior for dropped WebSocket sessions and inactivity timeouts. It also distinguishes Solaria-1, intended for real-time use, from the asynchronous Solaria-3 model for post-call analysis, notes that live speaker diarization is unavailable, and compares managed transcription pricing and operational trade-offs with self-hosted open-source STT systems.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 17 4,432 1,050 222 -31%
Voice AI 15 2,839 275 56 -36%
LLM 13 5,068 1,020 229 -34%
AI Agents 1 5,780 1,243 245 -15%
AI Coding Assistant 1 1,513 470 139 -19%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.