# Test your agent and compare models

> Ask your agent real questions before customers do, see the sources behind each answer, and compare up to four models on your own content.

The test chat lets you ask your agent questions against your real knowledge and see exactly which sources it used. Compare sends one question to two to four models so you can pick the one that answers your content best.

Test messages run through the same pipeline as a real conversation, so they use message credits like any other channel.

## Open the test chat

#### New dashboard

1. Open **Test** under **Your agent**, on the **Chat** tab.
2. Type a question.
3. Open the answer's insights to see its sources and what shaped it.

#### Previous dashboard

1. Open **AI Agent** › **Playground**.
2. Type a question in the chat box.
3. Click an answer to open its **Answer Insight** panel.

## What you see for each answer

- **The sources**, each with how strongly it matched the question. In the new dashboard the match reads Strong, Partial or Weak.
- **Tokens used and response time** in the previous dashboard.
- **Search your knowledge**: in the new dashboard you can run your own search over your content from the insights panel.
- **Teach and fix**: in the new dashboard, **Fix this answer** lets you write the right answer, and **Add to a test suite** saves the question so it is re-checked later. A thumbs-down opens **Fix this answer** too.

A weak source at the top of the list is a retrieval problem, not a wording problem. Add a saved answer, fix the page, or improve the source content. See [saved answers](/knowledge/saved-answers/).

## Test settings

The test chat has its own controls so you can try things without changing what customers get:

- **Strict Mode** (new dashboard: "Only answer from my knowledge"): see how a question behaves with and without general knowledge.
- **Temperature** and **Context chunks**: how much the wording varies and how many pieces of content the answer draws on. These change only your test.
- In the previous dashboard, if you have a saved draft persona, the Playground answers with the draft while customers still get the published one. Publish the draft to make them match. See [How your agent answers](/agent/how-it-answers/).

## Compare models

1. Switch to **Compare** (previous dashboard: **Compare Models**).
2. Pick two to four models from the ones your plan can use.
3. Type a question (up to 4,000 characters) and run it.

Each model answers from the same retrieved content, with the same temperature and strictness you chose. For each model you see the answer, its response time in milliseconds, tokens used, and an error if that model failed, so one failure never hides the others.

Each model that answers uses message credits like a normal answer. A model that fails is not charged. A comparison is not saved to conversation history.

On a plan with only one usable model, Compare asks you to upgrade.

### Compare well

- Try a set of real customer questions, including awkward ones. One answer proves little.
- Run a question a few times before judging a response time, because times vary from call to call.
- To judge cost, look at each model's credit cost in [Choose the AI model](/agent/model/).

## Ideas for what to test

- **Common questions**: "How much does it cost?", "What is your refund policy?" Check the answer and its sources.
- **Edge cases**: questions your content does not cover. The agent should say it does not know.
- **Several turns**: a short back-and-forth, to check context carries across.

## If it doesn't work

**The test chat answers differently from the widget.** A saved draft persona is being used in the test chat. Publish or discard the draft.

**No sources appear.** The content is not indexed yet. Check the Knowledge page for status.

**Credits go faster than expected.** Test and Compare messages count against your monthly credits. Budget for heavy testing near a plan limit.

## Related

- [Test suites](/agent/test-suites/)
- [Choose the AI model](/agent/model/)
- [How AskVault keeps answers accurate](/agent/accuracy/)

Source: https://docs.askvault.co/agent/test-chat/
