Write for the ear
Everything the agent says is spoken aloud once and gone. Tell it to answer in short sentences, to avoid lists, links, formatting and anything that only makes sense on a screen, and to say numbers, dates and addresses the way a person would say them.
One question at a time
A caller who is asked three things at once answers the last one. Instruct the agent to ask a single question, wait for the answer and then move on. This is the most common fix in a first draft.
Give it a goal and a boundary
State who the agent is, what the call is for and what it must not do. A clear goal keeps it on task. Clear limits stop it promising things you cannot deliver, such as discounts or medical advice.
- Who it is and who it is speaking for.
- What a successful call looks like.
- What it must never say or promise.
- When to transfer to a person.
Say what to do when it does not know
Without an instruction, a model tends to guess. Tell the agent plainly: if the answer is not in its instructions or its documents, say so and offer to take a message or transfer. Keep long reference facts out of the prompt and in a knowledge base. Dialgem's prompting guide goes deeper.
Test, read and revise
Call the agent from your browser, then read the transcript. Change one thing at a time so you can see what helped. Test the awkward calls too: an interruption, a silent caller and an answer you did not plan for.
Questions
How long should a voice agent prompt be?
As long as it needs to be to state the goal, the limits and the handling of common cases, and no longer. Move long reference material into a knowledge base.
Why does my voice agent ramble?
Usually the prompt does not tell it to keep replies short. Instruct it to answer in one or two spoken sentences and ask one question at a time.