Skip to main content
Back to how-to guides Use this pattern to set how your agent sounds on a voice call: its tone, pace, reply length, and language. The settings you choose depend on your voice mode.

Concept

Speaking style has two parts. The wording is what the model says. The delivery is how the audio sounds. Two facts prevent most surprises:
  • pace: slow in CONVERSATION.speaking is a prompt line. It asks the model to write for a slow pace. It does not slow the audio on pipeline voice. Use speed for that.
  • Most speaking values are free text. The compiler does not check tone: warm. A typo such as wram compiles and is sent to the model as written. Only language_policy is checked.

What the model is told

Each speaking key adds one sentence to a Conversation Behavior section of the prompt. The model reads it on every turn. An underscore in a value becomes a space in the sentence. summary_first becomes “summary first”. A value can also be a short phrase. style: "warm, concise, reassuring" gives “Adopt a warm, concise, reassuring speaking style.” Other speaking keys have their own HowTos: readback in Read back numbers, codes, and critical details, and handoffs in Phrase handoffs in a voice conversation. These lines shape generated replies. A fixed RESPOND in a REASONING: false step is spoken as written. The lines also apply on text channels. Use a behavior profile to limit them to voice.

Which setting applies to which voice mode

Realtime orchestration is a channel setting. It is called Realtime orchestration in Studio. Its values are Legacy, Runtime guarded, and Runtime owned.

Minimal working example

A claims agent speaks warmly, slowly, and briefly. agents/claims-status-voice.agent.abl
Variable sources:
  • claim_number is a tool input. The model takes it from what the caller says.
  • get_claim_status is a project-local tool. Replace it with your claims API.
The model receives these lines: “Use a warm tone.” “Maintain a slow pace.” “Keep most replies to 2 sentences or fewer.” “Ask for or present one thing at a time.”

How it works

  1. The platform merges CONVERSATION from the agent and from every matching behavior profile. For each key, the most specific value wins.
  2. On each model call, it adds the merged speaking lines to the prompt.
  3. On realtime voice with Runtime owned orchestration, the provider does not receive the business prompt. It receives a short coordinator prompt and speaks the text that the platform returns. coordinator_policy lines go into that prompt.
  4. The coordinator_policy has defaults when you set none: brevity: concise, interruption: resume_latest, and greeting_style: brief.

Realistic example

A claims agent serves pipeline and realtime channels. It sets the wording rules once. It also sets the realtime delivery. agents/claims-status-voice.agent.abl
Variable sources are the same as in the minimal example. On a Runtime owned realtime channel, the provider prompt gets these delivery lines from coordinator_policy:
  • Speak in en-US.
  • Use a warm, reassuring tone.
  • Speak slowly enough for callers to follow every word.
  • Prefer the shortest complete spoken response.
  • When interrupted, briefly acknowledge and then use the latest finalized utterance.
  • Keep greetings brief.

Common variations

Set style for voice channels only

Use a behavior profile. The speaking block is not limited to voice by default. behavior_profiles/voice_calm.behavior_profile.abl
agents/support-agent.agent.abl
The profile is a project file. The agent attaches it by name. A higher PRIORITY wins when two profiles set the same key. See Use behavior profiles by context.

Set realtime delivery

Set coordinator_policy for a realtime channel with Runtime owned orchestration. It changes how the provider delivers the reply. It does not change what the agent says.
This snippet goes in an agent file. Each key also accepts its camelCase spelling, such as greetingStyle. The two accessibility lines are conditional. They do not make the agent read values back by themselves. See Read back numbers, codes, and critical details. The compiler does not check these values. At run time, the platform drops a value that is not allowed. It uses the default for brevity, interruption, and greeting_style. It adds no line for the rest. Studio shows the dropped values as validation warnings.

Control the reply language

Use language_policy to tell the model which language to use.
fixed needs fixed_language. fixed_language needs fixed. The compiler rejects either key alone. To change the voice with the language, set auto_tts_language_switch: true in EXECUTION.voice or in a VOICE: block. Set up one voice per language on the voice channel first. In realtime voice, coordinator_policy.language sets the default language.

Guard realtime delivery

speaking.delivery applies only when the channel’s Realtime orchestration is Runtime guarded. It sets who owns the exact wording, and whether the agent says a short phrase while a slow step runs.
The model mode is read only by Amazon Nova Sonic flows. Test any other provider before you rely on it.

Keys that have no effect

Verification

  1. Call a pipeline voice channel. Ask three questions. Count the sentences in each answer. Compare with max_sentences.
  2. Check the tone against your tone value. Change tone to formal and call again. The wording must change.
  3. Call with the same agent in chat. If you used a profile, chat must keep its old style.
  4. For realtime, open the agent in Studio. Go to the Execution section and find Realtime Voice Delivery. Pick your provider in the preview. Read the delivery lines. They must match your coordinator_policy.
  5. Check the preview for validation warnings. A warning names a value that the platform dropped.
  6. In the call trace, find voice_coordinator_execution. Check promptSurface. It is coordinator_minimal when Runtime owned orchestration uses the coordinator. Check that policyWarningCount is 0.
  7. If you use a profile, find the profile_resolution event in the trace. The voice profile must be in the matched profiles.

Production readiness checklist

  • You tested each style value with real callers. Free-text values can be misread.
  • The profile WHEN lists every voice channel name that you deploy.
  • Each realtime channel has the orchestration mode that your delivery settings need.
  • The Studio preview shows no validation warnings.
  • You set audio speed with speed, not pace, on pipeline voice.
  • Fixed replies are written in the tone you set. The style lines do not change them.
  • A reviewer listened to the first and last 30 seconds of a recorded call.

Common mistakes

Troubleshooting