Skip to main content
Start with the workflow where an error costs the most: that is where a number with an interval is worth the most, and where a weakness found in a twin is cheapest.

1. Make the project

In your agent’s repository:
init finds your MCP configuration (.mcp.json, .cursor/mcp.json or .vscode/mcp.json) and asks for the agent’s name, how it is started (its adapter) and the command that starts it. Without a terminal, give them as flags:
It writes proving.yaml and the project directory, proving/: tasks, cases, checks, the redaction policy and the blinding key. Commit them with your code. proving doctor checks that everything is in place:
The adapters are on Laps; the project file’s fields are on Project file.

2. Record

connect wraps your MCP servers with the recorder (and proving disconnect restores them exactly). record runs your agent once on the request, against its real tools: recording is not contained, so record on a test account. After each session it asks whether the outcome was correct; an accepted session becomes a reference. --inputs <file> records one session per line of a JSON lines file. proving recordings review asks later about sessions you did not review.

3. Redact, build the twin, draft the course

redact proposes a policy from what its detectors found, then writes redacted sessions with signed reports. redact review asks about the paths the policy does not cover. twin build builds the twin and lists what it could not decide: answer in proving/twin.yaml, or with proving twin review. tasks draft drafts tasks, cases and checks from your accepted sessions, and seals some of them as the exam (they are not shown again).

4. Run laps

Then read How to read a result, and look at the failure clusters: proving clusters list.

When your agent has no MCP servers

Recording and the twin work on MCP servers. An agent with no MCP servers can still run laps against its cases, but has no twin: the run says what is not measured. Wrappers for other kinds of tools come with M3.