Skip to content
Console

voice_agent

Add an AI participant that listens to room audio and responds with synthesized speech.

The audio output track appears when the first synthesized audio packet arrives. It preserves the provider’s sample rate and channel layout, and idle periods are represented as timestamp gaps rather than generated silence. Add an audio_mixer when a continuously clocked output is required.

{
"name": "bot",
"type": "voice_agent",
"inputs": ["mix_audio"],
"config": {
"language": "en-US",
"instructions": "You are a helpful live show co-host.",
"greeting": "Hello everyone!",
"interrupt": true
}
}
FieldTypeDefaultDescription
languagestringmanaged defaultOptional BCP-47 conversation language hint, such as en-US or zh-CN. When omitted, the managed service uses language detection or its default language behavior.
instructionsstringSystem prompt steering agent behavior. Truncated to 8000 characters.
greetingstringOptional first utterance spoken when the agent joins. Truncated to 2000 characters.
voicestringmanaged defaultOptional voice id supported by the managed service.
interruptbooltrueBarge-in: when a participant starts speaking, the agent stops and pending synthesized output is discarded. Set false to always finish the turn.

$0.10/min while the voice-agent session is connected. Node pricing.