Lesson 2 of 6 — Configure personality, role, and behavioral rules.
What agent behavior controls
Role definition
What the agent represents and what it can help with
Personality
Tone, style, and how the agent communicates
Global rules
Hard constraints that apply to all conversations
Boundaries
What the agent should never do or say
Where to configure behavior
Navigate to Build → Agent in the left sidebar. You’ll find two main configuration areas:- Agent
- Rules
The Agent page contains three fields:Personality example:
- Greeting — The agent’s opening line (goes directly to TTS without LLM processing)
- Personality — Sets the tone and communication style (friendly, professional, empathetic, casual)
- Role — Specifies the agent’s function (customer service, sales, technical support). This is a single field — define one primary role.
Advanced: Some projects use a start function that returns an
utterance, which overrides the greeting field. If you edit the greeting and nothing changes, this may be why. You’ll learn about functions and return values in Level 2. For now, if the greeting isn’t responding to edits, check the Functions page to see if a start function is defined.Writing effective behavior configuration
Agent section
Be specific about scope
Be specific about scope
Good:Avoid:
Define what you can't help with
Define what you can't help with
Good:This prevents the agent from making promises it can’t keep.
Personality section
Use clear, actionable language
Use clear, actionable language
Good:Avoid:
Match your brand voice
Match your brand voice
If your brand is formal, say so:If your brand is casual:
Check your understanding
Rules section
Write rules as constraints
Write rules as constraints
Rules should be clear boundaries, not suggestions.Good:Avoid:
Include safety and compliance rules
Include safety and compliance rules
Examples:
Use channel-specific and language-specific rules
Use channel-specific and language-specific rules
You can scope rules to specific channels or languages using tag syntax. This is useful for multi-channel or multilingual projects.Rules without a tag apply to all channels and languages.
Common patterns
- Retail/E-commerce
- Hospitality
- Healthcare
Agent:Personality:Rules:
Testing your configuration
After saving your behavior settings:Test in Chat
Open the chat panel and ask questions that should trigger your rules.Example tests:
- Ask for something the agent shouldn’t do
- Request information that requires a transfer
- Test the tone and personality
Verify rule enforcement
Confirm the agent:
- Refuses inappropriate requests
- Offers transfers when configured
- Maintains the specified tone
Prompting principles
Effective agent configuration is a form of prompt engineering. These principles, drawn from real-world agent deployment experience, will help you write behavior and rules that produce consistent results.Make the desired outcome the most likely response
Make the desired outcome the most likely response
LLMs predict the next most likely token based on your prompt. Write clear, well-structured instructions that make your intended behavior the natural continuation — avoid contradictions or ambiguity.
Prefer positive instructions over negative ones
Prefer positive instructions over negative ones
Telling the model what not to do can activate the exact behavior you want to avoid. Instead of prohibiting outcomes, direct the model toward what you want.Avoid:Better:
Use examples to guide behavior (few-shot prompting)
Use examples to guide behavior (few-shot prompting)
Concrete examples shape tone, structure, and decision-making more reliably than abstract rules. Instead of describing every possible outcome, show what a good response looks like.
Less is more — cut what doesn't help
Less is more — cut what doesn't help
Every instruction is another piece of data the model must reconcile. If a piece of information is not proven to improve behavior, leave it out. Test the impact of each instruction — if it doesn’t help, remove it.
Put important details first or last
Put important details first or last
LLMs give more weight to information at the beginning or end of a prompt. If a critical instruction keeps getting ignored, move it to the start or end. Repeating crucial rules is acceptable.
Spell out the persona in action
Spell out the persona in action
Don’t assume tone will emerge naturally from a label. Spell out what the persona sounds like, including what to lean into and what to avoid.
Check your understanding
- Agent defines role and scope clearly
- Personality sets actionable tone
- Rules include hard constraints
- Tested in Chat — agent refuses inappropriate requests and holds tone
Try it yourself
Challenge: Write behavior config for a clothing retailer
Write a 3-sentence Personality block and 3 Rules for a customer service agent for a clothing store called “Bloom & Co.” The agent can help with order tracking and returns, but cannot process refunds directly.
Hint
Hint
Personality should describe tone and communication style in actionable terms (not just “be friendly”). Rules should be hard constraints starting with “Never” or “Always”, not suggestions.
Example solution
Example solution
Personality:Rules:
Check your understanding
← Previous: Create a project
Lesson 1 of 6
Next: Add a simple topic →
Lesson 3 of 6

