Testing agents
Test every change before you publish. The console has three ways to try an agent:
| Tool | Best for |
|---|---|
| Test Chat | Text agents, in the console |
| Test Call | Voice agents, from your browser or a phone |
| Test pages | Sharing the agent with reviewers who don’t use the console |
Testing needs the agent test permission for your role.
Test Chat
Section titled “Test Chat”Select Test Chat in the agent’s header. It appears when the agent has a messaging channel on.
- Choose the Version:
- Draft. If you have unsaved changes, starting the chat saves them.
- Live, the published version.
- Any earlier version.
- Choose the Language, if the agent has more than one.
- Optionally turn on the Debugger.
- Select Start Chat and send a message.
A chat keeps the version it started with, even if you edit or publish meanwhile. Select New Chat to start again. Ended test chats stay saved in Chats.
Test Chat shows rich messages as customers would see them, and lists the knowledge base sources each reply cited.
Test Call
Section titled “Test Call”Select Test Call in the agent’s header. It appears when the agent has a call channel on. Choose In browser or By phone.
In browser
Section titled “In browser”- Choose the Version and Language.
- Optionally turn on the Debugger.
- Start the call and allow microphone access when your browser asks.
The agent greets you, and the transcript appears as you talk. Use headphones for the most natural turn-taking.
By phone
Section titled “By phone”Choose the version and start a phone test. You get a one-time code and a SIP address. Call the agent from a softphone or, if a test number is set up for your organisation, from any phone.
Phone tests follow the agent’s recording and transcript settings, and are tagged Test in Calls.
The debugger
Section titled “The debugger”With the Debugger on, each turn shows:
- timings for each step: knowledge retrieval and the language model, plus speech recognition and speech synthesis on calls;
- every tool call, with its arguments and result;
- in Test Chat, the knowledge base sources the reply cited.
You can switch the debugger on or off during the conversation. Use it to see why a reply was slow or why the agent did or didn’t call a tool.
Test pages
Section titled “Test pages”A test page is a single HTML file with a demo website, your agent’s chat window and, for agents with Voice over Web, its call button. It uses your chat window design. Anyone can open it in a browser and start talking, without a console login.
Test pages use the agent’s latest saved draft, so reviewers can try the agent before you publish it.
Make a test page
Section titled “Make a test page”- Open the agent’s Deploy section.
- Under Test pages, choose how long the page works: 1, 7 or 30 days.
- Select Download test page.
- Send the file to your reviewers.
Use cases have test pages too. They reach the use case through its entry agent, and stop working if you change the entry agent.
Stop a test page
Section titled “Stop a test page”Every test page you made is listed with when it was made, when it expires and when it was last used.
- Select Stop to end one page.
- Select Stop all to end every page for the agent.
Stopped pages stop starting new chats and calls within a few seconds. Conversations already running finish normally. Stopping can’t be undone; download a new page to test again.
Before you publish
Section titled “Before you publish”A short checklist:
- Try the main flows in every language the agent supports.
- Ask questions the knowledge base should answer, and some it shouldn’t. Check the agent says it doesn’t know rather than guessing.
- Trigger each tool, including its error cases.
- On calls, check the greeting, interruptions, and that the call ends only when you are done.
- Clear any Needs native review marks and
[TO FILL: …]gaps.
Then publish.