npx @reticlehq/server. It checks the running app with nothing installed and prints a verdict. Then npx @reticlehq/server init, once per project, connects your coding agent. The dashboard (reticle connect) is optional. No account is needed for steps 1 and 2.
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.11 or newer
- A web app you can run locally, and its dev server
- For step 2, a coding agent that speaks MCP (Claude Code, Cursor, Codex, OpenCode, Windsurf, VS Code)
Step 1. Check your app, with nothing installed
In your app’s folder:verified: yes with the URL it checked, and the next step, npx @reticlehq/server init. A fault gives verified: no, and one ✗ line for each fault, for example ✗ Failed request on /broken: GET http://localhost:58473/api/missing: HTTP 404. The command exits 0 only on yes. When the app sends the page to a sign-in page, Reticle verifies up to there and says so.
Not in the app’s folder? It checks the one dev server that runs on this computer. When several
run, it names them and does not choose. In a folder that
init already wired, the same command
starts the Reticle server (reticle serve) instead.Step 2. Connect your coding agent
In the same folder, before you open your coding agent, run the command that step 1 printed:init edited it. Open your coding agent once this command finishes. If it was open while init ran, restart it once: a coding agent reads its MCP server list only when it starts. The RETICLE_INSTALL_SOURCE prefix is optional and only tells us which page you installed from. It is idempotent: run it twice and the second run reports what was already done rather than doing it again.
This step is once per project. Skipping it is a common reason Reticle “does nothing”: the agent has no tools, or no app on the other end for them to see.
Skipped this step? Ask your agent to verify something in the app. Its first
reticle_session
call finds a project that has never connected and changes no file. It names the zero-install
lease, which checks the running app now with nothing installed, and it tells the agent to ask you
before it runs init. This works in Claude Code, Codex, Cursor and other MCP agents, including a
second project while Reticle is already running for another one.reticle init path:
reticle init --dry-run if you want to see the app changes before anything is written.
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.
Other ways to connect your agent
On Claude Code, the plugin registers the MCP server and the skill in one step. Type/reload-plugins after the install and the tools load in the open session:
/reticle and the agent runs the setup from the skill:
reticle on your PATH once per machine and registers the MCP server with every coding agent it can reach: Claude Code, Cursor, Windsurf, VS Code, Zed, Gemini CLI, Copilot CLI, OpenCode, Antigravity, Warp, Kiro, Amazon Q, Cline, Roo Code, Amp, Continue and Factory Droid. It asks no questions and does not wire your app. Run it before you open your coding agent:
codex command installed, the installer registers Reticle through codex mcp add. Without it, the installer prints the lines to paste and the file to paste them into. Reticle then adds one line, default_tools_approval_mode = "approve", under [mcp_servers.reticle] in ~/.codex/config.toml. This line approves Reticle’s own tools, so Codex does not ask before each call. Reticle changes no other line, and it keeps a mode that you set. To undo it, change that line to default_tools_approval_mode = "prompt". Reticle does not change a mode that is already there.
Step 3. Connect the dashboard (optional)
Skip this if you only want local verdicts. Everything above works without an account.connect runs Step 2 first if this project isn’t wired yet, so you can use it in place of init. Then it:
- Opens a browser so you can sign in, or create a free account at app.reticle.sh. Approve the short code shown in the browser and in the terminal, and the command carries on by itself.
- Links this folder to the cloud project you named, creating it if it doesn’t exist.
npx @reticlehq/server statusshows the link. - Sends the runs and flows already on this machine.
reticle config --runs/--memory/--flows on|off), is in What is recorded. In CI, set RETICLE_API_KEY instead of signing in.
Step 4. 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 5. Open your app again when you need it
init (or connect) already started the dev server and opened the app. On a later day, start your dev server as usual, then:
Step 6. Look at the page
Ask your agent to take a snapshot. This is what came back from a real app:[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 7. Act, and prove it
Here is the whole idea of Reticle in one call. Your agent names the expected consequence before it acts:
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.
no-fault
Nothing was declared to prove, so nothing was checked. Not a pass either: add an
until.Frequently asked questions
How long does it actually take to install Reticle?
How long does it actually take to install Reticle?
Two commands in your app’s folder.
npx @reticlehq/server gives a first verdict with nothing
installed. Then npx @reticlehq/server init wires the project, registers Reticle with every
coding agent on the machine, starts your dev server and opens the app for you. Run them before
you open your agent, and it needs no restart. For most agents the MCP registration is global, so
a later project starts with the tools already there.Do I need to write tests or learn a query syntax?
Do I need to write tests or learn a query syntax?
No. You talk to your agent in plain language and it calls the tools. There is no spec file, no
selector language and no test runner involved in the loop on this page. If you later want the same
flow to block a bad merge, you can save it and run it in CI, but that is a separate step.
Will any of this end up in my production build?
Will any of this end up in my production build?
No, not unless you add it on purpose. The SDK is dev-only. A production
vite build with the Vite
plugin injects nothing and replaces the SDK with an inert stub, and connect() disables itself
when the build reports NODE_ENV=production. The recommended wiring also guards the call behind
import.meta.env.DEV, so there are two independent locks. The one exception is Production
mode: you add its loader to your production build yourself, and it loads
nothing until a signed ticket activates it.Does my code or my app's data leave my machine?
Does my code or my app's data leave my machine?
Not unless you link a project. The daemon runs on your machine and the SDK runs in your browser.
Nothing from your app leaves the machine until you link a project (
reticle connect, or
RETICLE_API_KEY in CI). After that, what syncs is set by reticle config, and when the Harness
drives, the platform sees the steps it drives. Secret values never leave. Anonymous product
analytics are sent unless you opt out with npx @reticlehq/server telemetry disable, and they
never include your code or your app’s data.What if my framework is not React or Next.js?
What if my framework is not React or Next.js?
The core is framework-neutral, so DOM, network, console, routing and source mapping work anywhere
JavaScript runs. What varies is how
connect() gets into your app and whether you get component
identity on top. See Frameworks for the exact wiring per stack and an honest table
of what is gated in CI versus wired but unverified.Nothing connected. What is the first thing to check?
Nothing connected. What is the first thing to check?
Run
npx @reticlehq/server doctor. If it shows the daemon running but sessions at zero, your
app is not reaching the bridge, and the usual cause is a port mismatch. The bridge port is not
your dev-server port. See Troubleshooting.Where to go next
Instrument your app
Emit signals like
auth:granted so your verdicts get stronger than “the DOM changed”.Every tool
The 10 tools your agent sees by default, and the rest it reaches through
reticle_tools and
reticle_run.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.