client-tools
AgentExtend your agent with custom capabilities. Tools let the agent take actions beyond just talking.
Complete reference for configuring conversational AI agents.
Complete reference for configuring conversational AI agents.
agent = client.conversational_ai.agents.create(
name="My Agent",
conversation_config={
"agent": {
"first_message": "Hello!",
"language": "en",
"prompt": { # LLM, system prompt, tools, and knowledge base
"prompt": "You are helpful.",
"llm": "gemini-3.5-flash",
"tools": [...],
"built_in_tools": {...}
}
},
"tts": {...}, # Voice and TTS model settings
"asr": {...}, # Speech recognition settings
"turn": {...}, # Turn-taking behavior
"conversation": {...}, # Duration, events, monitoring
"vad": {...}, # Voice activity detection config
"language_presets": {...} # Language-specific overrides
},
platform_settings={...} # Auth, call limits
)Controls the real-time conversation behavior.
conversation_config={
"agent": {
"first_message": "Hello! How can I help you today?",
"language": "en",
"disable_first_message_interruptions": False,
"prompt": {
"prompt": "You are a helpful assistant.",
"llm": "gemini-3.5-flash",
"temperature": 0.7
}
}
}| Field | Type | Default | Description | |-------|------|---------|-------------| | `first_message` | string | `""` | What the agent says when conversation starts | | `language` | string | `"en"` | ISO 639-1 language code (en, es, fr, etc.) | | `disable_first_message_interruptions` | bool | `false` | Prevent user from interrupting the first message | | `max_conversation_duration_message` | string | - | If non-empty, the message sent when `conversation.max_duration_seconds` is reached | | `text_behavior_overrides` | object | - | Per-channel text behavior overrides. Map of `ConversationInitiationSource` -> `BehaviorOverride` (`verbosity`, `output_format`, `interaction_budget`). Interaction budgets are `realtime`, `5_minutes`, `10_minutes`, or `1_hour`. See [API reference](https://elevenlabs.io/docs/api-reference/agents/create#request.body.conversation_config.agent.text_behavior_overrides). | | `hinglish_mode` | bool | `false` | When enabled and language is Hindi, agent responds in Hinglish | | `dynamic_variables` | object | - | Config with `dynamic_variable_placeholders` containing key-value pairs | | `prompt` | object | - | LLM configuration (see prompt section below) |
conversation_config={
"tts": {
"voice_id": "JBFqnCBsd6RMkjVDRZzb",
"model_id": "eleven_v4_turbo",
"stability": 0.5,
"similarity_boost": 0.8
}
}| Field | Type | Default | Description | |-------|------|---------|-------------| | `voice_id` | string | `"cjVigY5qzO86Huf0OWal"` | Voice to use | | `model_id` | string | `"eleven_v4_turbo"` | TTS model (see below) | | `stability` | float | `0.5` | 0-1, lower = more expressive | | `similarity_boost` | float | `0.8` | 0-1, higher = closer to original voice | | `speed` | float | `1.0` | 0.7-1.2, speech speed multiplier (not supported on Eleven v4 models) | | `clone_strength` | float | `0` | 0-1, how closely Eleven v4 output follows a Professional Voice Clone's training recordings; higher = closer to the original delivery | | `expressive_mode` | bool | `true` | Enable expressive voice generation | | `agent_output_audio_format` | string | - | Output audio codec format | | `pronunciation_dictionary_locators` | array | - | Pronunciation overrides | | `enable_phoneme_tags` | bool | `true` | Parse inline and pronunciation-dictionary SSML phoneme tags into IPA for V3 models |
**Available TTS models for agents:**
| Model ID | Languages | Latency | |----------|-----------|---------| | `eleven_v4_turbo` | 90+ | ~100ms (default, recommended — most expressive real-time model) | | `eleven_v4` | 90+ | Standard | | `eleven_flash_v2_5` | 32 | ~75ms (lowest latency and cost) | | `eleven_flash_v2` | English | ~75ms | | `eleven_v3_conversational` | 70+ | ~280ms (previous generation) | | `eleven_multilingual_v2` | 29 | Standard (previous generation) |
`eleven_turbo_v2_5` and `eleven_turbo_v2` are still accepted but superseded by the Flash models. Eleven v4 models use `stability` and `similarity_boost`, plus `clone_strength` for Professional Voice Clones; `speed` does not apply.
conversation_config={
"asr": {
"quality": "high",
"provider": "scribe_realtime",
"keywords": ["ElevenLabs", "TechCorp"],
"user_input_audio_format": "pcm_16000"
}
}| Field | Type | Default | Description | |-------|------|---------|-------------| | `quality` | string | `"high"` | Transcription quality level | | `provider` | string | `"scribe_realtime"` | ASR provider for current agents | | `keywords` | array | - | Words to boost recognition accuracy | | `user_input_audio_format` | string | - | Input audio format (e.g., `pcm_16000`, `ulaw_8000`) |
conversation_config={
"turn": {
"turn_timeout": 7,
"turn_eagerness": "normal",
"silence_end_call_timeout": -1,
"turn_model": "turn_v3"
}
}| Field | Type | Default | Description | |-------|------|---------|-------------| | `turn_timeout` | number | `7` | Seconds to wait before re-engaging the user | | `turn_eagerness` | string | `"normal"` | How quickly agent responds: `patient`, `normal`, or `eager` | | `silence_end_call_timeout` | number | `-1` | Seconds of silence before ending call (-1 = disabled) | | `initial_wait_time` | number | - | Seconds to wait for user to start speaking | | `spelling_patience` | string | `"auto"` | Entity detection patience: `auto` or `off` | | `speculative_turn` | boo
Agent skills for ElevenLabs developer products. These skills follow the Agent Skills specification and can be used with any compatible AI coding assistant.
Extend your agent with custom capabilities. Tools let the agent take actions beyond just talking.
The ElevenLabs CLI is the recommended way to create and manage agents:
Make outbound phone calls using your ElevenLabs agent via Twilio or Exotel integration.
Procedures are reusable instruction blocks that an agent runs when a trigger matches or a Start procedure workflow node starts…
Add an ElevenLabs agent to any website with the conversation widget.
Check the current documentation before authoring procedure content:
An agent designed to assist with software development tasks for .NET projects.
Focused coder - implements exactly the assigned subtask in its worktree
Google cross-vendor agent named for the model it runs — Gemini 4 Argon, Google’s top reasoning model, via…