> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> From nothing to a pass rate with its interval, on the example support agent, then on your own agent.

You install proving, make a project from the example support agent, record what it does against its own MCP servers, build a twin from that, and run laps. The last step prints a pass rate with its interval, pass^k, and a failure cluster: the example agent has a weakness planted in it.

Nothing here needs a model provider's key. The example agent calls no model, and its checks that need a model are advisory, so its verdicts come from deterministic checks alone.

You need Node.js on your PATH: the example agent and its MCP servers are small Node scripts.

## 1. Install

```sh theme={null}
curl -fsSL https://releases.hex65.com/install.sh | sh
```

[Install](https://docs.hex65.com/install.md) has the other ways (Homebrew, a pinned version for CI, a machine with no network). Check that it runs:

```sh theme={null}
proving --version
```

## 2. Sign in

```sh theme={null}
proving login
```

Your browser opens to confirm the sign-in. On a machine without a browser (over SSH, in a container), print the address and the code instead, and open the address on another device:

```sh theme={null}
proving login --no-browser
```

## 3. Make the example project

Make an empty folder and go into it:

```sh theme={null}
mkdir support-example && cd support-example
```

Then copy in the example support agent, its two MCP servers (a ticketing system and a CRM, with made-up data) and its course (one task, five cases, and the checks):

```sh theme={null}
proving init --example support
```

## 4. Record

Put the recorder between the agent and its MCP servers. This rewrites `.mcp.json` and keeps the original beside it:

```sh theme={null}
proving connect
```

Run the agent on the five requests in `tasks.jsonl`, against the real (example) servers, and record every tool call:

```sh theme={null}
proving record --inputs tasks.jsonl --yes
```

`--yes` skips the warning that recording runs the agent against its real tools. With your own agent, read that warning: recording is not contained.

## 5. Redact and build the twin

Recordings can hold personal data. Redaction replaces it with consistent fakes before anything is built from it:

```sh theme={null}
proving redact
```

Build the twin, the replica of the two servers that laps run against:

```sh theme={null}
proving twin build
```

## 6. Run laps

Run every case five times, inside containment, against the twin. The seed makes the run plan the same every time:

```sh theme={null}
proving run --seed 1
```

Then print the results:

```sh theme={null}
proving results
```

Among the lines it prints:

```text Output theme={null}
Pass rate: 90% [68.55%, 97.38%] at 95%, n = 25, cases = 5, effective n = 18
  pass^1: 90%, too few cases for an interval, cases = 5
  pass^2: 90%, too few cases for an interval, cases = 5
  pass^4: 90%, too few cases for an interval, cases = 5
  Stratum shared_name (weight 0.2, dangerous): 50% [9.45%, 90.55%] at 95%, n = 12, cases = 2, effective n = 2
  Stratum typical (weight 0.8): 100% [77.19%, 100%] at 95%, n = 13, cases = 3, effective n = 13
  Stratum other (weight 0): no laps, not covered by this run
  Cluster wrong_customer / send / effects_match_expected / ticketing.send_reply: 6 failures, attribution instruction (clu_<id>)
```

Read it like this:

* The pass rate is a range, not a number: the interval says how sure the 25 laps let you be. See [How to read a result](https://docs.hex65.com/concepts/reading-results.md).
* The shared name stratum fails every time: when two customers share a name, the agent refunds the first match. The failure cluster names that cause, the check that caught it and the tool involved.
* `pass^k` is the share of cases that pass k laps in a row.

## Next

* Open the same results in your browser, served from this machine: `proving open`.
* Read [the support guide](https://docs.hex65.com/guides/support.md) for what each check does and how to fix the planted weakness.
* Do the same with [your own agent](https://docs.hex65.com/guides/your-agent.md): the steps are the same, with your agent's MCP configuration, your own requests, and cases you accept from recordings.
* If a step fails, its exit code has a page under [Troubleshooting](https://docs.hex65.com/troubleshooting/exit-codes.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.