Vibeleaderboard
← All Intel
Intel / article

Building a low-latency support voice agent with Mercury 3 and ElevenLabs

Source
docs.inceptionlabs.ai
Publisher
Inception
Author
Inception
Date

Context

This Inception cookbook shows how to shorten the silence in a voice assistant, the gap between a caller finishing a sentence and hearing a reply. The notebook chains three services: ElevenLabs speech-to-text turns the caller's audio into text, Inception's Mercury 3 model writes a response with its set to low, and ElevenLabs text-to-speech turns that response back into audio. It times each stage so a developer can see where the wait comes from.

The latency fix is to stop waiting for whole outputs. First the notebook streams Mercury's reply, so the first words arrive before the full answer is written, and reports how much of the wait that removes. Then it streams the speech synthesis too. The final version combines them: it collects Mercury's streamed text until a period, question mark or exclamation mark ends a sentence, sends that sentence straight to text-to-speech, and keeps going, so the first sentence's audio is ready before the rest of the reply is written; the notebook reports this as time to first audio. The notebook names the cost of this shortcut: each sentence is voiced on its own, so the audio can sound less natural than a system that synthesizes with the whole reply in view, and it points to the ElevenLabs Agents platform as a managed alternative.

The page publishes no latency results; the timings appear only when someone runs the notebook with their own API keys. It also differs from the announcement, which promised a customer support agent with tool calls into a live database. The accompanying video walks through that version, a fictional dental clinic backed by an in-memory SQLite database where the model books and cancels appointments. The announcement's link now opens this voice-only page, which contains no tool calls; Inception publishes the dental-clinic agent as a separate Voice Customer Support Agent cookbook.

Terms in this piece · Glossary
  • Reasoning effort — The inference-time budget a reasoning model spends before answering.
  • Realtime conversational agent — An agent that processes streaming audio or visual input while a session is live.
  • streaming — Sending a model's response token by token as it is generated, so the reader sees text immediately instead of waiting for the whole answer.
  • Document chunking — Splitting source material into units that can be indexed and retrieved.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source docs.inceptionlabs.ai
More from Inception
Recommended reads