Test and deploy your agent
Previewing the agent before customers see it
In brief: Preview lets you try the Customer Agent in a controlled session, inspect its answers and behavior, and check changes before they reach production.
A useful Preview session recreates the situation a customer would encounter, rather than testing a question in isolation. Set the customer context first, then use the session to investigate answers, Procedures, and the Sources behind them.
Set up a Preview session
Open Test > Preview and set the conditions for the session: Audience, topic, customer profile, and surface. These conditions shape what the agent sees, so match them to the situation you want to check.
Click Start Preview, then enter questions in the conversation panel. You can switch conditions to test different paths, trigger Procedures, and load a customer profile from Living Memory to see how the agent responds with that customer’s plan, history, and signals.
Inspect the agent’s behavior
Use the Inspection panel beside the conversation to see which Sources the agent used, which Procedures were available, and which Living Memory values it saw. This can help you diagnose an unexpected answer.
Preview sessions are saved automatically. Copy the session URL to share it with a colleague; anyone with access to your Unless account can open the session.
Choose the right test
Preview is for one person checking one session. It runs against the same Engine as the live Customer Agent, but Preview sessions do not affect the live agent’s Analyze metrics.
Use another test method when you need a different kind of review:
- Quality reports score answers against control questions and expected answers.
- Simulations are intended for scripted conversations at scale, but have not shipped. Until then, use Preview for ad hoc checks, Quality reports for scoring, and Conversations to review production answers.
If answers differ from production
First compare the Preview and production conditions, especially the Audience, topic, and customer profile. If those match, check whether the live Sources have changed since the Preview was set up.
Preview gives you a way to examine a customer journey before it reaches production. Use the conditions and inspection tools together to understand what the agent sees and how it responds.