# How do I turn a failed agent reply into a CI test?

Use export_regression over MCP, or Download runnable test on /check/ or /sandbox/. Both return the same file: a dependency-free node:test that replays your replies against the Check API. Expected verdicts come from the checker, never from the caller. Run it with node --test.

- [MCP tools](https://curbi.io/mcp/)
- [Sandbox](https://curbi.io/sandbox/)

Updated 2026-10-27. Public access.

## Try a configured check

This public example checks a reply against a configured price; it does not authorize an action or establish a provider outcome.

```sh
curl -sS https://api.curbi.io/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"policy":{"prices":[{"item":"Starter","amount":49}]},"reply":"Starter is $99."}'
```

Expect `pass: false` with `price:mismatch`.

Next: [install a framework adapter](https://curbi.io/connect/) or [start with a working policy](https://curbi.io/policies/).
