Tutorial: Variants
Level 2 – Lesson 7 of 8 – Tailor agent responses for different contexts without creating separate projects.
Variants let you maintain one agent while tailoring responses for different contexts – no separate projects needed. A variant is a named configuration profile that changes selected content or settings depending on where or how the agent is used.
Common use cases
What variants are (and aren’t)
What variants ARE
What variants are NOT
Configuration profiles
A set of values attached to a variant name (for example: site_name = "Example site"), used to customize how the agent responds in that context.
Consistency tool
A way to keep shared logic and behavior consistent, while allowing specific fields to differ.
Analysis dimension
Visible during analysis: variants appear in Conversation review/diagnosis, showing which context handled each turn.
How the Variant UI works
Empty state
When no variants exist, you’ll see a primary Add Variant button.
Table/grid view
When variants exist:
- Each row is a variant (for example,
Site 1 (default)) - Columns represent variant fields/attributes (for example,
site_name, plus other fields your org has defined) - A search bar for finding variants quickly
Edit variant panel
Often a right-side drawer containing:
- Variant name (required): the label you will recognize in testing and reporting
- Default variant toggle: marks which variant is used when no other variant is selected
- Editable fields such as
site_name, and any other attributes your configuration supports
Import / Export controls
Useful for bulk setup (many sites/locations) and sharing configurations across environments or projects.
When to use variants
Check your understanding
You have 20 hotel properties and each has different check-in times, addresses, and front desk numbers. You're considering creating 20 separate agent projects. What's a better approach?
- Create 20 projects – one per property
- Use variants to store property-specific values in a single agent
- Use Response Controls to switch between properties
- Create environment-specific configurations for each property
Answer: Use variants to store property-specific values in a single agent
Variants let you maintain one agent while tailoring responses for different contexts. Creating 20 separate projects would mean duplicating all shared logic and making maintenance much harder.
Planning your variant strategy
Before creating anything, define one sentence your team agrees on:
“A variant represents ____________________.”
Examples:
- “A variant represents a single hotel property.”
- “A variant represents a specific store location.”
- “A variant represents a brand under a multi-brand umbrella.”
This prevents “variant sprawl,” where variants become an unstructured dumping ground.
Create your first variant
Naming conventions that scale
Stable and sortable
Human-friendly
Multi-dimensional
site_001_downtown
Good for large deployments with many locations
What to put into variants
Variants are most useful for content that is:
- Frequently repeated in calls/chats
- Specific to context
- Risky if wrong
Good variant fields
Avoid varying
Location identifiers
site_name, city, region
Customer-facing facts
hours, address, parking_info, accessibility_info
Escalation language
“connect you to the front desk” vs “connect you to an agent”
Channel-specific phrasing
Short, spoken-friendly alternatives for Call
Testing variants
Operational tips
Check your understanding
What are variants for?
- Creating separate agent projects for each location
- Testing different LLM models in production
- Tailoring agent responses for different contexts without creating separate projects
- Rolling back to a previous published version
Answer: Tailoring agent responses for different contexts without creating separate projects
A variant is a named configuration profile – same core agent, different values for specific fields. This avoids project sprawl when you need context-specific behavior.
Try it yourself
Challenge: Design a variant strategy for a hotel chain
You are deploying one agent for three hotel properties: The Linden (London), The Linden (New York), and The Linden (Tokyo).
Answer:
- Write your one-sentence variant strategy statement.
- List 3 fields that belong in variants.
- List 1 field that should NOT be in variants – and explain why.
Hint
Think about what changes per property (hours, address, local phone number) vs what should stay the same (core agent role, safety rules, overall tone).
Example solution
-
Strategy: “A variant represents a single Linden Hotel property.”
-
Fields in variants:
hotel_name(e.g., “The Linden London”)check_in_time/check_out_timefront_desk_phone
-
Should NOT be in variants: Safety policies (e.g., “Never share guest information”). These are non-negotiable constraints that should apply identically across all properties.
Check your understanding
Which type of content is best suited for variants?
- Core safety policies and compliance language
- The agent’s overall tone and personality
- Location-specific facts like hours, addresses, and escalation language
- LLM model selection per session
Answer: Location-specific facts like hours, addresses, and escalation language
Safety policies and core tone should NOT vary. Location-specific facts – hours, addresses, escalation language – are frequently repeated, context-specific, and risky if wrong, making them ideal candidates for variants.

