Skip to main content
By the end of this page your agent will click a button in your app and prove what happened: the request that fired, the state that changed, and the file to open if it didn’t.
Every response on this page is real output, captured against a running app while writing it. Nothing here is illustrative.

Prerequisites

  • Node 20 or newer
  • A web app you can run locally, and its dev server
  • A coding agent that speaks MCP (Claude Code, Cursor, Codex, OpenCode, Windsurf, VS Code)

Step 1. Let your agent install it

The fastest path is to hand the job to the agent that will use it. In your project directory:
This registers the MCP server, installs the SDK, wires it into your app’s entry point, and writes the agent rule files. It is idempotent. Run it twice and the second run reports what was already done rather than doing it again. Useful flags, from reticle init itself:
Start with --dry-run if you want to see the plan before anything is written.
In a monorepo, init will find several apps and ask which one you mean. --app packages/web skips the question.
Prefer to wire it yourself? See Manual install. It is about ten lines, and worth reading once even if you let the agent do it, because it explains what the agent actually changed.

Step 2. Check the setup

doctor diagnoses the whole setup in one command: Chromium, the daemon, the port. If something is wrong this is the page you want before you start debugging your app instead.

Step 3. Start your app and open it

Start your dev server as usual, then:
This reuses the tab you already have open, or opens one if you don’t. The SDK connects to the local daemon over a WebSocket, and your agent can now see the app.
If the browser console says it “could not reach the bridge”, your app and the daemon disagree about the port. Set it explicitly: VITE_RETICLE_WS_URL=ws://localhost:4400/reticle for Vite, or reticle.connect({url}). This is the single most common setup problem, and the console message tells you the exact port it tried.

Step 4. Look at the page

Ask your agent to take a snapshot. This is what came back from a real app:
Three things to notice. The password is already [REDACTED]. Reticle redacts credential-shaped values before they leave the page, so your agent’s context never holds your test password, let alone your real one. The whole snapshot cost 61 tokens. This is mode: "interactive", which returns only the controls. A full accessibility-tree dump of a comparable page runs to thousands. Reticle is built to ask narrow questions, because the answer gets re-sent to the model on every turn. Each control has a ref like e5. That’s the handle for the next step, and it stays valid until the element leaves the DOM, so you don’t re-snapshot between actions.

Step 5. Act, and prove it

Here is the whole idea of Reticle in one call. Your agent names the expected consequence before it acts:
Stating the expectation up front is the difference between a check and a rationalisation. An agent that clicks first and then decides what counts as success will always find something that counts. The real response, trimmed for length:
A real act_and_wait verdict, annotated. The verdict, the source pointer, the request evidence, the request count, the state diff, and the app's own signal Read what that actually proves:

What “verified” can say

yes

The consequence you named actually happened, and the evidence is attached.

no

It did not happen. This is a finding, with the source pointer to go fix it.

unknown

Reticle drove the app and could not tell. This is not a pass. Report it as unknown.
That third state is the one that matters. Most tools have two outcomes and quietly file “I couldn’t tell” under “fine”. A verification layer that cannot admit uncertainty is just a very confident random number generator.

Where to go next

Instrument your app

Emit signals like auth:granted so your verdicts get stronger than “the DOM changed”.

Every tool

The 18 tools your agent sees by default, and the 30 more it can reach on demand.

Run it in CI

Turn this session into a suite that blocks a bad merge.

Why Reticle

The false-green problem, and the measured case that this fixes it.
Last modified on August 14, 2026