- Predictable
- Consistent
- Accurate
- Easier to optimize
- Less likely to hallucinate
The simple way to think about instructions
You don’t need a complicated framework. Most good instructions follow one simple idea:But thinking this way makes instructions clearer and more reliable. Clear situation + clear response = better results.
What instructions can (and can’t) do
Instructions guide the Agent’s behavior — they do not enforce it. AI models (LLMs) generate responses probabilistically.Words like “always” or “never” signal strong intent, but they are not hard technical guarantees. Instructions also compete with other context, such as:
- The latest user message
- Conversation history
- Added sources
- Clear
- Short
- Focused
Keep instructions short
Long instructions are harder to follow consistently. Instead of writing:“When someone asks about pricing, explain the Free plan, compare all features, mention onboarding, include discounts, and explain Enterprise.”
- Instruction 1 → Mention Free plan + signup link
- Instruction 2 → Explain plan differences
- Instruction 3 → State that Enterprise pricing is custom
Use clear triggers
Start your instruction by describing the situation clearly. Good examples:- When someone asks about pricing…
- If a user mentions cancelling…
- When someone reports a bug…
- “Talk about pricing.”
- “Help with cancellations.”
- What the user says
- What topic is being discussed
Be specific about the response
Avoid general instructions like:- “Explain pricing clearly.”
- “Handle complaints properly.”
- “Do not send urls that don’t exist”
Example: pricing
When someone asks about pricing:
- Mention that we have a Free plan.
- Share https://signup.watermelon.ai/
- Explain the differences between Starter, Advanced, and Business.
- State that Enterprise pricing is custom only.
- Do not invent custom pricing.
- Hallucinated discounts
- Fake pricing
- Incomplete answers
If the Agent should send users to a specific page, add the exact link in the instruction. This improves accuracy and reduces the chance of incorrect or invented URLs.
Add guardrails when necessary
If your product cannot do something, say it clearly in the instruction. Example:If someone wants their account deleted, tell them to create a support ticket via the Help menu. You cannot delete accounts yourself.
You cannot start a conversation from the inbox. The customer must initiate it.
Rewrite vague instructions (practical examples)
Here’s how to improve unclear instructions. Example: tone of voice“Be friendly and helpful.”
When greeting a user, use a short and friendly tone. Keep responses under 5 sentences.
“Handle complaints properly.”
If a user expresses frustration:
- Acknowledge it
- Apologize once
- Offer a next step
- Ask if they want human support
“Explain pricing clearly.”
When someone asks about pricing:
- Mention the Free plan
- Share https://signup.watermelon.ai/
- Explain Starter, Advanced, and Business
- State that Enterprise pricing is custom only
Test your instructions
After adding or editing an instruction:- Open the Playground
- Trigger the situation on purpose
- Try different wording
- Test edge cases
- Check escalation behavior
- Simplify the instruction
- Break it into smaller parts
- Check for overlapping rules

