# Test your agent (/docs/agents/test-your-agent)

> Use Test chat to talk to your draft agent as a customer would, check answers and sources, and find gaps before you publish.

Type: how-to | Status: ga | Last reviewed: 2026-11-21 | Minimum role: builder

**Test chat** lets you talk to your agent before customers can. Use it after every meaningful change.

## How do I test my agent before customers see it? [#how-do-i-test-my-agent-before-customers-see-it]

Open the agent and select Test chat in the toolbar. Ask the questions your customers ask, read each answer and check where it came from. Test chat uses the last saved draft, so save your edits first. Use it after every meaningful change.

## Open and use it [#open-and-use-it]

1. Open the agent and select **Test chat** in the toolbar. A panel opens beside the editor, titled **Test chat**, with a **Type a message…** box (or your agent's own placeholder text).
2. Ask questions your customers ask.
3. Read the answer and check where it came from.
4. Close the panel with **Close test chat**.

The panel says "Live replies use the last saved draft". If you have unsaved edits it adds "Unsaved edits won't affect replies until you save." with a **Save draft** button.

<Callout>Save your draft before testing so the test includes your latest edits. Test chat uses the saved draft, not the published version.</Callout>

<Screenshot src="/media/agents/test-chat.png" alt="The Test chat panel beside the agent editor" caption="Test chat" captured="2026-11-02" />

## Full page [#full-page]

Select **Full page** in the panel header to open a larger preview page for the agent. Use it to check how the chat looks and reads at full size.

## What to test [#what-to-test]

| Test | Why |
|---|---|
| The top ten questions customers ask | The basics must be right |
| A question your knowledge does not cover | Checks the [fallback message](/docs/agents/welcome-and-fallback-messages) |
| A request for a person | Checks [escalation](/docs/agents/escalation-settings) |
| A question phrased differently from your content | Checks that retrieval finds the right item |
| A sensitive request as a guest | Confirms private data and actions stay locked without verification |
| The same request after verifying | Confirms the verified path works. See [Trust and verification](/docs/security/trust-and-verification) |
| Tone and length of answers | Matches your brand |

## See the model's reasoning [#see-the-models-reasoning]

Turn on **Show agent thinking process** in [Configurations](/docs/agents/configurations) to stream the reasoning while Test chat works. This helps when an answer is surprising.

## Test knowledge on its own [#test-knowledge-on-its-own]

You can also test knowledge before attaching it; see [Test your knowledge](/docs/knowledge/test-your-knowledge).

## When replies are not what you expected [#when-replies-are-not-what-you-expected]

| What you see | Likely cause |
|---|---|
| Old behaviour after you changed something | The change was not saved; use **Save draft** |
| "I don't know" answers | Knowledge not published or attached; see [Attach knowledge](/docs/agents/attach-knowledge) |
| It does not use a tool | The capability is not enabled, attached or allowed for this trust level |

## Test chat limits [#test-chat-limits]

Test chat counts toward a daily message allowance that depends on your plan. See [Limits](/docs/reference/limits).

## Preview a customer's view [#preview-a-customers-view]

The agent also has a preview page that shows how the website chat looks. See [Publish and control your chat](/docs/channels/website-chat/publish).
