# Test your AI Agent

### Step 1: Ensure Training Is Complete

* Make sure your AI agent has already been trained with your files, documents, or data before proceeding to the test.​

### Step 2: Access the Playground

* Go to the "playground" section in your platform where you can test AI agents.​

### Step 3: Select Your AI Agent

* In the playground, you'll see a list of your AI agents.​
* Choose the specific agent you wish to test (e.g., "Support Agent").​

### Step 4: Manage File Selection

* If the agent is trained with multiple files:
  * To get answers from all files, select "none" for file selection.​
  * To get answers from a single file, choose the specific file you want.​

### Step 5: Set Instructions and Defaults

* You can add instructions for the agent, such as its name, response style, or company details.​
* Define what the agent should reply if it does not find an answer in your files.​

### Step 6: Test Responses

* Type a query in the test area (e.g., "hi" or a question from your documentation).​
* Review the reply given by the agent, noting that you will also see the credits charged for each interaction.​

### Step 7: Monitor Credit Usage

* Each test query will show the amount of credits consumed; check pricing with support or sales teams if needed.

{% embed url="<https://youtu.be/fewuySw_bvM>" %}
