reticlehq/reticle
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.
Reticle is a developer tool that checks whether an AI coding agent's work actually works in your running app. It's designed for the common problem: an agent writes code, says "done," but never opens the app to see if it really works. Reticle steps in as a verifier.
What it does:
- It puts a small, dev-only SDK inside your app. Your coding agent gets tools to look, act, observe, and assert through that SDK.
- It reads what the screen hides: network responses (tied to the click that caused them), your app's real state (e.g., Zustand, Redux, TanStack Query), console errors, request counts, and React renders.
- Every check ends in a verdict:
verified: "yes","no", or"unknown"(cannot tell). The verdict includes the evidence (e.g., the request, state change, console line) and thefile:lineto fix. - It never gives a quiet green: only
yesis a pass. If it can't decide, it returnsunknownwith a reason.
Key features:
- Flows that replay without AI: You can save a journey (e.g., "sign-up flow") and later re-verify it deterministically with one call—no model needed. This prevents today's fix from silently breaking last week's feature.
- CI gate:
reticle gatefails a change that touches a saved flow's code without a new passing run. - Harness (optional, on the platform): Describe a person and a journey; Reticle drives it, verifies each step, and saves what passed.
- HUD in your page: Watch the agent work—every action, verdict, saved flow, and notes you pin.
- Works with many agents: Claude Code, Cursor, Codex, Windsurf, VS Code, Gemini CLI, and anything that speaks MCP. Supports web (React, Next.js, Vue, Svelte, Angular) and desktop (Electron, Tauri).
- Safe to leave installed: Production builds don't 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.
Installation & usage:
- Requires Node 20.11+ and a local dev server.
- Step 1: Run
npx @reticlehq/serverin your app's folder. It finds your dev server (or starts it), opens the app in a Reticle browser, checks the page loads without console errors or failed requests, and prints a verdict. No files are changed. - Step 2: Run
npx @reticlehq/server initto connect your coding agent. It adds the dev-only SDK, registers Reticle with every agent it finds, and writes agent instructions. Use--dry-runto preview changes. - Step 3: Restart your agent, then ask it to verify a flow (e.g., "Verify the sign-up flow with Reticle"). The agent uses tools like
reticle_sessionandreticle_act_and_waitand gets back a verdict with evidence.
Safety & transparency:
- Open source (Apache-2.0), signed builds from CI, no install scripts, OpenSSF Scorecard rated.
- It touches only development builds, your agent's MCP config, and a few config files (appended, never overwritten).
- It never runs arbitrary JavaScript in the page (no "evaluate" tool), never ships in production unless you opt in, and never bypasses permission prompts.
- Passwords, tokens, and card numbers are redacted in captured data.
- You can preview everything with
init --dry-run;--no-mcpskips agent registration;reticle hook uninstallremoves the prompt hook.
In short, Reticle gives your AI agent a way to actually verify its work against the real app, with clear pass/fail/cannot-tell verdicts and evidence you can act on.
Related
- Project
- Project
- Project
- Project
- Project