Concept
A pipeline voice call (KoreVG) runs three steps for every turn: speech-to-text (STT), the agent, and text-to-speech (TTS). The caller hears nothing until TTS starts. Each step adds wait. You cannot remove all of it. Decide which waits to cut and which to cover with a filler.
A scripted
FLOW step (REASONING: false) with a fixed RESPOND needs no model call. It is the fastest path. Use a reasoning agent only where the caller’s words need interpretation. See How to choose between a reasoning agent and a FLOW-based agent.
Pipeline voice and realtime voice
Realtime (speech-to-speech) calls have no separate STT or TTS stage. The provider owns turn detection and audio delivery. Most settings in this article apply to pipeline voice only.
Other articles cover turn-taking in depth (How to handle barge-in, pauses, and unclear audio) and writing short replies (How to write voice-friendly agent responses).
Minimal working example
An agent looks up an order. It gathers the order number, reads the status, and covers the lookup with a filler.agents/order-status-voice.agent.abl
get_order_statusis a project tool. Define a tool with this name and parameter in Tools and bind it to your order API.order_idis aGATHERfield. The caller supplies it. The tool reads it as theorder_idargument.- The filler text is static.
MESSAGESfillers do not support{{ }}placeholders.
A short
llm_timeout or tool_timeout ends a slow wait sooner but turns a slow answer into an error. Pair every short timeout with a spoken fallback. See How to define fallback behavior for voice failures.
How it works
Where the time goes in one turn
- The caller stops speaking. The platform waits for the end-of-speech signal.
- The agent runs. A scripted step answers at once. A reasoning step calls the model, then maybe a tool, then the model again.
- If the work runs longer than the filler delay, a filler plays.
- The reply goes to TTS. With streaming on, audio starts before the full reply exists.
Fillers
A filler covers silence. It does not shorten the wait.
Your own Filler settings override the profile defaults. A profile override beats Filler settings. Static filler text comes from
MESSAGES, then from the project’s localized phrase pools, then from built-in phrases such as “One moment.”
Voice low-latency profile
The profile is a project setting that tunes voice sessions only. Chat sessions in the same project keep their behavior.
Your explicit settings win over the profile: an agent that sets
inline_gather, a project model routing override, and your Filler settings.
A project gets the profile when its first voice channel is added. An older project can show Recommended voice defaults are not active. In Settings > Runtime Config, open Voice low-latency profile and click Apply recommended defaults.
Project and channel settings
These settings have no ABL syntax. Set them in Studio.
Turn detection and end-of-speech hints trade speed for accuracy. A faster setting answers sooner and risks cutting off a caller who is still speaking. Keep the default for free speech. Raise patience for card numbers and spelled names.
Common variations
Scripted steps for known questions
UseREASONING: false where the question and the answer shape are fixed. The step gathers the value, calls the tool, and replies with fixed text. No model call runs between steps.
agents/order-status-scripted.agent.abl
END_OF_SPEECH_TURN_TYPE: structured_valuetells the recognizer to expect a value such as an order number. The runtime picks the pause length. UseEND_OF_SPEECH_TIMEOUT_MSfor an explicit value. These hints apply to pipeline voice. They have no effect while turn detection is on for the same block.get_order_statusis a project tool, as in the first example.order_idcomes from theGATHERfield.orderholds the tool result.- A failed lookup loops back to
ask_order. Add a retry limit and an escalation before production. See How to define fallback behavior for voice failures.
Run independent lookups at the same time
APARALLEL block runs read-only tool calls together. Three sequential calls take the sum of their times. A parallel block takes the slowest one.
agents/account-summary-voice.agent.abl
PARALLELcalls do not use the read-only result cache. Barge-in cancels the running calls.ON_PARTIALruns when some calls fail. In this exampleanswerwould read an empty value for the failed call. Branch on the missing value before production.
Model, token, and prompt settings
Use a smallmax_tokens, no extra reasoning, and prompt caching for reasoning agents that answer short questions.
reasoning_effort: noneapplies to models that accept the setting.prompt_cache_keyapplies to OpenAI and Azure OpenAI models only.prompt_version: v2lets the provider reuse the fixed part of the prompt on supported OpenAI and Claude models. New projects start onv2. Older projects stay onv1until you change it.- Choose the model in Settings or in
EXECUTIONwith a model that exists in your project. The profile routes voice operations to thefasttier. A project with no model on that tier reportsVOICE_LATENCY_MODEL_UNAVAILABLEin the model resolution preview. voice_latency_targetand the tool hintlatencycompile, but the runtime does not read them in this release. Do not use them to tune a call.
Localized fillers
Add a language suffix to a filler key. The runtime checks the region tag, then the language, then the operation, then the general key.general, tool_call, reasoning, handoff, delegation, extraction, and constraint_check.
Verification
Test on a real call. A compile check proves syntax only.- Open the voice channel. Click Open voice preview, or call the phone number.
- Say a short question, a long answer, and a value with a pause, such as an order number. Pause mid-number once.
- Ask the same lookup twice in one call.
- Open the session in Sessions and select the Voice Metrics tab.
A realtime call shows end-to-end latency and interruptions only. For the full list of voice trace events, see How to observe and troubleshoot realtime voice behavior.
Production readiness checklist
- Define every tool the agent calls in the project. Confirm the tool timeout is shorter than the time a caller will wait in silence.
- Set
llm_timeoutandtool_timeout. The defaults are 120,000 ms and 30,000 ms. - Mark only read-only tools
cacheable. Never cache a tool that changes data. - Confirm the
fastmodel tier has a model. Test a reasoning turn, a tool turn, and a handoff turn. - Write a filler for each long wait, in each language you serve.
- Test a pause inside a number, a short “yes”, and a long explanation with the turn detection setting you chose.
- Add a spoken fallback for a slow or failed tool or model. See How to define fallback behavior for voice failures.
- Review
voice_dead_airevents from a test run of at least one call that uses each tool.
Common mistakes
Troubleshooting
Related HowTos
- How to write voice-friendly agent responses
- How to handle barge-in, pauses, and unclear audio
- How to define fallback behavior for voice failures
- How to observe and troubleshoot realtime voice behavior
- How to choose between a reasoning agent and a FLOW-based agent
- How to configure model, timeout, and execution settings for an agent