AI Builder
The AI Builder (also known as “Ask AI to Build”) is a smart agent creation wizard that uses AI to scaffold a complete agent configuration from a simple name and description. Instead of manually configuring every setting, describe what you want and let AI do the heavy lifting.How It Works
- You provide a name and description — Tell the AI what kind of agent you want (e.g., “A customer support agent for a SaaS product that can look up orders and send emails”).
- Optionally select tools and knowledge sources — Pre-select specific tools or attach existing knowledge sources before generating.
- AI generates a complete configuration — The scaffold includes a system prompt, recommended model, suggested tools, and knowledge types.
- Review and edit the preview — Inspect and modify the AI-generated configuration before creating.
- Configure tool credentials — Set up API keys for tools that need them (optional — can be done later in Agent Studio).
- Create the agent — One click to create the fully configured agent.
Using the AI Builder
From the Dashboard
- Click + New Agent to open the Create Agent modal.
- Select AI Builder from the sidebar.
- Fill in the fields:
| Field | Description |
|---|---|
| Agent Name | A clear name for your agent (e.g., “Booking Assistant”) |
| Description | What this agent should do — be specific about tasks, personality, and constraints |
- (Optional) Click the Wrench icon to pre-select tools from the tool picker.
- (Optional) Click the Upload icon to attach existing knowledge sources.
- Click Build with AI.
Quick Action Pills
For fast starts, click one of the pre-built quick action pills:- Voice Receptionist — Front desk agent that greets callers, routes calls, and takes messages
- Sales Caller — Outbound sales agent that qualifies leads and books demos
- Phone Support Agent — Handles customer support calls with troubleshooting and issue resolution
Tool Picker
The tool picker popover lets you pre-select tools before generating:- Search — Filter by name or category
- Category pills — Filter by category (Search, Web Scraping, Data, Finance, Communication, etc.)
- Checkbox selection — Toggle tools on/off
- Badge count — Shows how many tools you’ve selected
Knowledge Source Picker
The knowledge source picker shows your existing knowledge sources from the platform:- Select previously created sources (files, URLs, text, etc.)
- Selected sources are automatically attached to the new agent
- If you haven’t created any knowledge sources yet, you can add them later in Agent Studio
Preview Step
After clicking Build with AI, the AI generates a configuration and shows a preview:What’s Shown
| Section | Description |
|---|---|
| System Prompt | AI-generated instructions — fully editable before creating |
| Model | Recommended AI model for your use case |
| AI Recommended Tools | Tools the AI chose based on your description |
| Your Selected Tools | Tools you manually pre-selected |
| Suggested Knowledge | Types of knowledge the AI recommends (e.g., “FAQ documents”, “product catalog”) |
| Attached Sources | Knowledge sources you selected from the picker |
Actions
- Next: Language & Voice — Open the Language & Voice picker (see below).
- Back to Edit — Return to the builder to change your inputs.
Language & Voice Step
Before the agent is created, you pick the languages it will listen for and the voice it will speak with. This is the same picker the studio’s Voice panel uses, so what you choose here is exactly what you get inside the agent.- Languages — multi-select chips. Pick every language the agent should detect and respond in (Hindi + English is a common combo). Code-mixing like Hinglish is handled automatically. Speech recognition is picked for you based on this list — Sarvam for Indian languages, Deepgram for English and others.
- Voice — paginated, searchable grid. Your own cloned voices appear first, then Aero, then other providers. Filter by gender, language, and provider. Click any card to select; click the play icon to preview.
Credentials Step
If any selected tools require API keys or credentials, the preview shows a Configure Tools button. This step lists each tool and its required credentials:- Tool name and icon
- Required credential fields (API keys, tokens, secrets)
- Each field shows “Configure in Agent Studio” as a placeholder
Via the API
Scaffold an Agent
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Agent name |
description | string | Yes | What the agent should do |
selected_tools | string[] | No | Pre-selected tool IDs to prioritize |
selected_datasources | string[] | No | Knowledge source types to include |
Response
Best Practices
- Be specific in your description — “A booking agent for a dental clinic that checks Google Calendar availability and sends SMS confirmations” produces much better results than “A booking agent.”
- Pre-select known tools — If you know you need Gmail and Google Calendar, select them upfront. The AI will incorporate them into the system prompt.
- Review the system prompt — The AI generates a good starting point, but you know your business best. Edit the prompt to add specific details, tone guidelines, or edge case handling.
- Iterate — If the first generation isn’t perfect, go back and refine your description. More detail = better results.

