๐๏ธ Agent Eyes
Your agent can read the internet. It still can't see it.
Agent Eyes gives an AI agent real vision โ screenshots it can actually look at,
the design system pulled out of the live CSSOM, every icon and asset, and the UI
broken into parts. On any website, and on your own screen.
jumpsy.github.io/agent-eyes
ยท
Install
ยท
When a page fights back
ยท
Uninstall
agent-eyes see https://astro.build --intent design โ one of the eight screens it wrote
---
## Install
```bash
git clone https://github.com/Jumpsy/agent-eyes.git
cd agent-eyes
./install.sh
```
That is the whole thing. It builds a virtualenv inside the folder, so nothing
touches your system Python and deleting the folder uninstalls it completely.
Then:
```bash
agent-eyes doctor # what this machine can actually see and do
agent-eyes setup # grant Screen Recording โ the one permission it needs
```
`setup` does not tell you to go find System Settings. It opens the pane itself,
names the one row to switch on, and waits until it can prove the permission
works by taking a real screenshot with it. Screen Recording is the only thing it
ever asks for โ Agent Eyes cannot send input, so it has no use for Accessibility
and never requests it.
## The problem
Every research tool an agent has returns **text**. Markdown, JSON, transcripts.
Point an agent at a product and ask "what does this look like, how is it built" โ
it gets a wall of prose. It has never seen the thing.
That is a hole in the middle of every design, competitive-research, and
UI-cloning task an agent is asked to do.
## What it does
```bash
agent-eyes see https://linear.app
```
One command returns a directory the agent can actually read:
```
linear.app/
โโโ manifest.json # index โ start here
โโโ design.json # palette, type scale, spacing, radii, shadows
โโโ screens/ # full-page + viewport, each breakpoint ร theme
โโโ components/ # cropped nav, hero, buttons, cards, forms
โโโ assets/ # logos, favicons, SVG icons, images, fonts
โโโ states/ # hover, focus, open menus, modals
```
components/ โ 6 of the 23 it cut out of that page
Screenshots land on disk as PNGs, so an agent with a file-reading tool can
**look at them** โ full-page shots also come as downscaled slices, because a
2880ร21796 PNG is not something a model can take in. Design tokens come out of
the live CSSOM, not guessed from a picture, and they survive cross-origin
stylesheets that browsers refuse to expose to the page.
## Download anything โ then check what arrived
```bash
agent-eyes get https://example.com/pack.zip --out ./assets
agent-eyes scan ./assets
```
Getting the bytes is the easy half. Every file Agent Eyes downloads is
inspected before it is handed over โ what it really is versus what it claimed
to be, executables in disguise, SVGs carrying script, macro documents, archives
that write outside the folder you unpack them into, plus clamav when the machine
has it. Anything dangerous is renamed `.quarantined` and stripped of execute
permission rather than deleted.
## See the screen, not just the web
```bash
agent-eyes screen --grid # screenshot with a labelled coordinate overlay
agent-eyes record --seconds 8 # film the screen, then split it into frames
agent-eyes describe shots/*.png # a local vision model summarises them, free
```
--grid โ fine lines every 100px, a heavy labelled one every 500, so an agent has something to aim at
For the things a headless browser cannot reach: native apps, logged-in desktop
sessions, whatever you are pointing at. `describe` is there so a local model
does the looking and Claude only reads the summary โ that is the difference
between one screenshot per turn and thirty.
## Acting on what it sees
Agent Eyes only looks. That is deliberate โ plenty of people want an agent that
can see a website without one that can touch their machine, and bundling the two
means granting permissions for a capability you did not ask for.
For the other half, there is a companion tool:
[**Spooky Action**](https://github.com/Jumpsy/spooky-action). It gives an agent
hands on a Mac without giving it your mouse โ it presses elements through the
accessibility layer rather than clicking coordinates, draws a pointer so you can
watch it work, and gives the screen back the instant you move your mouse.
```bash
agent-eyes screen --grid # see it
spooky press Safari 27 # act on it
```
`agent-eyes doctor` tells you whether it is installed.
## It doesn't say no
When a page fights back, Agent Eyes climbs a ladder instead of giving up:
stealth browser โ Cloudflare solving โ real Chrome โ a persistent profile โ
attaching to a browser you already have open โ a shared path where a window
opens and you clear one gate. Every rung is *verified* against the extraction,
because a challenge page returns HTTP 200 all day long.
If it truly needs you, it exits 75 with a concrete suggestion โ a handoff, not
a failure.
## Changed your mind?
```bash
./uninstall.sh
```
It shows you what it is about to delete โ captures, the venv, the symlink โ
waits for a yes, and then names each thing as it goes. The browser engines are
their own question, because that cache is shared with anything else on the
machine that uses Playwright. Add `--yes` to skip both prompts.
Leaving should be as easy as arriving.
## Every command
| | |
|---|---|
| `agent-eyes see URL` | Look at a web page: screenshots, design tokens, assets, UI anatomy. |
| `agent-eyes screen` | Capture the screen โ a display, a region, or a window you pick. |
| `agent-eyes grid IMAGE` | Overlay a coordinate grid on an image so an agent can aim clicks. |
| `agent-eyes record` | Film the screen, then break it into frames you can actually read. |
| `agent-eyes frames VIDEO` | Pull stills out of any video. |
| `agent-eyes describe IMAGES` | Have a local model look at images so Claude does not have to. |
| `agent-eyes get URLS` | Download files, then check what actually arrived. |
| `agent-eyes scan PATH` | Check files already on disk โ one file or a whole directory. |
| `agent-eyes doctor` | What can this machine actually see and do, right now. |
| `agent-eyes setup` | Grant the permissions Agent Eyes needs โ one pane at a time, verified. |
| `agent-eyes models` | See which local models are available, and pick one. |
| `agent-eyes install-browsers` | Download the browser engines Agent Eyes drives. |
`see` takes an `--intent` โ `quick`, `clone`, `brand`, `design`, `responsive`
or `full` โ which picks the capture recipe rather than making you name
breakpoints and themes. Every command takes `--json`.
## Status
Early โ 0.1.0. Building in the open โ see [CHANGELOG.md](CHANGELOG.md).
## License
MIT