How to write good instructions for your AI agent

Learn how to write clear instructions so your AI agent replies with the right tone, limits and actions.

Jun 22, 2026

Watch this step in the video · Instructions: the editor

Instructions are the heart of your AI agent: they define how it talks, what it can do and where its limits are. A good instruction turns a generic assistant into one that sounds like your brand and actually solves problems.

Start with role and goal

Before asking for specific behaviors, tell the AI who it is and why it exists.

  • Define the role: "You are the sales assistant for Aurora Furniture."
  • Define the main goal: book visits, answer product questions, collect payments.
  • Set the language and tone: friendly, formal, with or without emojis.

Be specific and structured

The AI follows instructions better when they are concrete and organized.

  1. Write in short, direct sentences.
  2. Group by topic with headings (Hours, Prices, Returns).
  3. Use lists for rules that allow no exception.
  4. Add examples of replies you like.

Set clear limits

Just as important as what the AI should do is what it should NOT do.

  • State forbidden or sensitive topics.
  • Mark when it should escalate to a human (see the handoff article).
  • Tell it to never invent prices, stock or policies that aren't in the instruction or knowledge base.

Connect to actions and tools

Your agent can run actions: book appointments, tag contacts, create deals. In the instructions explain when to use each one.

  • "If the customer wants a visit, offer the available times and book the appointment."
  • "If they ask to talk to a person, hand off to a human agent."

Iterate with real data

You won't write the perfect instruction on the first try.

  • Review real conversations and spot weak replies.
  • Adjust one rule at a time to understand the effect.
  • Test every change in the sandbox before publishing.

Final tip: treat instructions like an employee handbook, not a magic spell. The clearer and more specific you are, the more predictable and useful your agent will be.

Was this helpful?

Related articles

Message us on WhatsApp