> For the complete documentation index, see [llms.txt](https://docs.zaia.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zaia.app/agents/agent-settings/internal-chat.md).

# Internal Chat

The **Internal Chat** is a live execution, testing, and inspection environment built directly into the Agent Builder.\
It allows you to interact with your Agent using the **exact same configuration, reasoning engine, tools, and provider** that will be used in production.

More than a chat interface, the Internal Chat is designed for **debugging, validation, and deep inspection** of Agent behavior before deployment.

***

### What You Can Do With the Internal Chat

#### Test Real Agent Behavior

The Internal Chat runs your Agent exactly as it would run in production.\
You can use it to:

* Validate how the **Prompt** behaves in real conversations
* Test how **Temperature, Effort, Planning, and Reasoning** affect responses
* Verify how **Conditional Prompts** are triggered
* Adjust tone, flow, and instructions safely before publishing

***

#### Send Rich Inputs

The Internal Chat supports full interaction testing, including:

* Text messages
* **Images**
* **Audio files**
* **Documents and attachments**

This allows you to simulate real-world user behavior and test how your Agent handles different input types.

***

#### Inspect Every Message and Execution Step

Each Agent response can be fully **inspected**.

Using the inspection view, you can:

* See the **execution timeline** of the response
* Inspect every **iteration** performed by the Agent
* View tool calls, inputs, and outputs
* Understand how the Agent reasoned and which resources were used
* Analyze the complete **execution pipeline** that generated the response

This level of visibility makes it easy to debug unexpected behavior and optimize complex flows.

***

#### View Credit Consumption

The Internal Chat displays **credit usage per execution**, allowing you to:

* See how many credits each response consumes
* Compare different models, reasoning modes, or settings
* Optimize cost before deploying to production

> ⚠️ **Important:** Using the Internal Chat **does consume credits**, exactly like production conversations.

***

#### Manage Conversation History

The Internal Chat includes full conversation management tools:

* **Clear the current conversation** to start fresh tests
* Access a **complete history** of past interactions
* Restore previous conversations by date and time

This allows you to revisit older tests, compare behaviors over time, and reproduce specific scenarios.

***

### Why the Internal Chat Matters

The Internal Chat allows you to:

* Iterate safely without affecting users
* Debug complex Agent logic with full transparency
* Validate production behavior before publishing
* Optimize performance, cost, and reliability

It is the **primary tool for building high-quality, predictable Agents** in Zaia Endless.
