Agents
Agent tab
The Agent tab configures introductory spoken greetings, core behavioral instructions, and runtime template variables.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
name | string | required | Agent title (1 to 120 characters) displayed across the console and call records. |
welcome_message | string | "" | Initial sentence spoken immediately upon call connection. When empty, the agent waits for the caller to speak first. |
system_prompt | string | "" | Core instructions defining persona, conversation flow, constraints, and business rules. |
{
"name": "Front desk",
"welcome_message": "Namaste {customer_name}, City Clinic se baat kar rahi hoon. Main aapki kya madad kar sakti hoon?",
"system_prompt": "You are Priya, the receptionist of City Clinic in Pune.\nHelp the caller book, move or cancel a visit.\nThe clinic is open 9 am to 7 pm, Monday to Saturday.\nIf the caller asks about medicine or a diagnosis, say a doctor will call them back."
}
Model configuration and presets
The editor summarizes the selected models:
- Transcriber: Speech recognition provider, model, and language.
- Model: Large language model provider and parameters.
- Voice: Text-to-speech voice, speed, and language.
Latency and model catalog
The agent’s page in the console shows its measured latency (time to the model’s first word and to the first audio, averaged over recent calls), and the model cards compare the available models on speed and quality.
Prompt authoring
Prompts are stored as standard Markdown text. In the console, you can toggle between Visual editing and Code mode.
AI Prompt Generation
In the console, Generate on the Agent tab writes a structured system prompt and a welcome message from a short description of the agent (for example “a receptionist for Smile Dental in Pune that books appointments, in Hinglish”).
Variables
Dynamic placeholders in single curly braces (e.g. {customer_name}, {order_id}) are populated on a per-call basis:
- Outbound calls: Passed in
user_dataduring call dispatch. - Browser preview calls: Specified in the preview test drawer.
{caller_phone}: Automatically set to the destination number (outbound) or incoming caller ID (inbound).- Missing values: Unprovided variables resolve to empty strings; unpopulated raw tokens like
{customer_name}are never spoken aloud to callers.
curl -X POST https://api.vaakyo.com/api/v1/agents/$AGENT_ID/call \
-H "Authorization: Bearer $VAAKYO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+919812345678", "user_data": {"customer_name": "Rohan"}}'
Values are formatted as text. Non-string values in user_data are stringified, while false, 0, and null evaluate to empty strings. Provide explicit strings when formatting precision is required.
Prompt assembly
When a call executes, the effective prompt incorporates conversational rules:
- Your base
system_promptwith populated variables. - Voice conversation guidelines (concise turns, conversational numbers, natural pauses).
- Hinglish phonetic guidelines when Hindi is selected.
- Current date and time formatted in the agent’s target timezone.
- Clarification reminders for unpopulated variables.