What is Prompt engineering?
A prompt is the text a language model receives: instructions, examples, context and the conversation so far. Prompt engineering is the work of writing that text so the model does the right thing.
What good prompts usually include:
- A clear role and goal: who the agent is and what it is for.
- Rules: what it must always do, and what it must never do.
- Examples: sample exchanges that show the tone and steps.
- Context: facts about the business or the customer it may use.
- Output format: for example, short spoken sentences, or a set of fields.
Prompts for voice agents need extra care: short replies, no lists read aloud, confirmations for numbers and clear handoff rules.
How it is done: write a draft, test it on realistic conversations, read the failures, adjust and test again. Changing one sentence can change behavior in many places.
Common mistakes:
- Very long prompts with rules that conflict.
- Facts that change, like prices, written into the prompt instead of a knowledge source.
- Testing only the happy path.
- Rules that only say "don't" without saying what to do instead.
Prompts are not security. A prompt can guide behavior, but sensitive limits, like who can approve a refund, should be enforced by the system's permissions.
How Concierge handles it: you write each agent's brief in plain words: its job, its greeting and what to ask. Playbooks hold step-by-step procedures, and the agent answers from the knowledge you approved.
Example
An agent keeps reading long return policies aloud. The team adds one rule, "answer in two sentences and offer to text the full policy," and calls get shorter.