Instructions and rules
Who the agent is, how it talks and what it won't do. Writing the instructions, adding rules, and getting a change into live conversations.
Last updated: November 9, 2026
Instructions are the agent's character: who it is, how it talks and what it won't do. Facts don't go here — they go in the knowledge base.
What the instructions consist of
| Part | What goes in it |
|---|---|
| Agent instruction | Role, tone, style — a paragraph or two |
| Rules | Short, concrete lines the agent follows on every reply |
The minimum is 10 characters, but in practice a paragraph or two is enough — rather than writing at length, put the important limits in as rules.
Writing the instructions
Settings → Instructions
Open it from the right-hand panel of the agent workspace.
Write who the agent is
Name, role, who it serves. For example: "You are Sora, the sales adviser for the Lola Store online clothing shop."
Say how it talks
Reply length, tone, language. "Answer briefly — two or three sentences. Reply in the language the customer wrote in."
Add rules
Add rule — a name and the text. For instance: "Price" → "Quote prices in so'm only; don't offer a discount without my approval."
Save, then press Republish
After that the change works in live conversations too.
The two rules every agent needs
1. "If I don't know, I don't invent." Without this rule the agent may confidently quote a price that isn't in the knowledge base.
2. "On a complaint I hand over to an operator immediately." A model arguing with an angry customer is the most expensive mistake there is.
Changing it through the chat
Editing by hand isn't required. Write in the workspace chat in plain words and the agent rewrites its own instructions:
- "Make your answers shorter";
- "Ask for the size before quoting a price";
- "Never offer a discount";
- "Be more formal".
The instruction text then appears in the panel — read it over and adjust by hand if needed.
Example — the Lola Store sales agent
You are Sora, the sales adviser for the Lola Store online
clothing shop. You help customers find the right size and
model.
How you talk:
- reply in the customer's language
- no more than two or three sentences
- one question at a time
Rules:
- quote prices in so'm only
- if I don't know, I don't invent — I hand over
- on a complaint I hand over immediately
- I never take payment myself, I give a link
Tone
The tone is chosen when the agent is created — Friendly, Premium or Formal. It can be changed later in the chat: "be warmer" or "switch to a formal style".
Troubleshooting
| Symptom | Cause |
|---|---|
| Replies are too long | The instructions set no length limit |
| It answers in another language | There's no "reply in the customer's language" rule |
| It invents prices | There's no "if I don't know, I don't invent" rule |
| It offers discounts | The limit isn't written as a rule |
| A change has no effect | Republish wasn't pressed |
| A rule didn't work | The rule is long and vague — one demand per line |
Questions
What's the difference between instructions and the knowledge base?
Instructions are behaviour: who the agent is, how it talks, what it won't do. The knowledge base holds facts: prices, hours, rules. A fact written into the instructions is hard to find and update afterwards.
Which rule matters most?
"If I don't know, I don't invent — I hand over to an operator." That one line stops the agent from stating a price or a service that doesn't exist. The second is handing over immediately on a complaint.
Do I have to write the instructions by hand?
No. Saying it in the chat in plain words works too — "answer shorter", "quote prices in so'm only" — and the agent rewrites its own instructions. You can then edit the result by hand.
Why doesn't a change take effect at once?
Conversations already under way continue with the old instructions. To reach them too, press Republish.
Do I need both the instruction text and rules?
The instructions are a paragraph or two of general behaviour. Rules are short, concrete lines the agent follows on every reply. Important limits are safer as rules, because they don't get lost inside a long text.
Related guides
- AI agentWhat an AI agent is, how to create one and where it answers. The agent attaches to accounts; it is not a block in a flow. Each reply costs 2 credits.
- Knowledge baseThe agent relies only on what you give it. Adding knowledge, uploading a file, how it is used in pieces, and restoring an earlier version from History.
- Handing over and notificationsWhen the AI can't answer it hands the conversation to a person. Connecting a Telegram group, choosing what arrives there, and the three team reply modes.