How to write an AI voice agent prompt that works on a real call
Separate facts, conversation rules, and permitted actions. Keep replies speakable, make uncertainty explicit, and test corrections instead of only greetings.

The short answer
A good AI voice agent prompt sets the agent's role and goal, its tone, the actions it may take, how the conversation should flow and when to hand over to a person. Keep facts in a knowledge base, keep replies short and speakable, and test every change on the same set of difficult calls.
- 01Write for a listener, not a reader
- 02Separate the prompt into four jobs
- 03Use expressive cues carefully
- 04Test the moments that break a script
- 05Draft with the builder, then edit by hand
- 06How should a prompt handle names, numbers and pronunciation?
- 07Which prompt mistakes cause the most bad calls?
- 08How do you know a prompt change made things better?
Write for a listener, not a reader
A paragraph that works on a web page can be exhausting over the phone. Ask for short replies, one question at a time, and an answer to the caller’s question before another qualification step. Avoid spoken bullet lists, unexplained acronyms, and a repeated company introduction.
Do not confuse a warm voice with a verbose agent. A brief acknowledgement and a relevant question usually sound more attentive than a polished sales monologue. Voice style should support the task: calm for a complaint, clear for a date, and conversational for an exploratory enquiry.
The prompt works best when it has reliable facts to draw from; the knowledge base overview describes that source of approved answers. If you are designing your first flow, begin with the practical guide to AI voice agents before writing provider-specific speaking instructions.
Separate the prompt into four jobs
Give the agent a role and a clear boundary. Supply approved facts separately from instructions about how to talk. Define the information to collect and the actions it is actually able to perform. The prompt cannot create a booking integration that does not exist.
For example: “Answer using the approved project facts. If availability is not present, say it needs confirmation. Ask one requirement question at a time. A visit is only confirmed after the booking action succeeds; otherwise record it as a request.” This is an illustrative instruction, not a complete production prompt.
- Role and scope: who the agent represents and what it handles.
- Facts: current approved information, with an uncertainty rule.
- Conversation: concise replies, corrections, and language choice.
- Actions: tool prerequisites, success checks, and failure wording.
Use expressive cues carefully
Emotion controls and nonverbal tags depend on the speech provider and model. Do not assume a tag supported by one voice works with every voice. If a provider does not support the format, the caller may hear the tag read aloud or the synthesis request may fail.
Keep provider-specific formatting outside the business facts. Use a tested adapter to translate supported delivery cues, preserve the selected voice, and strip unsupported markup. Test the actual call path as well as the preview button; a preview can use a different provider or settings from the live agent.
Test the moments that break a script
Try a correction, a question outside the knowledge base, a caller switching language, silence, and a direct request to stop. Include a failed tool action. Check whether the spoken answer matches what was saved.
Keep a small regression script and rerun it after changes. If an issue is caused by missing data or a broken tool, fix that system rather than adding another paragraph to the prompt. A longer instruction set can conceal the real fault without making the conversation dependable.
Draft with the builder, then edit by hand
You do not have to start from a blank page. On Vistrow Voice, building an agent with AI turns a short description of your business into a first set of instructions, a voice and the fields to fill after every call. Treat that draft as a starting point: read every section, remove anything you would not say to a customer, and add the rules that matter to you, such as when to offer a callback.
Keep facts out of the prompt where you can. Prices, timings and policies belong in the knowledge base, where adding approved knowledge explains strict mode and the character limit. Settings such as the welcome message, default language and who speaks first live on the agent page, described in creating and editing an agent. After each change, re-run the same scenarios in the Testing Lab, including a silent caller and a language switch.
The product documentation overview explains the terms used across the dashboard, such as agents, routes, campaigns and knowledge bases, if you are writing instructions for the first time.
- Who the agent is and which business it speaks for.
- What it may book, collect or promise, and what it may not.
- When it must offer a callback or a transfer.
- What it says when the answer is not in the knowledge base.
How should a prompt handle names, numbers and pronunciation?
Callers judge an agent by the small details: their own name, your brand, a street, a date or a phone number. Add a short pronunciation section for words the voice gets wrong, written the way they sound. The W3C speech synthesis standard, SSML, has a phoneme element for the same job, but not every voice supports it, so a plain spelling in the prompt is the safer start. Ask the agent to read phone numbers and booking codes back in small groups of digits and to confirm them before saving.
If the agent should stay in one language unless the caller switches, say so plainly. In Hindi and several other Indian languages, verbs change with the speaker's gender, so the phrasing in your sample lines must match the voice you chose. The Hindi AI voice agent overview covers what to listen for in Hindi and Hinglish calls.
Which prompt mistakes cause the most bad calls?
One example greeting in the prompt often becomes the exact greeting on every call. Give two or three variations, or ask the agent to vary its wording. Contradictory rules are the next problem: "always collect the budget" and "never push the caller" need an order of priority.
Write escalation rules as plain sentences, such as "if the caller asks twice for a person, offer a transfer", rather than code-like logic. And never ask the prompt to do what the agent has no tool for. Vistrow Voice can book appointments, request callbacks, capture lead details and transfer calls, as listed on the voice agents product page; anything else should be described as a request for the team.
- One sample line copied into every call.
- Rules that conflict with no priority.
- Prices or timings typed into the prompt.
- Promises the agent cannot carry out.
How do you know a prompt change made things better?
Change one thing at a time and keep a short change log with the date and the reason. Re-run the same saved scenarios after every edit, then read a week of real transcripts before declaring the change a success. Changes apply from the next call, so a bad edit reaches callers fast.
Judge results by outcomes: fewer repeated questions, correct saved fields, fewer callers asking for a person, and shorter calls for the same task. Start with a quick browser test of the agent and then find the matching calls in Calls history with filters.
Frequently asked questions
What is a system prompt for a voice agent?
It is the written instruction set the agent follows on every call: who it represents, what it is trying to achieve, how it should speak, what it may do and when it must hand over. Facts such as prices and timings work better in a knowledge base, which the agent reads alongside the prompt.
How long should an AI voice agent prompt be?
As short as it can be while covering role, tone, actions, flow and escalation. Every extra paragraph is another rule the model has to weigh on each turn, and long prompts often hide contradictions. Move facts to the knowledge base and delete any rule that no test call ever needed.
How do I make a voice agent sound less robotic?
Ask for short replies with one question at a time, give a few varied sample phrases instead of one fixed line, and avoid spoken lists. Let the agent acknowledge what the caller said before moving on. Then listen to real calls, because a reply that reads well can still sound stiff aloud.
How do I stop the agent from making things up?
Give it approved facts in a knowledge base, turn on strict mode so it quotes those answers, and add a clear rule for what to say when something is not covered, such as offering a callback. Test with questions you know are missing and check that it admits it does not know.
Should the prompt be in English or in the caller's language?
Instructions can usually be written in English even when the agent speaks Hindi or another language, but write sample phrases and the greeting in the language callers will hear. Test each language separately, listening for grammar, gender agreement and how names and numbers are spoken.
Sources and references
Published sources behind the facts and figures. The examples and checklists above are our own guidance.