How to Write a Voice AI Agent Prompt (With a Template)

How to write a voice AI agent prompt: the six sections that work, how to write for speech, guardrails, tool instructions and a template you can adapt today.

By Roenic Natarelli, Founder November 25, 2026 8 min read
The short answer
  • Organize the prompt into six sections: personality, environment, tone, goal, guardrails and tools.
  • Write for the ear: short sentences, one question at a time, numbers and emails spelled the way they should be spoken.
  • Put every non-negotiable rule in its own guardrails section, including when to hand off to a person.
  • Describe each tool with when to use it and the exact input format, then test the prompt against real scenarios.

The prompt is the job description for your voice agent. A vague one gets you an agent that rambles, guesses and forgets to hand off. A clear one gets you an agent that sounds like a calm, well-trained receptionist. Here is how we write them, with a template you can adapt.

What is a voice AI agent prompt?

A voice AI agent prompt, also called a system prompt, is the set of written instructions that tells the agent who it is, who it is talking to, what it is trying to achieve, which rules it must never break and how to use its tools. The agent reads it before every conversation.

It is different from a call script. A script fixes the exact words. A prompt describes the goal and the rules, and lets the agent handle the conversation naturally within them.

What sections should a voice agent prompt have?

The structure we use, and the one ElevenLabs recommends in its prompting guide, has six sections, each under its own heading.

SectionWhat it coversExample line
PersonalityWho the agent is and its characterYou are Ava, the friendly front desk assistant at Harbor Dental.
EnvironmentThe channel and the caller's situationYou are answering phone calls. Callers may be in pain or in a hurry.
ToneLength and style of repliesKeep replies to one or two short sentences. Ask one question at a time.
GoalThe steps to complete the taskFind out what the caller needs, then book, answer or transfer.
GuardrailsNon-negotiable rulesNever give medical advice. Never confirm a booking until the tool succeeds.
ToolsWhen and how to use each toolUse check_availability before offering any time.
List all non-negotiable rules the model must always follow in a dedicated # Guardrails section.
ElevenLabs Agents prompting guide

How do you write a prompt for speech instead of text?

Write for the ear. People cannot scroll back on a phone call, so replies need to be short, simple and one idea at a time. Tell the agent that explicitly, because language models default to long, written-style answers.

  • Keep replies to one or two sentences unless the caller asks for detail.
  • Ask one question at a time and wait for the answer.
  • Offer two or three options, never a long list.
  • Confirm important details by repeating them back: names, times, phone numbers.
  • No bullet points, markdown or emojis. They mean nothing in a voice.
  • Spell out how to say numbers, prices, times and email addresses.
Text-to-speech models, especially faster ones, are best at generating speech from alphabetical text.
ElevenLabs Agents prompting guide

What belongs in the guardrails section?

Everything the agent must always or never do, written as short, direct rules. This is where most of the safety of your agent lives.

  • When to transfer to a person, including any time the caller asks.
  • What counts as an emergency and exactly what to do.
  • Topics it must not advise on, such as medical, legal or financial questions.
  • Never invent prices, policies or availability. Say you will check or have someone follow up.
  • Never confirm an action until the tool reports success.
  • Never take card numbers by voice. Offer to text a secure payment link.
  • Say it is a virtual assistant if asked, and offer a person.
If a rule matters, test it. Write a scenario where a caller pushes the agent to break each guardrail and make sure it holds every time.

How do you write tool instructions in a voice agent prompt?

For each tool, say what it does, when to use it, what to collect first and what to do if it fails. Put the exact input format in the tool's own description, with an example, so the agent does not pass “john at gmail dot com” to a system that needs john@gmail.com.

  1. 1check_availability: use before offering any time. Needs service and preferred day.
  2. 2create_booking: use only after the caller confirms a time. Needs name, phone, service and time.
  3. 3transfer_call: use when the caller asks for a person or the request is outside your scope. Say who you are transferring to first.
  4. 4send_text: use after booking to send confirmation details and the reschedule link.
  5. 5If a tool fails: apologize briefly, take the caller's details and promise a callback.

Our voice AI integrations guide covers what each of these tools connects to.

What does a voice agent prompt template look like?

Adapt this outline for your business. Each numbered item is a section heading with the kind of content that goes under it:

  1. 1Personality: You are [name], the [role] for [business]. You are warm, calm and efficient.
  2. 2Environment: You answer phone calls for [business], which [what you do] in [area]. Callers are usually [typical callers and situations].
  3. 3Tone: Short spoken replies. One question at a time. Repeat back names, times and numbers to confirm.
  4. 4Goal: Greet the caller, find out what they need, then book, answer from the knowledge base, take a message or transfer. End every call with a clear next step.
  5. 5Guardrails: [Your transfer rules]. [Your emergency rule]. Never give [restricted advice]. Never invent information. Never confirm until the tool succeeds.
  6. 6Tools: [Each tool, when to use it, what to collect first, what to do on failure].
  7. 7Knowledge: Services, price ranges, hours, location, parking, policies and FAQs, kept short and current.

What are the most common voice agent prompt mistakes?

  • A wall of text with no sections, so rules get lost.
  • Pasting a whole website into the prompt instead of a clean knowledge base.
  • No instruction for what to do when the agent does not know.
  • Rules that contradict each other, such as always book and always transfer new patients.
  • Changing the prompt without re-running tests. See how to test a voice AI agent.

Should you write the prompt yourself or have it built?

You can write a solid first version with this template, especially for a simple agent. The harder part is tuning it against real calls and keeping it reliable as your business changes. That is the work we do at Virtual Horizons, mostly on ElevenLabs. See our voice AI agency page or the full voice AI implementation plan.

Want a voice agent that sounds like your best front desk person? Book a free call.
Free checklist

AI receptionist setup checklist

What to decide and gather before an AI receptionist answers your phone, so it books from day one.

  • Calls, hours and escalation rules
  • Booking and CRM setup
  • Testing script before go live

It opens right here. We may follow up once by email. No spam, no list selling.

Frequently asked questions

How long should a voice AI agent prompt be?

Long enough to cover the personality, goal, rules and tools clearly, usually one to three pages. Very long prompts can slow responses, so keep reference material in a separate knowledge base.

Should I use a script or a prompt for my AI receptionist?

A prompt. Scripts break the moment a caller goes off-script. A prompt gives the agent goals and rules so it can handle real conversations naturally.

How do I stop my voice agent from making things up?

Give it a clean knowledge base, tell it to say it will check when unsure, and never let it confirm actions until a tool succeeds. Then test those rules with tricky scenarios.

How do I make a voice agent sound less robotic?

Ask for short replies, one question at a time, natural acknowledgments and a voice that fits your brand. Latency matters too, so keep the prompt focused.

Can I use the same prompt on ElevenLabs, Retell and Vapi?

Mostly. The sections carry over, but tool names, variables and platform features differ, so adjust those parts and re-test on the new platform.

Roenic Natarelli
Founder, Virtual Horizons

Roenic runs Virtual Horizons and is a Base44 Legend Partner, Ambassador and Community Pillar, Base44 Shark Tank winner and multiple-time Vibe Sprint winner. The studio builds web and mobile apps, AI voice agents and automations, with more than 10 apps live on the App Store and Google Play. More about us

Sources

  1. 1.ElevenLabs Agents: Prompting guide

Keep reading