> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/fabricate/data-agent-tools/using-the-validation-agent.md).

# Using the validation agent

{% hint style="info" %}
The validation agent is not available on the free plan.
{% endhint %}

The validation agent provides an additional level of quality assurance for the data that the Data Agent generates.

To verify the data quality, the validation agent can check:

* The scripts that the Data Agent writes. Note that this check does not validate the quality of the script code. It validates the data that the script would produce.
* The data that the Data Agent generates.

## How the validation agent works

When the validation agent is enabled, it logs the validation actions and identifies the issues that it uncovers.

For example, it might note when a value is in an incorrect format or the distribution doesn't match the original request.

The Data Agent then makes changes in response to those issues. This cycle continues until the issues are resolved.

## Notes on agent time and cost

When you enable the validation agent, requests to the Data Agent take additional time and incur additional cost.

To enable the request to run without input from you, before you issue a request that uses the validation agent, change to [Autonomous mode](/fabricate/data-agent-tools/data-agent-modes-and-models/using-autonomous-mode.md).

## Enabling the validation agent

To enable the validation agent:

1. In the Data Agent chat prompt, click the validation option.

<figure><img src="/files/Pa5tWd07KFKK4IHXsRMP" alt=""><figcaption><p>Validation options for the Data Agent</p></figcaption></figure>

2. To enable validation, toggle **Validation** to the on position.
3. When validation is enabled:
   1. To have the validation agent review the code, toggle **Review Code** to the on position.
   2. To have the validation agent review the generated data, toggle **Review Data** to the on position.

When you enable validation, for the most efficient results:

* Fabricate automatically sets the model level of effort to extra-high.
* We recommend that you change the selected model to Opus 4.8.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/fabricate/data-agent-tools/using-the-validation-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
