reticle is a free, open source data extraction & web scraping project written in TypeScript and released under Apache-2.0. It has 1,338 GitHub stars, 275 forks and 222 open issues, and was last pushed 11 hours ago. On this registry it ranks #115 of 163 tracked projects in Data Extraction & Web Scraping, with 5 head-to-head comparisons available.

What is reticle?

Reticle is an open-source proof layer for AI agents that drives the real application, in a browser or on a desktop, reads what actually happened, and returns a verdict of pass, fail or cannot tell together with the evidence, for developers and teams who need to check what a coding agent claims it has finished.

What it is

Reticle lives in the TypeScript and Node.js ecosystem, published as the npm packages @reticlehq/server and @reticlehq/core, and speaks the Model Context Protocol so that any MCP-capable agent can call it. It is licensed under Apache-2.0 and runs on the machine where the application runs. In the browser it works through a development-only SDK placed inside the app, which exposes the request a click sent and its response, the application's internal state, the console, and the source line of each element. On the desktop it needs no SDK at all: it drives applications through the accessibility tree of macOS, Windows and Linux and records what each action changed in elements, files, settings, clipboard and pixels.

The problem it solves is the unchecked self-report. A coding agent writes a change, declares the work done, and that claim is otherwise taken on trust; Reticle replaces the claim with an observation of the running application. When a failure falls in your own code, the answer includes the file:line to fix, and when the outcome cannot be determined Reticle returns unknown with the reason rather than a quiet green.

Key capabilities

  • A zero-install first check through npx @reticlehq/server, which loads the page, confirms there is no console error and no failed request, and opens each same-origin link, eight at most.
  • Browser-side depth from the dev-only SDK: the request a click sent and its response, application state, console output, and the source line of each element.
  • Desktop automation with no SDK, using the accessibility tree of macOS, Windows and Linux to report what each action changed in elements, files, settings, clipboard and pixels.
  • A three-valued verdict of pass, fail or cannot tell, where only a clear yes counts as a pass.
  • Flows saved from a journey that passed once and replayed with no AI model involved.
  • reticle verify and reticle gate commands, the second of which fails a CI change that breaks a saved flow.
  • MCP compatibility with Claude Code, Cursor, Codex, Windsurf, VS Code, Gemini CLI and other agents that speak the protocol.

Who uses it and how

  • Teams running coding agents against a locally served web app, where the agent claims a fix and Reticle checks that claim against the running application before it is accepted.
  • CI pipelines that hold saved flows and use reticle gate to fail a change which breaks one of them.
  • Developers wanting a first read on a fresh checkout with nothing installed in the app, using npx @reticlehq/server, which finds the dev server, starts the dev script if the app is not already running, and stops that server at the end.
  • Desktop application work where no SDK can be embedded and the accessibility tree is the available handle on what changed.

Getting started

Run npx @reticlehq/server from inside your application directory with Node 20.11 or newer and a web app you run locally; a coding agent that speaks MCP is needed for the second step. A hosted entry point is listed at app.reticle.sh, and the full guide is at docs.reticle.sh/quickstart.

How it compares

The facts supplied contain no list of paid products that Reticle replaces, and no comparable verification or testing tools are named. It stands alone in this registry: the agents mentioned in its documentation, among them Claude Code, Cursor, Codex, Windsurf, VS Code and Gemini CLI, are callers of the tool rather than alternatives to it.

When to use it — and when not to

Reticle is worth adopting when an agent's "done" needs corroboration before a merge, and when a browser or desktop journey should be pinned as a replayable flow that a CI gate can enforce. A self-hoster needs Node 20.11 or later, an application that can be run locally and, for the full workflow, an MCP-speaking agent, while browser coverage additionally requires adding the development-only SDK to the app. Teams with no agent in the loop, or those wanting a conventional assertion suite rather than verdicts that may come back unknown, should look elsewhere.

project readme (upstream, from github) — read inline

Your AI agent says "done." Reticle finds out if that is true.

It drives the real app, in your browser or on your desktop, and reads what happened. Then it returns a verdict, pass · fail · cannot tell, with the evidence. For your own code, that includes the file:line to fix.

npm downloads stars license OpenSSF Discord members

Quick start · What it is · Why · Browser · Computer · How it works · Use cases · For your agent · Benchmarks · Limits · Commands · Roadmap · Docs

⭐ Star the repo · Good first issues · Contribute

An agent says the invoice fix works; Reticle drives the Pay button, sees the card charged twice, and names PayButton.tsx:31

▶ An agent says its fix works. Reticle catches the double charge it missed. Click for the full demo.


What Reticle is

Reticle is the proof layer for AI agents. A coding agent writes a change and says "done". Reticle drives the real app, reads what happened from the inside, and answers with a verdict and its evidence. Only yes is a pass.

It is open source (Apache-2.0), runs on your machine, and works with any agent that speaks MCP: Claude Code, Cursor, Codex, Windsurf, VS Code, Gemini CLI and more.

Where What Reticle claims How
In the browser It sees what the screen hides: the request a click sent and its response, the app's state, the console, and the source line of each element A dev-only SDK inside your app (details)
On the computer It drives any desktop application, and proves what each action changed: elements, files, settings, clipboard, pixels The accessibility tree of macOS, Windows and Linux; no SDK (details)
Over time A journey that passed once is saved as a flow and replays with no AI model; CI fails a change that breaks it reticle verify, reticle gate (details)
Always When it cannot tell, it says so (unknown, with the reason). It never gives a quiet green Where it can go wrong

Quick start

You need: Node 20.11+ (no Node? brew install node or nodejs.org) and a web app you run locally. For step 2, a coding agent that speaks MCP. The full guide, with real output at each step, is docs.reticle.sh/quickstart.

Step 1: Check your app, with nothing installed

cd path/to/your-app
npx @reticlehq/server

It finds your app's dev server. If the app does not run, it starts the dev script, and it stops that server at the end. It opens the app in a Reticle browser and installs nothing in your app. It checks that the page loads, that there is no console error and no failed request, and that each same-origin link opens (8 at most). Then it prints a verdict and the next step. This run found a broken page behind a link:

Starting your dev server: npm run dev
Reticle is checking http://localhost:58473/. It installs nothing in your app.
  ✗ Console error on /broken: Uncaught Error: status page broke
  ✗ Failed request on /broken: GET http://localhost:58473/api/missing: HTTP 404
  - 1 of 2 link(s) opened with no fault.
verified: no — 2 fault(s) on http://localhost:58473/

Next: connect your coding agent, so it can verify each change it makes:
  npx @reticlehq/server init

✅ It worked when the output ends in verified: yes or verified: no, then the next step. A no is a finished check: each ✗ line names one fault. 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 (once per project)

In the same folder, run the command that step 1 printed:

npx @reticlehq/server init

It adds the dev-only SDK to your app and registers Reticle with every coding agent it finds on this machine. To see the changes first, or to pick one app in a monorepo:

npx @reticlehq/server init --dry-run          # show the plan, write nothing
npx @reticlehq/server init --app apps/web     # monorepo: wire this app

✅ It worked when init lists every file it changed and says that your app connected. To check again at any time:

npx @reticlehq/server status

Was your dev server already running? Restart it and reload the tab. The server read your build config before init changed it. Until it restarts, it serves your app without Reticle.

What reticle init changes, file by file

It detects your framework, then:

  1. Installs two dev dependencies, at the same version as the CLI: the SDK (@reticlehq/react on a React app, the framework-neutral @reticlehq/browser on Vue, Svelte and other stacks) and the build plugin (@reticlehq/vite-plugin, or @reticlehq/next for Next.js).
  2. Writes .reticle.json: { "framework", "projectId", "port" }. The projectId keeps two apps running at once apart. The port is the local bridge that the app dials. init writes it only when it is not the default 4400 (that one was taken).
  3. Adds the plugin to your build config (one import and one entry), which injects the connect call in development only.
  4. Writes the dev module, reticle-dev (below).
  5. Writes agent instructions, so every agent in this repo knows to verify with Reticle. A short rule goes in CLAUDE.md and AGENTS.md (appended, never overwritten), the full rules in RETICLE.md, and a /reticle command in .claude/commands/reticle.md. --no-mcp skips these files and agent registration.
  6. Installs a prompt hook for each agent it finds that has one: one entry in that agent's project config, such as .claude/settings.json or .cursor/hooks.json. The hook runs reticle hook prompt, which keeps each prompt, redacted, in .reticle/request.json and .reticle/requests.jsonl. --no-prompt-capture skips it. Prompt capture has the full list and every switch.
  7. Starts your dev server if none is running, opens the app, and waits until it connects. That connection is what init verifies. It never drives your app. Verifying a flow is the next step.

This is what it writes for the two most common setups, recorded from runs on fresh templates. Frameworks has the other frameworks:

Vite (React, Vue, Svelte…) Next.js (App Router)
Dev dependencies @reticlehq/react (Vue, Svelte: @reticlehq/browser), @reticlehq/vite-plugin @reticlehq/react, @reticlehq/next
Build config vite.config.ts: plugins: [reticle(), react()] (reticle({ port: N }) only when port 4400 was taken) next.config.ts: export default withReticle(nextConfig)
Dev module src/reticle-dev.ts, loaded by the plugin's injected connect app/reticle-dev.tsx, a client component that connects after hydration
Mounted in nothing to mount app/layout.tsx: {process.env.NODE_ENV === 'development' ? : null}
Project config .reticle.json .reticle.json

You edit the reticle-dev file. It is dev-only: it tests import.meta.env.DEV (Next.js: NODE_ENV === 'development'), so it does nothing in a production build. Here you tell Reticle what your app holds. At first, it registers nothing:

// src/reticle-dev.ts: written by `reticle init`. You never import it; the plugin loads it.
import { registerCapabilities, registerStore } from '@reticlehq/react';
import { useApp } from './store';

if (import.meta.env.DEV) {
  registerStore('app', useApp); // pass the STORE, not () => store.getState(): the store form sees every change
  registerCapabilities({
    testids: ['login-submit', 'cart-total'], // the data-testid values your key flows touch
    signals: ['order:saved'], // names you emit with reticle.signal() where a thing really succeeds
    stores: ['app'],
  });
}

The store registration is the most valuable line. It lets the agent verify what the app believes, not only what it rendered. You do not need it on day one, because Reticle already reads the DOM, network and console. Start with the store your most important flow reads (Instrument your app).

Read the marks init prints. ✓ done · · already in place · – skipped by a flag · ⚠ could not be done, with the exact fix printed · ℹ done but incomplete, read it. If you skip a ⚠ or ℹ, a "green" install can still find nothing.

More flags:

npx @reticlehq/server init --env KEY=VALUE    # something the app needs to boot (repeatable)
npx @reticlehq/server init --files-only       # write the files, don't boot the app
npx @reticlehq/server init --json             # one JSON object, for agents
npx @reticlehq/server init --no-mcp           # skip agent registration and rule files

What you commit. The edits above and your saved flows in .reticle/flows/, so a teammate or CI can replay them. The rest of .reticle/ stays local, because session journals hold request bodies and page text. Reticle writes a .reticle/.gitignore that keeps it out of git.

Undoing it. Run reticle hook uninstall. Revert the other edits that init listed, including the lines it appended to CLAUDE.md and AGENTS.md. Remove the two dev dependencies. Delete .reticle.json, .reticle/, RETICLE.md, .claude/commands/reticle.md, the reticle-dev file and, if init wrote one, reticle.local.js. Your production build never contained Reticle.

Step 3: Restart your agent and run your first check

Restart your coding agent once, so it loads Reticle's tools. Then open it in your app's folder and ask for one real journey:

"Verify the sign-up flow with Reticle."

The agent finds your app with reticle_session, clicks and types with reticle_act_and_wait, and gets back a verdict with its evidence:

{
  "verified": "yes",
  "effect": {
    "action": "click",
    "name": "Sign up",
    "source": { "file": "src/SignUp.tsx", "line": 42 },
  },
  "verdict": {
    "pass": true,
    "evidence": { "method": "POST", "url": "http://localhost:5173/api/signup", "status": 201 },
  },
}

✅ It worked when you get verified: "yes", "no" or "unknown" with evidence. That verdict means the install is finished. A connected app only shows that the SDK reached the page. unknown means cannot tell, not pass. When the session ends, Reticle saves each drive with a check in it as a flow. The flow runs again later with no model.

Check one fact without an agent

Without an agent, you can verify one fact about the current page from a terminal. It does not click through a flow; that is the agent's job. It exits 0 only on yes:

npx @reticlehq/server verify http://localhost:5173 --expect '{"kind":"element","query":{"role":"heading","name":"Welcome"},"state":"visible"}'

PowerShell changes those quotes. On Windows, put the JSON in a file and pass --expect-file check.json instead.

Or let your agent install it

Run the installer once per machine, in a terminal. It puts reticle on your PATH and registers Reticle with every coding agent it finds. It does not touch your project:

curl -fsSL https://raw.githubusercontent.com/reticlehq/reticle/main/install/install.sh | sh

On Windows (PowerShell): irm https://raw.githubusercontent.com/reticlehq/reticle/main/install/install.ps1 | iex

Restart your agent, open it in your app's folder, and paste the prompt that the installer prints. Or give it this one:

"Set up Reticle in this project: run npx @reticlehq/server init, fix what it marks with ⚠ or ℹ, then verify one real flow of my app with Reticle and show me the verdict. List every file you changed."

Prefer a skill? npx skills add reticlehq/reticle --skill reticle (Claude Code, Cursor, Codex, Copilot, Gemini and others). On Claude Code, the plugin registers the tools and the skill: /plugin marketplace add reticlehq/reticle, then /plugin install reticle@reticlehq, then /reload-plugins.

What the installer does, and any MCP client by hand

It does three things in order, then prints your next steps. It asks you no questions:

  1. Checks for Node 20.11 or newer. If Node is missing or too old, it stops and shows the fix.

  2. npm install -g @reticlehq/server, which puts the reticle command on your PATH.

  3. reticle setup install: registers Reticle's MCP server with every coding agent it finds on this machine (Claude Code, Cursor, Windsurf, VS Code, Zed, Gemini CLI, Copilot CLI, OpenCode, Antigravity, Warp, Kiro, Amazon Q, Cline, Roo Code, Amp, Continue, Factory Droid). Each entry starts the copy that npm install -g put on disk, with node /bin/reticle.js mcp, so the agent does not wait for a download. If codex is on your PATH, the installer registers Codex CLI with codex mcp add. 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. Without codex, the installer names ~/.codex/config.toml for you to add these lines by hand:

    [mcp_servers.reticle]
    command = "npx"
    args = ["@reticlehq/server", "mcp"]
    

At the end, it says that Reticle is not in your app yet, and prints a prompt for your coding agent. With no coding agent, run reticle init in your app's folder, then press Run Harness in the Reticle panel. To see a verdict before you wire anything, run reticle with no arguments in your app's folder (step 1).

Any MCP client, by hand:

{ "mcpServers": { "reticle": { "command": "npx", "args": ["@reticlehq/server", "mcp"] } } }
Connect the dashboard (optional)
reticle connect --project "My App"

It opens your browser to sign in or create a free account. Then it links this folder to that project on app.reticle.sh and sends the runs already on your machine. If the app is not wired yet, it wires it first.

After that, runs sync automatically. To sync now:

reticle sync            # sync once
reticle sync --watch    # keep syncing while you work

✅ It worked when reticle status shows this folder linked to your project.

reticle: command not found? Every command also works as npx @reticlehq/server , for example npx @reticlehq/server init.

Something stopped? Run npx @reticlehq/server doctor. It checks the browser, the background service, the port and the connected pages, and names the problem. Troubleshooting lists every known failure and its fix. To set Reticle up with no installer and no init, follow the manual install.


Why Reticle

Your agent writes code, assumes it worked, and moves on. It never opens the app.

So the broken modal, the silent 500 and the "Deploy succeeded" over a failed deploy all ship. You find them later, by clicking around. You are now your agent's QA.

The truth was in the running app all the time. It did not reach the screen.

Your agent did not forget a step. A coding agent is built to produce a change, so it is optimistic by design. Verification does the opposite: it goes to find out, and is ready to come back with no.

Playwright, DevTools and browser agents look in from outside the browser. That is correct for a site that you do not own. For your own app, the important bugs never reach the pixels:

Bug Looks fine on screen? Reticle reads
Pay button silently returns 500 yes the network response, tied to the click
Badge shows "12", the store holds 0 yes your app's state
The form fired the request twice yes request count
"Deploy succeeded", the deploy failed yes the store's real status
A console error slipped in yes the console since the action
Component re-renders 60×/sec yes the React commit stream

Use both. Playwright for sites you do not own, many browsers, real pixels. Reticle for the app you build, inside your agent's loop.


In the browser

Reticle puts a small, dev-only SDK inside your app. Your coding agent gets tools to look, act, observe and assert through it. Reticle reads the app from the inside. So it sees what the screen hides: the request a click sent, its response, the app state, the console and each element's source line. Every check ends in a verdict with the evidence attached.

  • A verdict, not a screenshot. verified: "yes", "no" or "unknown" (cannot tell). The verdict includes the request, state change and console line that decided it, and the file:line to open.
  • Sees what the screen hides. Network responses, each tied to the click that caused it. Your store's real state (zustand, Redux, TanStack Query, Pinia and more). Console errors, request counts and React renders.
  • Says when it cannot tell. Only yes is a pass. A check that cannot decide returns unknown with the reason. It never gives a quiet green.
  • Flows that replay with no AI model. Say "save that as a flow". After that, one call re-verifies that journey deterministically. Today's fix cannot quietly break last week's feature.
  • A gate in CI. reticle gate fails a change that touches a saved flow's code without a new passing run.
  • The Harness (optional, on the platform): describe a person and a journey. Reticle drives it, verifies each step and saves what passed. How it works.
  • A HUD in your page to watch the agent work: every action, every verdict, the flows it saved, and notes you pin for it.
  • Works with your agent: Claude Code, Cursor, Codex, Windsurf, VS Code, Gemini CLI and anything else that speaks MCP. Web (React, Next.js, Vue, Svelte, Angular and more) and desktop (Electron, Tauri).
  • Safe to leave installed. Production builds do not include the SDK, unless you opt in to production mode. The bridge listens only on 127.0.0.1. Nothing from your app leaves your machine unless you link a project.

A verdict points at the line that caused it. That pointer is the difference between "something broke" and a fix.


On the computer

A page is not the whole job. A download opens a save dialog, a sign-in opens a popup, a desktop app has no page at all. @reticlehq/computer joins any application on the screen as a Reticle session:

npx -p @reticlehq/computer reticle-computer --app "Notes"

Your agent then uses the tools it has for a page: reticle_look, reticle_act_and_wait, reticle_assert.

  • macOS, Windows and Linux. It reads the application through the accessibility tree of the operating system: AX on macOS, UI Automation on Windows, AT-SPI on Linux (X11). The application needs no SDK and no change.
  • Proof, not clicks. Each action reports what it changed: the elements, the files it wrote, the settings, the clipboard and the pixels. A clock or a video that changes by itself is not counted as an effect.
  • It acts only where a person can act. Before a click, it asks the operating system what is at that point. A control that another window or shape covers, or that is in a closed menu, is refused with the reason.
  • Safe on your own computer. Actions go to the application in the background, so you keep your pointer and keyboard. An agent asks for the real pointer on one action only, and ~/.reticle/computer.json can forbid it. On macOS, a HUD shows each action, with Pause and Stop.
  • Applications with no elements. On macOS, a screenshot gives the words in the picture with their boxes, so a canvas, a game or a remote desktop can be driven by those points.
  • A desktop of its own. reticle-computer --sandbox linux --app --open "" starts the application in a container with its own screen.
  • The agent opens it itself. reticle_run({ tool: "reticle_open_realm", args: { realm: "computer", app: "TextEdit" } }) joins an application, and reticle_close_realm ends it. An agent opens only an application that you listed in ~/.reticle/computer-open.json ({ "open": ["TextEdit"] }). For any other, it asks you first. Use it for a check, or for any other task in a desktop app.

The browser and the computer, together

The browser and the computer work together. Act in one, prove it in the other:

  • reticle_attach_tab joins a tab in your own Chromium browser as a session. Start the browser with --remote-debugging-port (default 127.0.0.1:9222, or RETICLE_CDP_URL). It never joins a password vault or a sign-in page.
  • reticle_session { action: "board", carry } reads a value in one session (a desktop app), fills it into another (a page), and proves that it arrived.
  • When an action continues in a popup that the page cannot enter, the verdict says how to follow it on the computer.

The computer realm is new. When something goes wrong, your agent can report it in one call, reticle_feedback, and it goes to the team. The computer realm's README has every flag and every limit.


How it works

You: "Verify login works."

Agent, via Reticle: clicks Sign in → POST /api/login → 200 (14 ms) → dashboard rendered → store holds auth: { email: "admin@…" } → verified: "yes", evidence attached.

Your agent calls Reticle's tools to look, act, observe and assert. Reticle reads the running app from the inside (DOM, network, console, store, React fibers). It reads structured events, not pixels. It answers with a verdict, its evidence and the file:line behind it.

  • In the browser, the dev-only SDK (@reticlehq/browser, or @reticlehq/react for the file:line of a component) sends events to a local bridge on 127.0.0.1:4400. The MCP server (@reticlehq/server) gives your agent the tools. A build plugin (Vite, Next.js) loads the SDK in development only.
  • On the computer, @reticlehq/computer reads an application through the operating system and joins the same bridge as a session. The same tools work on it.
  • The verdict comes from rules in @reticlehq/engine, from the evidence alone. The protocol is open: Open Verification Protocol.

One call verifies many things at once. Say "save that as a flow", and the flow replays after every later edit with no model. Today's fix cannot quietly break last week's feature.

What one call looks like underneath
// The agent clicked "Pay". Did the right things actually happen?
reticle_assert({
  predicate: { kind: "allOf", predicates: [
    { kind: "net",     method: "POST", urlContains: "/api/order", status: 200 },
    { kind: "element", query: { role: "dialog", name: "Order confirmed" }, state: "visible" },
    { kind: "signal",  name: "order:saved" },          // the charge actually committed
    { kind: "console", level: "error", absent: true }  // …and nothing errored
  ]}
})
// → { verified: "no",
//     because: "the declared consequence did not hold",
//     pass: false,
//     failureReason: "POST /api/order returned 500, expected 200",
//     source: "src/checkout/PayButton.tsx:42" }

What people use it for

You never write test syntax. You say what should be true, in plain English.

Verify what you just built

"I changed checkout. Verify it with Reticle before you tell me it is done."

Find what the screen is hiding

"The page looks fine but something is wrong. Use Reticle to check what happens underneath."

Verify a bug is fixed

"Reproduce the bug with Reticle, fix it, then verify the fix with the same steps."

Lock a flow so it cannot break

"Record the login flow with Reticle, then re-verify it after every change."

Sweep before you ship

"Walk the main routes with Reticle. Tell me anything broken."

Reticle answers with evidence: the request that fired, the state that changed, the console line, and the file to open.

An agent can verify anything the running app does. Beyond agent-built changes, people use Reticle for:

  • Security checks. Access control holds for each role (the protected call returns 403). Forbidden calls fire zero times, a secret never renders in the page, and CSP violations surface as console errors. Reticle verifies your app's security behaviour. Use it with a vulnerability scanner, which finds the holes.
  • Accessibility and UX. Controls are reachable by role and accessible name. Focus moves into a dialog when it opens, and Enter or Escape fires the action from the keyboard. Use it with a full WCAG audit such as axe.
  • Performance and monitoring. One request per action instead of five. Largest-contentful-paint, layout shift and long tasks read from the page. React render counts, and saved flows replayed against staging in CI.
  • SEO checks. Page title, headings and every link with its href. Redirects landing on the right route, and a crawl that finds dead controls and failed requests.
  • Personas and simulation. explore drives a journey described in plain words (--persona "a new user who signs up"). Each role gets its own isolated browser context, and several agents drive the same app in parallel.

docs.reticle.sh/use-cases shows each one, with what it verifies and a call you can run.

Beyond your code. The same proof works for any task your agent does on the computer:

  • Prove that a form in a desktop app saved the record.
  • Carry an invoice number from your mail to a web form, and prove that it arrived.
  • Prove that a save dialog wrote the file to the right folder.

Get the most out of it

Every day

You do not start Reticle yourself. Your agent starts it with its first Reticle tool call. It runs in the background until it is idle for some time.

  1. Start your dev server as usual (npm run dev or whatever your app uses).
  2. reticle open shows the app. It uses a tab that is already connected, or opens a new one.
  3. Ask your agent to verify something. Saved flows run again with no AI model: reticle verify http://localhost:5173.

Tell Reticle what your app holds

Register your store in the reticle-dev file that init wrote. Then the agent verifies what the app believes, not only what it rendered. Name the data-testids and the signals of your key flows too. Instrument your app shows how, for each state library.

Save flows, and gate CI on them

Say "save that as a flow" after a passing check. The flow replays with no model: reticle verify . Commit .reticle/flows/, so a teammate or CI can replay it.

npx @reticlehq/server gate --since HEAD~1

gate finds the saved flows that your edits affect. It exits non-zero unless a passing artifact covers each one. An agent that edits a covered file must verify again before it calls itself finished. No one can pass this check by reasoning about their own diff. See docs/cli/gate.mdx.

In CI: run npx @reticlehq/server verify , then npx @reticlehq/server gate --since HEAD~1. Set RETICLE_API_KEY only if you want those runs on the dashboard.

Let the Harness drive

The Harness drives the app for you. Describe a person and a journey ("a returning customer reorders and pays"). The Harness drives it in your browser and verifies each step. It saves what it drove as flows that replay with no model. Your agent spends one call instead of a context full of snapshots. The Harness decides on the Reticle platform. A new account gets free credits, and a card starts a 14-day trial with 500 credits. Start it from Run Harness in the HUD on your running app, or tell your coding agent to call reticle_verify { action: "explore", persona: "…" }. You watch it live in the HUD ("Reticle Harness is driving"). You can stop it mid-run from the same panel; see docs/autodrive.md.

Best practices and recipes have more.


For your agent

  • The skill file: SKILL.md is the full guide for an agent: when to verify, which tool to call, how to read a verdict. Paste its URL into any agent, or install it as a skill (npx skills add reticlehq/reticle --skill reticle).
  • Docs an agent can read: append .md to any page of docs.reticle.sh for plain Markdown, or fetch llms.txt for the index (docs for agents). llms.txt in this repository is a full briefing in one file.
  • Rules in your repo: init writes a short rule to CLAUDE.md and AGENTS.md, the full rules to RETICLE.md, and a /reticle command, so every agent in the repo knows to verify its work.
  • Feedback from the agent: when something goes wrong, the agent can report it in one call, reticle_feedback, or reticle feedback --agent --kind bug "…" from a shell.
For agents: the rules during install

The full agent guide is SKILL.md. These are the rules that matter most during install:

  • init changes the user's files. Run it only when the user asked to set up Reticle, or agreed when you offered. Run it in the app's folder. Use reticle init --json, so you read one object instead of parsing text. Add --app in a monorepo, and --env KEY=VALUE for anything the app needs to start.
  • If the dev server was already running when init ran, restart it and reload the tab. Until you do, the app serves a bundle without the SDK.
  • Run reticle connect only if the user asked for the dashboard. A person must approve the sign-in in a browser.
  • If the reticle_* tools are not in your client, ask the user to run the installer and restart the client. Then stop. If the tools were registered while you were running, reticle init --relaunch prints the command that resumes this conversation with them loaded.
  • A session listed means the SDK reached the page. Setup is finished when the first run returns a verdict.
  • unknown is not a pass. Report it as "cannot tell", with the reason Reticle gives.
  • Stuck? Run reticle doctor and report what it says. To report a problem with Reticle, run reticle feedback --agent --kind bug "…".

Benchmarks

The benchmark injects an 88-bug registry into a controlled app: 86 real regressions and 2 false-positive traps. It compares Reticle against a Playwright script. Every number comes from a committed harness. Reproduce it with node bench/pw-vs-reticle/run.mjs.

Re-verification has no model in the loop, so a recorded suite costs a fixed, small read. Reticle is ahead from the second run, even when it pays for a full LLM drive to write the suite.

Reticle is faster for a structural reason, not browser speed. It verifies a time-gated transition from the event stream instead of waiting it out. A batch of flows runs as a batch.

On the computer: the computer realm is measured on OSWorld, the benchmark of computer use. The first self-run, on the 39-task test_small set with GPT-5.4, puts Reticle level with OSWorld's own screenshot and accessibility-tree agents when a read costs no step (20/34, against 20/35 and 21/35). Under OSWorld's own rule, where every call is a step, it scores 18/35. It is an early signal, not a claim against a competitor. The agent and the runner are in bench/osworld/.


Supported

Web CI drives React + Vite and Next.js to a verdict. CI boots Remix and Astro and checks that each connects. More frameworks are install-gated or wired. Frameworks is the one list of what is proven, and how far
Desktop Electron, Tauri, including the IPC boundary a browser-only tool cannot see. Any other application on macOS, Windows and Linux (X11) through the computer realm
Agents anything that speaks MCP. Config written automatically for Claude Code, Cursor, Windsurf, VS Code, Zed, Gemini CLI, Copilot CLI, OpenCode, Antigravity, Warp, Kiro, Amazon Q, Cline, Roo Code, Amp, Continue, Factory Droid. Codex CLI through codex mcp add, or a four-line paste when codex is not on PATH
Browsers the SDK runs in the tab you already have open; the tested and driven browser is Chromium, plus Electron and Tauri webviews
State zustand and Redux need no adapter. Shipped: TanStack Query, Jotai, XState, Valtio, MobX, Recoil, Svelte stores, Pinia
OS macOS, Linux, Windows

Where it can go wrong

Strong silent failed requests, state that disagrees with the screen, stale caches, double-submits, a write that failed while the UI moved on
Partial races around a single action. It catches a request that never finished and a request sent twice; it is not a full race analyser
Cannot see yet IndexedDB, Web Workers, closed shadow roots, cross-origin iframes

When Reticle cannot see something, it says so. A verdict is yes, no, unknown (the evidence could not decide) or no-fault (nothing was declared to verify). Only yes is a pass, and never a quiet one.

Pairs well with: a visual testing tool for pixel-level diffs, axe for full WCAG audits, and a security scanner for vulnerability discovery. Use Playwright for sites you do not own and a cross-browser matrix. Reticle verifies what your own app does; those tools cover the rest.

On the computer:

  • Linux on Wayland (the default of current Ubuntu and Fedora) takes no pointer or keys from a program. Reticle reads applications and acts through the accessibility interface, and refuses a step that needs the real pointer, with the reason. X11 sessions take both.
  • An application with a poor accessibility tree gives Reticle less to read. On macOS a screenshot gives the words in the picture; elsewhere, a canvas is driven by points.
  • The HUD, --open and --doctor are macOS only for now.

When it stops: run npx @reticlehq/server doctor (or reticle-computer --app --doctor). It names the problem and the fix. Troubleshooting lists every known failure. To report one: reticle feedback "what happened".


Safe to install

Whether you are a person or an agent, check a new dependency before you run it. Each fact below has a way to check it yourself.

Where it comes from

  • Open source, public history. Every line that runs is in this repository. Every package is Apache-2.0.
  • Signed builds from CI. GitHub Actions publishes every @reticlehq/* package with npm's SLSA provenance. Check: npm view @reticlehq/server dist.attestations, or npm audit signatures after install.
  • No install scripts. No package runs a preinstall, install or postinstall hook, so npm install runs none of our code. Check: npm view @reticlehq/server scripts.
  • Scored by OpenSSF. OpenSSF Scorecard rates the repo's security practices (signed releases, fuzzing, least-privilege CI tokens, a security policy). The badge at the top is live.
What it touches, and why each one is needed

A verification tool must sit inside the app it verifies, as React DevTools or a dev-mode error reporter does. That is why it touches more than one place:

It touches Why Scope
Your app's dev dependencies, build config and one reticle-dev file The SDK has to run inside the page to read network, state and console Development builds only. Production builds remove it, and a runtime guard refuses to connect in production
Your coding agents' MCP config So your agent gets the reticle_* tools One reticle entry that runs the installed copy (node /bin/reticle.js mcp) or npx @reticlehq/server@ mcp; nothing else in the file changes
CLAUDE.md, AGENTS.md, RETICLE.md, .claude/commands/reticle.md So any agent in the repo knows to verify its work Appended, never overwritten; --no-mcp skips them
A prompt hook in each agent's project config (.claude/settings.json, .cursor/hooks.json, .codex/hooks.json, .gemini/settings.json, .windsurf/hooks.json, .github/hooks/reticle-prompt-capture.json, .factory/hooks.json) So each prompt is kept as the request a verdict is checked against Only for agents it finds; one entry, merged into what is there; --no-prompt-capture skips it, reticle hook uninstall removes it
A local service on 127.0.0.1:4400 The bridge between the page and your agent Loopback only, paired with a token stored owner-only in ~/.reticle/
A Chromium browser To drive the app Your own machine

What leaves the machine: nothing from your app (DOM, network bodies, console, state, source) unless you link a project with reticle connect (or set RETICLE_API_KEY in CI). Verdicts are made locally, with no account. After you link, reticle config --runs/--memory/--flows on|off sets what syncs. Each prompt you send to your agent is kept in .reticle/, redacted, and a linked project sends it with its runs by default; "shareRequests": false in .reticle.json keeps prompts on the machine (Prompt capture). What each part contains is written down. When the Harness drives, the platform sees its steps, but secret field values never leave your machine. Reticle also sends anonymous usage counts by default (which commands and tools ran, with a random id, nothing from your app, and no IP address or location). reticle telemetry disable, RETICLE_TELEMETRY=0 or DO_NOT_TRACK=1 turns them off, and every other optional outbound call too. The complete list.

What it never does: run arbitrary JavaScript in the page (there is no "evaluate" tool). It also never ships in a production build unless you add the production-mode loader, and it never bypasses your client's permission prompts. Reticle replaces passwords, tokens and card numbers in captured data with [REDACTED] before you see them.

See the plan before anything is written: npx @reticlehq/server init --dry-run writes nothing. --no-mcp skips agent registration. --files-only writes the files and stops. If you find a security issue, follow SECURITY.md.


Commands

Use reticle after install, or npx @reticlehq/server anywhere. reticle help all lists every command. reticle --help lists its flags.

When Command What it does
Setting up reticle setup mcp Registers Reticle with your coding agents. The installer already runs this; rerun it after you install a new agent
reticle init Wires the app in this folder. --dry-run shows the changes without writing them, --app picks one app in a monorepo, --env KEY=VALUE passes what the app needs to boot, --json prints one object for agents
reticle try Signed in: Reticle drives a URL once, in a window you watch, and says which journeys work
Running reticle open [url] Shows your app in a browser connected to Reticle
reticle status Whether Reticle is running and which apps are connected
reticle doctor Diagnoses setup in one go: the browser, the background service, the port
reticle serve --restart / reticle stop Restarts or stops Reticle's background service
Verifying reticle verify Runs your saved flows again. It exits 0 only when every one passes. --explore --persona "a new user who signs up" makes Reticle drive the app itself and save what it finds. --expect '' gives one verdict
reticle gate --since HEAD~1 For CI: fails unless every saved flow your changes touch has a passing run
reticle gate --list Lists which saved flows your changes touch
reticle compare Drives two builds the same way and lists what users would see change
reticle report What the last session claimed, and what actually held
reticle grade Grades a finished run from snapshots of the app's stored data
reticle context --compact After a compaction: what was proved, what failed, and what is still owed
Dashboard (optional) reticle connect --project "My App" Signs in, links this folder to a project on app.reticle.sh and sends your local history. Wires the app first if needed
reticle sync Syncs now. --watch keeps syncing
reticle status Whether Reticle is running, who you are signed in as, and which project this folder is linked to
reticle config --runs off Chooses what syncs: --runs, --memory and --flows, each on or off
reticle runs / reticle runs regression Reads your runs back from the dashboard. runs regression exits 3 if any flow broke
reticle logout Signs out
Keeping it current reticle update / reticle update --rollback Installs the latest version, or goes back to the previous one
reticle telemetry disable Turns off anonymous usage counts
reticle feedback "message" Tells us what worked and what did not. It prints exactly what it sends
reticle hook install / reticle hook uninstall Adds or removes the hook that saves each prompt to .reticle/
Other realms npx -p @reticlehq/computer reticle-computer --app Joins a desktop application as a session. See the computer realm
npx -p @reticlehq/terminal reticle-terminal --expect "" --path -- Runs a command-line program and gives a verdict on its output, exit code and files

Roadmap

Direction, not dates. ROADMAP.md has the detail and a tracking issue for each item.

  • General purpose: one proof, every realm. Reticle proves any task an agent does, wherever it acts. Today it reads the browser, Electron and Tauri apps, and any desktop application. A backend realm (requests, logs, queries, jobs) and a CLI session come next.
  • Realms that talk to each other. One verdict over several realms ("the click in the page wrote this row, and the desktop app shows it"), and saved flows whose steps cross realms.
  • The computer realm, for every task. Choose the accessibility tree, the pointer or a screenshot for each step, close the gaps that OSWorld finds, and bring the HUD to Windows and Linux.
  • A zero-install tier, more state adapters, and a sharper failure capsule: the first divergence and the exact file:line.
  • Verifier honesty, always: a green never rests on evidence it does not have.
  • Mobile and native (React Native, Flutter, iOS, Android) are being explored, and deliberately not promised.

The open-source tool, the Harness, and the dashboard

The open-source tool is the full verify loop, on your machine. It is the SDK in your app, the local daemon, the MCP tools your agent calls and the HUD in the corner of your page. The HUD shows the agent's actions, every verdict, the saved flows and the notes you pin on the page. It needs no account, and nothing from your app leaves your machine.

The Harness drives the app for you. Describe a person and a journey ("a returning customer reorders and pays"). The Harness drives it in your browser and verifies each step. It saves what it drove as flows that replay with no model. Your agent spends one call instead of a context full of snapshots. The Harness decides on the Reticle platform. A new account gets free credits, and a card starts a 14-day trial with 500 credits. Start it from Run Harness in the HUD on your running app, or tell your coding agent to call reticle_verify { action: "explore", persona: "…" }. You watch it live in the HUD ("Reticle Harness is driving"). You can stop it mid-run from the same panel; see docs/autodrive.md.

app.reticle.sh is the dashboard. Run reticle connect in your app and sign in. Everything your machine verified then syncs automatically, whichever agent drove:

  • every run, with what was checked, what held, and who drove it (your agent or the Harness)
  • the bugs Reticle caught, to triage, assign, and push to GitHub
  • saved flows, Reticle Coverage (routes reached, controls proved), and the notes people pinned in the HUD
  • a team view of all of it, and a shareable proof link for any run

The open-source tool never needs the dashboard. The dashboard shows a team what its agents and the Harness verified. To test an app on your machine, start from Run Harness in the HUD or from your coding agent.


Community

Join the Reticle community on Discord

We build Reticle in the open, and its users decide what we build next. Come say hello and tell us what you verify.

Everyone here follows the Code of Conduct.

Contributors

Star history

If Reticle catches a bug for you, ⭐ star the repo. Stars are the main way other developers find it.

Docs

docs.reticle.sh — a page per tool, a page per command, every example captured from a real run.

Quickstart · Frameworks · Troubleshooting · Architecture · Contributing · Docs for agents · SKILL.md · Roadmap · Changelog

License

Every npm package is Apache-2.0: the SDK, the adapters, core, engine, the server and CLI, init and the spec runner (@reticlehq/test). Use them anywhere, including inside the apps that you ship. The reticle-tauri crate is MIT.

LICENSE has the details.

dev-only · localhost-only · your app data stays local

Frequently asked questions

Is reticle free to use?

reticle is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does reticle do?

Proof for what your AI agent does. Reticle drives the real app, in the browser or on the desktop, and returns pass, fail or cannot tell, with the evidence.

What is reticle written in?

reticle is primarily written in TypeScript. Its source is publicly available at https://github.com/reticlehq/reticle, and it has 1,338 GitHub stars.