npm.io
2.1.0 • Published 3d ago

@reticlehq/browser

Licence
Apache-2.0
Version
2.1.0
Deps
2
Size
611 kB
Vulns
0
Weekly
0
Stars
173

@reticlehq/browser

Browser SDK for Reticle — the proof layer for AI agents, embedded in your running web app. Embed it (dev only); it instruments the DOM, network, routes, console, animations, and scroll, and answers the agent's look/act/observe commands over a local bridge.

npm i -D @reticlehq/browser
import { reticle } from '@reticlehq/browser';
if (import.meta.env.DEV) reticle.connect({ session: 'my-app' });

// surface non-DOM events too:
reticle.signal('webhook:received', { provider: 'stripe' });

Pair with @reticlehq/server (the bridge + MCP server) and optionally @reticlehq/react for component/source mapping. See the main README for the full picture. Dev-only, localhost-only by default. MIT.

Keywords