Agent rules
When a system prompt is one block of free text, identity, prohibitions, tone and edge cases all run together. You can't turn one constraint off, or see which sentence changed. As the prompt grows, contradictions creep in.
Rules split that block into short, typed statements. The platform compiles them into one prompt, and every Agent node in the agent uses that prompt.
Where to edit rules
| Where | Good for |
|---|---|
| Rules tab of the agent panel | Adding a rule in plain words, removing one, checking the compiled prompt |
| Rules button in the canvas editor toolbar | The full editor: every section, toggling, ordering, exceptions, examples, conflict analysis |
The Rules tab
- Type a rule in plain words, for example
Never promise a refund date. - Click Propose. A card marked Proposed · not saved shows the rule and the section it was sorted into.
- Click Add rule to save it, or Discard.
The section comes from how the rule starts:
| Rule starts with, or mentions | Section |
|---|---|
| "Never", "Don't", "Do not" | PROHIBITION |
| "Always", "Must" | OBLIGATION |
| "If", "When" | CONDITIONAL |
| tone, words, wording, voice | TONE |
| anything else | PREFERENCE |
If a rule is longer than 120 words, the card suggests splitting it.
Rules are listed by section. Click × to remove one. The footer shows how many rules there are and about how many tokens they take. Click Show compiled prompt to see the exact text the model receives.
The full rules editor
Each section has its own card with Add rule. For each rule you can:
- write the Text, plus an optional Exception (never X, except…), a Good example and a Bad example;
- for
CONDITIONALrules, set the Trigger (if…); - switch it off and on without deleting it;
- move it up or down inside its section;
- open it again with Edit.
The right side shows the Compiled prompt, tinted by section, with an estimated token count and a copy button.
From the Review inbox
You can't add rules by asking in chat. But when people reject held outputs in the Review inbox for the same reason three times, Convolution posts a rule proposal in the agent's conversation. Click Add rule on the card to save it.
Sections
Rules always compile in this order, so the same rules always produce the same prompt:
| # | Section | Heading in the prompt | What belongs here |
|---|---|---|---|
| 1 | IDENTITY | Identity | Who the agent is: role, name, who it works for |
| 2 | MISSION | Mission | What it must achieve, in one or two sentences |
| 3 | PROHIBITION | Never do | Hard "never" rules |
| 4 | OBLIGATION | Always do | Hard "always" rules |
| 5 | CONDITIONAL | Contextual rules | If-then rules |
| 6 | TOOLING | Tools | What it can use, when, and with what autonomy |
| 7 | EDGE_CASES | Edge cases | Missing info, ambiguity, insisting after a refusal |
| 8 | TONE | Tone & style | Format, voice, language, length |
| 9 | PREFERENCE | Preferences (soft defaults) | Defaults that yield to hard rules |
| 10 | EXAMPLE | Examples | Scenarios with good and bad responses |
IDENTITY and MISSION compile as paragraphs. The other sections compile as
bulleted lists.
Precedence
A Hierarchy paragraph always closes the compiled prompt. It tells the model how to settle a conflict between rules. The default text:
If rules ever conflict, resolve in this order: safety and platform policy first, then Never-do rules, then Always-do rules, then contextual rules, then preferences. A preference always yields; a prohibition never does.
To change it, click Edit under Hierarchy in the full editor. Save an empty text to go back to the default.
Deterministic compilation
The compiler is a pure function. The same rules always produce the same prompt, byte for byte. Nothing is generated at run time, so the compiled prompt you see is exactly what runs.
How nodes use the rules
Every Agent node uses the compiled rules as its system prompt. A node's own System prompt field is appended after them under "Node-specific instructions". Shared behaviour lives in the rules, and node prompts stay short.
Rule changes apply as soon as you make them. The next run uses the new prompt. When you publish, the active rules are saved with the version, so the Versions tab can show which rules were added or removed.
Conflict analysis
Rules pile up over time. Rule 3 says "always cite a source", and rule 11, added months later, says "keep answers to one sentence". Nothing errors, but the agent gets worse in ways that are hard to trace.
In the full editor, the conflict analysis button (currently labelled
Analizar conflictos) reads your rules and lists conflicts by severity:
contradiction, overlap or tension. Hover over a conflict to highlight the
rules involved.
Conflict analysis runs only when you click the button. It uses your own Anthropic or OpenAI key, so it spends your provider tokens, not credits. You can run it 10 times per hour.