Examples
Voice agent
Platform side:
VOICE_STT_PROVIDER=deepgram
DEEPGRAM_API_KEY=...
VOICE_TTS_PROVIDER=cartesia
CARTESIA_API_KEY=...
CARTESIA_VOICE_ID=...
VOICE_MAX_SESSIONS=...Agent side, in voice.toml:
voice_instructions = """
Speak in short, conversational sentences.
Do not read markdown, raw URLs, or code aloud.
Say when an action will take a moment.
Confirm before taking consequential actions.
"""
[voice_ids]
cartesia = "your-cartesia-voice-id""Say when an action will take a moment" matters because silence during a tool call reads as a dropped call, not as thinking.
Next
- Design a voice agent - writing for the ear.
- Configure voice providers - codecs and session limits.