Optic

Optic

a browser built for AI agents

Optic

Optic

a browser built for AI agents

Built withNode.jsHeadless browserMCP

What it is

Optic is the browser my AI agents use. One call opens a page and returns a short text summary, the clickable parts, and any problems it found, so an agent does not have to read screenshots to know what is on screen.

Why I built it

Giving an agent a normal browser meant hundreds of screenshots and a huge bill in tokens, and one-off scripts that each redid the same login. Optic does the common things in one cheap call.

Features

LookHeadings, controls and automatic problem checks in one reply.

ActClick through a flow and prove that a save really worked.

ComparePut two pages side by side with a diff.

Saved loginsSign in once, reuse everywhere.

ResponsiveCheck a page at every width at once.

CrawlSweep a site for broken links and errors.

Scheduled checksRe-run saved flows and warn when one fails.

How an agent uses Optic
Fig. 1 • How an agent uses Optic

How it works

Optic is a service in a container with its own headless browser. Agents call it as tools. A session keeps the page and login alive between calls, and a step can target an element by name, text or reference.

The automatic checks find sideways scroll, broken images, cut-off text, small tap targets, unlabeled fields and low contrast. A flow can require that the page really sent a request and got a success, then reload and read the value back. That catches a Save button that says Saved while the server says no.

Kept cheap

Replies are quiet by default: after a clean step there is just a pass line. Screenshots come back as sharp PNGs capped in width, and tall pages arrive in slices. An activity page shows every call with a rough token cost, so a runaway session is easy to spot.

Where it stands

Live and used for every browser task on the server, including checking this page.

Most of what an agent needs from a page is text, not pictures.