# Playground: Testing your Text AI Agents

#### What the Playground is

The Playground is a built-in testing environment inside each text agent.

It allows you to **chat with your most recently saved version of the agent** so you can test how it responds before using it live.

<figure><img src="https://3835013762-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCy5rSNtQmtqYCGzJlNEB%2Fuploads%2Fgit-blob-fc073c90fe05ba165ce0c5195ddee9eee434e170%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

***

#### What you can do in the Playground

Inside the Playground, you can:

* Send messages to your agent
* Test responses based on the current prompt and settings
* Validate changes after editing the prompt
* Experiment safely without affecting live users

***

#### How to send a message

To send a message to your agent:

1. Type your message into the text input box
2. Press the send button, or
3. Press **Enter** on your keyboard

Each message is sent to the agent exactly as a real user would send it.

***

#### Important behavior to understand

The Playground:

* Uses the **latest saved version** of your agent
* Does **not** update in real time while you are editing the prompt
* Requires you to save changes before testing them

If you don’t see a behavior change, make sure the agent has been saved.

***

#### Resetting the conversation

The Playground keeps conversation history so the agent can respond with context.

To start a fresh test:

* Click the **Reset** button in the top-right corner of the Playground

This clears the conversation history and lets you test the agent from scratch.

***

#### Common use cases

The Playground is commonly used to:

* Verify prompt changes
* Test language behavior
* Validate tone and response structure
* Debug unexpected answers before publishing

***

#### Common mistake

Forgetting to reset the conversation when testing new behavior.

If prior messages remain in the conversation, they can influence the agent’s responses.
