By Stan Reshetnyk, CTO, Trembit · Last updated 1 December 2026
Dead air in a voice agent is the silence a caller hears while the agent waits for a tool to return: a CRM lookup, an EHR query, a payment check, a retrieval step. It is a latency term the agent can talk through, but only safely if an interruption can’t leave a write half-done, the words spoken meanwhile promise nothing, and the system handles timeouts and failures. This guide covers voice agent tool calls only; the stages around the tool are in our latency budget for voice AI agents.
For the business, getting this wrong means a caller who hangs up during a silent lookup, a booking or charge that goes through twice because the agent retried, and an agent that says “done” before anything was done. Each is a design decision you can make on purpose.
Key takeaways
- Classify before you narrate: by how long each tool takes and what it can break.
- A preamble is not a filler. The model writes one; the framework plays the other. They fail differently.
- Interrupting the agent may or may not stop the tool. Protect writes explicitly.
- Speak about the process, never the outcome, until the tool returns.
- Log the tool as its own span and watch the longest silence per turn.
Not the engineer? Read the tool-class table and what to say when a tool fails, then where we’ve dealt with these trade-offs. Engineers: start at each framework.
Why does a voice agent go silent during a tool call?
LiveKit’s tool-loop design guide puts it plainly: “Even an optimized loop takes time, and in voice that time results in silence on the user’s end.” A tool turn has serial steps the caller can’t hear: the model writes the call; your code waits on the backend; the result goes back into context; a second model pass writes the answer; text-to-speech produces the first audio. Until then, the caller hears nothing unless you fill the gap.
Chains multiply it: LiveKit caps consecutive tool calls per LLM turn with max_tool_steps, and “The default is 3.” Two costs hide in each loop: the second model call, absent from the tool’s own timing, and the return value, which becomes prompt. In LiveKit’s words, “Long returns bloat the context window, slow inference, and degrade reasoning quality.” Summarise large records inside the tool.
Which tools are the slow ones?
Each class waits on something different. Take the numbers from your own logs; they depend on network path, region and vendor load.
| Backend class | What it waits on |
|---|---|
| Internal API | One service hop, a database query |
| Third-party SaaS (CRM, helpdesk, calendar) | Public internet, vendor rate limits, token refresh |
| EHR or FHIR server | Hospital-side infrastructure, query shape, authorisation |
| Payment authorisation | Processor and card network |
| RAG retrieval | Embedding call, vector search, optional reranking |
| Long job (documents, reports, approvals) | Tens of seconds of work, or more |
What should the agent do while a tool runs?

Choose per tool, by how long it takes and what it can break. First, three terms vendors use loosely:
- Preamble: a short line the model itself speaks before or alongside a tool call (OpenAI’s term).
- Filler: a scripted or separately generated phrase the framework plays while waiting.
- Progress update: a status the running tool emits, which the model then voices.
The table is our synthesis of the framework docs cited here, not any vendor’s rule.
| Tool class | What the agent does | Primitive |
|---|---|---|
| Fast read (cached lookup) | Nothing extra; answer | Skip the preamble |
| Slower read (CRM, EHR, retrieval) | One line naming the action | Preamble, filler or a first progress update |
| Multi-step read (eligibility across two systems) | A progress update per phase | LiveKit ctx.update(); Pipecat is_final=False (async only) |
| Reversible write (reschedule, update a record) | Confirm key values; neutral process words; no cancel on barge-in | LiveKit disallow_interruptions(); Pipecat cancel_on_interruption=False (also makes it async) |
| Irreversible write (charge a card, send a message) | Read back, explicit yes, then call; intent-based idempotency key | Same, plus your own API |
| Long-running (document processing) | Acknowledge, keep talking, voice the result when idle | LiveKit async tools; Pipecat async functions |
OpenAI’s prompting guide for gpt-realtime-2 lists, among the cases for no preamble, “the tool call is lightweight and the user would not benefit from an update.” LiveKit’s rule of thumb is “If a tool can take more than a second, start speaking before it finishes,” which is LiveKit’s guidance, not an industry standard.
Confirmation has a price. It adds a full turn, and speech recognition can mishear a hesitant “yes, no, wait”. In our reading: confirm only values that are expensive to get wrong (amount, date, recipient, patient); skip it for low-risk, reversible writes where the caller just said the exact values; if the answer is ambiguous, ask again.
What do preambles, fillers and progress updates actually look like in each stack?
Not the engineer? The stack your team picked decides who writes the words a caller hears while waiting, and what happens to a late result. Read on 4 December 2026; these APIs change monthly, so pin your versions.
| Stack | Speak while waiting | Progress and late results |
|---|---|---|
| OpenAI Realtime | gpt-realtime-2: preambles on by default; gpt-realtime-1.5: written into the prompt | Result sent as a function_call_output item, then response.create |
| LiveKit Agents | session.say() in the tool; ctx.with_filler() (Python) / ctx.filler() (Node.js) | Async tools: ctx.update(); final result voiced when the agent is idle |
| Pipecat | TTSSpeakFrame pushed from the handler | Async functions; is_final=False updates; late results re-enter as developer messages |
| Agora Conversational AI | A filler when the LLM’s reply exceeds response_wait_ms (default 1500); one per turn | Not tool-specific; MCP tool calls are one listed case |
OpenAI. The Realtime prompting guide says “gpt-realtime-2 generates preambles by default” and “When a preamble is needed, output it immediately before substantive reasoning or tool use.” For gpt-realtime-1.5, the guide’s prompt reads: “Before any tool call, say one short line like “I’m checking that now.” Then call the tool immediately.” The guide doesn’t yet cover gpt-realtime-2.1, July’s update to gpt-realtime-2, so test preambles on the model you pin. The conversations guide doesn’t say whether the model keeps talking while your function runs; test that too.
LiveKit. With async tools, “The tool becomes non-blocking the first time its execute function calls await ctx.update(...).” They arrived in livekit-agents 1.6.0, released 11 June 2026 according to LiveKit’s 7 July announcement; the docs show Python and Node.js.
Pipecat. The function-calling guide shows the filler as push_frame(TTSSpeakFrame("Looking up weather data...")); its async functions are covered under interruptions below.
In our reading, every stack does three jobs: decide when to speak, speak without blocking the tool, and reconcile the late result with what the caller said meanwhile. To choose a framework, see our Pipecat vs LiveKit Agents comparison.
Preamble or filler: which should you use?
A preamble knows the context, but the model can over-promise. OpenAI’s guide names the trade: “Used well, they reassure the user that the assistant is working. Used poorly, they become filler and increase perceived latency.” A filler gives you every word, pre-rendered and approved if the flow is regulated, but it’s blind to context.
Cascaded stacks can produce a model-written line too: prompt the LLM to say what it’s doing before it calls a tool, or, in LiveKit, use an async tool’s first ctx.update(), which the LLM reads and voices. The LiveKit and Pipecat tool pages we read don’t document the prompted version or its ordering against the tool call. Either way the caller waits for a model generation and TTS, where a pre-rendered filler plays at once. Our reading: use a model-written line where a specific line helps; use a filler where the wording must be fixed or immediate, such as during a write.
What is the risk of a filler?
- It implies an outcome. OpenAI’s
gpt-realtime-1.5supervisor example: “Fillers must not imply success or failure.” - It collides with an answer that arrives mid-filler.
- It repeats. OpenAI’s preamble rules say “vary the wording across turns”; fillers need it too.
- It delays a fast answer. Agora skips the filler if the reply beats the threshold; a hand-built filler fired at time zero doesn’t.
- It talks to a caller who has already interrupted.
How do you stream partial results instead of waiting for the full answer?
Send progress updates when a tool has phases the caller cares about; otherwise, one final result. In LiveKit’s refund walkthrough (simulated against a mock backend), “order verified” is worth saying; a percentage ticking up is not.
Both open-source frameworks treat updates as context, not answers. Pipecat’s is_final=False results “do not close the function call,” and the guide says to “Only use this for async functions (cancel_on_interruption=False)”. Word updates as status (“order verified, refund in progress”) so the model doesn’t present them as conclusions.
A read can also start speculatively, before the turn is confirmed; a write never should (our latency budget covers speculative starts).
What if the result arrives after the caller has moved on?
Both frameworks deliver it anyway: LiveKit voices it “when the agent is next idle”; Pipecat injects it “back into the context as a developer message,” triggering a new inference. Neither guide describes a staleness check, so in our reading your application decides:
- The caller hung up. Don’t voice it. Record the outcome; for a write, follow up through a channel your flow allows.
- The caller changed the subject. Voice a write’s outcome briefly as an aside (“your refund went through”). Drop a read nobody is waiting for.
- The result is old. Give each read tool a freshness window; past it, re-run the lookup rather than speak a stale value.
- The caller asked again meanwhile. Answer once, from the newest result.
What happens when the caller talks over a running tool?

It depends on the stack and setting. A cancelled read is usually harmless, but cancelling the handler doesn’t recall a sent request: it may still count against your rate limit or, for an EHR, be logged as a record access. A write cut off halfway can be worse than one never started. Defaults, read on 4 December 2026:
| Stack | Default on interruption | Protecting a write |
|---|---|---|
| LiveKit, regular tool | “By default, user speech can interrupt a running tool.” | Call disallow_interruptions() “at the start of any mutating tool” |
| LiveKit, async tool | “By default, async tools finish what they’re doing regardless of what the user does.” | Already protected; cancellation is opt-in via ToolFlag.CANCELLABLE |
| Pipecat | cancel_on_interruption defaults to True: “the call is cancelled if the user interrupts” | Set it to False, which also makes the call async |
| OpenAI Realtime | Cancels the in-progress response; the effect on a pending function call isn’t documented | Your code owns the function: let writes finish; check the caller is still there before sending the result |
LiveKit explains why cancellation is opt-in: “most tools (orders, writes, payments) aren’t safe to interrupt partway through.” Its async-tools post: “Interrupting is not cancelling.”
In Pipecat, protection and non-blocking are one switch: with cancel_on_interruption=False the conversation carries on, so the model can talk, even answer, before the write lands. Tell it the write is pending with an is_final=False result such as “booking requested, not confirmed”. LiveKit separates the two: disallow_interruptions() on a regular tool protects the write and still holds the turn. A protected LiveKit write:
# Illustrative: LiveKit Agents (Python) APIs as documented 4 Dec 2026.# Pin your livekit-agents version; Python 3.11+ (asyncio.timeout); ehr_client is your backend.import asynciofrom livekit.agents import Agent, RunContext, function_toolfrom livekit.agents.llm import ToolErrorclass SchedulingAgent(Agent): @function_tool async def book_slot(self, run_ctx: RunContext, patient_ref: str, slot_id: str) -> str: """Book a slot. Call only after the caller confirmed it.""" run_ctx.disallow_interruptions() # barge-in can't cut the write run_ctx.session.say("I'm booking that now.") # process, not outcome key = f"book:{patient_ref}:{slot_id}" # business intent, not call ID try: async with asyncio.timeout(8): booking = await ehr_client.book(slot_id, patient_ref, idempotency_key=key) except asyncio.TimeoutError as err: raise ToolError( "Outcome unknown. Say you can't confirm the booking yet; don't retry." ) from err return f"Booked. Confirmation {booking.ref}."
Duplicates. LiveKit’s on_duplicate (default allow; also reject, replace, confirm) acts on calls still in flight, and by default any in-flight call of the same tool counts (duplicate_scope="name" in the Python reference; a "name_and_args" option “fails open”). It catches a repeat during the first call, not a retry after it ends. So make writes idempotent at your own API, keyed on business intent: a payment-intent ID created before the call, or patient plus slot plus action. Not the model’s tool-call ID: a retried or re-issued call gets a new one.
Handoffs. LiveKit async tools belong to their agent, and “any pending updates from them are dropped during an agent handoff” unless they live in an AsyncToolset. Check this before handing a caller between agents mid-task.
What none of this protects against. These patterns control timing, not trust. A schema validates form, not intent: injected text can still produce a well-formed call with attacker-chosen values. Tool results are untrusted text going into the prompt and out through TTS: a CRM note can carry instructions, or personal data the agent reads aloud. OWASP’s Top 10 for LLM applications names the case: “Indirect prompt injections occur when an LLM accepts input from external sources, such as websites or files.” The responses: least-privilege tool scopes, per-parameter authorisation at your API, and redaction before TTS.
In a clinical flow it’s also a compliance question. An EHR result is typically protected health information under HIPAA, or health data under GDPR, so what the agent says during and after a lookup is part of your compliance surface: speak only what this caller may hear, after identity is checked, and keep spoken values out of unprotected logs. It’s the surface we work on in HIPAA- and GDPR-compliant telehealth builds, including a KBV-listed psychotherapy video platform.
For the transport side, see how barge-in and turn-taking work in a WebRTC voice agent.
Have a write that has to survive a barge-in? Bring it to the free call at the end of this guide, run by our voice AI agent development team.
What should the agent say when a tool is slow, times out or fails?
Say what happened in plain words, offer one next step, and never claim an outcome you don’t have.
Set timeouts. LiveKit warns: “A backend that hangs blocks the session: the close callback doesn’t run and the next turn never starts.” Pipecat’s per-tool timeout_secs defaults to None; on expiry, “inference runs so the bot can say it didn’t complete,” and an intermediate result “neither clears it nor restarts it.”
Return a reason, not a stack trace. In LiveKit, “A bare exception becomes “the tool failed” in the model’s view”; raise ToolError “with a reason the model can communicate or recover from.” OpenAI’s gpt-realtime-2 guide says to explain briefly, without blame or raw errors, read back a possibly wrong identifier, “offer to retry once”, and escalate after repeats. Two lines are worth copying: “Do not repeatedly call the same tool with the same arguments after failure,” and “Only say an action was completed after the tool call succeeds.”
The wording stance by failure, in our reading:
| Failure | What the agent conveys |
|---|---|
| Not found | Reads back the value used; asks for a correction |
| Ambiguous match | One narrowing question |
| Read timed out | Taking longer than expected; one retry or another route |
| Partial write | Exactly which part completed |
| Permission denied | Can’t do that here; routes to someone who can |
| Write outcome unknown | “I can’t confirm it went through.” Checks status before any retry |
A timeout after a charge request left your system doesn’t mean the charge failed: “let me try again” risks a double charge, “done” a false promise. Only a status check or an intent-based idempotency key makes a retry safe. If the backend has no status endpoint, don’t retry at all: tell the caller the outcome is unconfirmed, flag the call for a person to reconcile, and follow up out of band.
When a tool stays down, step down a fallback ladder: a cached read with its age disclosed (“as of this morning”), then a narrower question, then a handoff to a person or a callback.
The serving-stack failure that looks like a silent or broken tool
On a self-hosted or third-party model endpoint, check the serving layer first. LiveKit’s post (Chris Wilson, 6 July 2026): “When the serving stack has no parser for the model’s format, the tag falls through as ordinary assistant text,” and the agent reads the markup aloud. Call the endpoint directly with a tool attached and check whether the call lands in tool_calls or content. LiveKit sells hosted inference; treat the post as a diagnostic.
How do you measure dead air so you can fix it?
Log each tool turn as its own span, on one clock; our latency budget explains which latency number to trust. Per tool turn, record the last user voice frame, tool requested, tool returned (backend, status), first audio of any preamble or filler, first audio of the answer, any barge-in, and the outcome: success, failure, timeout or unknown.
Then track:
- Longest silence per turn, including any gap between a preamble and the answer. This is the headline.
- p50 and p95 per tool, not one average.
- Share of tool turns with no speech before the result.
- Filler collisions, duplicate calls, interruptions during a write, and late results dropped or voiced.
No published standard sets a safe silence threshold for voice agents; choose yours from your use case. Then break it on purpose: inject a delay, a 5xx and a hang into your mocked backends.
Where have we dealt with these trade-offs?
We haven’t published a measured tool-call latency for a delivered voice agent, and this guide doesn’t invent one. Three delivered projects raised the same questions, each with a limit.
In-call medical translation inside a telehealth video platform. The closest real-time analogue: speech passes through recognition, translation and synthesis while the other party waits. We built it inside the media path, in a custom Mediasoup SFU, with adaptive audio buffering “balancing translation latency against conversation naturalness”; the case study reports sub-second latency from speech to dubbed audio, and treats every audio frame as protected health information. The limit: a translation figure, not tool latency. The principle carries over: design for what the caller hears.
An AI productivity bot acting on email, Slack and Drive. Not voice, but it hit the write-safety problem in text. Our case study records that early on a malformed tool call surfaced “only when the API rejected it”, after the user had already seen a “sending…” status. The fix was validation before execution: “a validation layer that checks every tool call against the platform schema and verifies entity IDs before firing.” High-impact actions also got a preview and explicit confirmation. The limit: it’s a chat interface, and a schema checks form, not intent.
An AI phone-screening agent for a staffing company. It pushes screening summaries, scores and recordings into the client’s applicant tracking system. The limit: its case study gives no tool-call timing, so it shows the shape of the problem, not a latency result.
On problems like this we work as an architecture consultation, a fixed-scope fix, or a dedicated team that stays with the product; our longest client partnership has run seven years.
FAQ
How long can a voice agent stay silent during a tool call? No published standard says. Pick a limit from your use case and measure the longest silence per turn.
What is the difference between a preamble and a filler? The model writes a preamble and it carries context; the framework plays a filler, which can be instant and fixed.
Should a voice agent run tools in the background? For long reads, yes. For writes, confirm first and protect the call; in Pipecat that also backgrounds it, so tell the model the write is pending.
Does interrupting the agent cancel the tool call? It depends on the stack: see the defaults table above. OpenAI doesn’t document what happens to a pending function call.
If one tool turn in your agent goes quiet and you can’t tell why, book a free 30-minute call with a Trembit real-time engineer. Bring one EHR, CRM or payment turn: the backend it calls, its timing spans and the words your agent says while it waits. We’ll pressure-test the narration, interruption handling and failure wording with you, so you leave knowing where that turn can go silent or unsafe and which fix to try first. Not the engineer? Forward this to your CTO or product lead and book the call together. No deck, no pitch. Start from our voice AI agent development page.