Skip to main content
Agents

How to test your agent before you publish it

Chat with your AI agent as a customer would, check the tools it uses, train better answers, and start over when you need to.

Last updated 20 days ago

Before your customers talk to your agent, talk to it yourself. The test chat shows how your agent answers, which tools it uses, and allows you to correct answers that aren't right yet.

Before you start: Write your agent's prompt and add its knowledge. See How to write your agent's prompt and How to train your agent with a Knowledge Base.


Step 1: Open the test chat

In the left menu, open Agents and select your agent. At the top right, click Test Agent. The chat opens empty, with the message Test your agent.

Important: Tests use wallet credits. Each message you send deducts credits from your wallet balance, just like a real conversation.


Step 2: Chat as a customer would

Write in the Send a message... box and press Enter. Ask the questions the customers ask, in their words. You can also send an image or record a voice note with the buttons under the field.


Step 3: Check the tools your agent uses

When your agent uses a tool (or an integration), for example to check a calendar, the chat shows a Tool Invocation line and a Tool Result line. Click on them to see what the agent sent and what it got back. A green check means the tool worked; red means it failed, with the error message inside the details.

Tip: These lines appear only in the test chat, in the agent’s most recent response. The customers never see them.


Step 4: Train a better answer

Under each answer, you can Copy it, Regenerate it, or click Train. If you opt on the last one, you’ll see Train a better response, write What could be improved? and the Suggested improvement, then click Send feedback. Your feedback will be saved in the agent's knowledge.


Step 5: Adjust and test again

To change something, use Quick Nav on the right to go straight to the agent's configuration tabs. Then come back to the test chat and click the Reset conversation icon (⟲) at the top right to test again from the start.


Done

When your agent answers the way you want, it's ready to publish. Keep testing after each change to the prompt or the knowledge.


Need help? Contact support from your platform's home view.