ReVyval
a local, vision-first computer agent / case study
Overview
Problem: computer agents are paid and remote.
ReVyval is a free, self-hosted alternative. A vision model reads screenshots of a real browser, decides what to do next, and clicks and types through the operating system like a person. Everything runs at home: a Mac mini plans and serves the vision model, and a used HP Z840 workstation runs the browsers and a second model on its GPU.
Objective
How might a computer agent see the screen and act on it using only free, local models?
How it works
See, find, decide, act
1: See
Take a screenshot of the browser.
2: Find
Locate buttons and fields, zooming in when the target is small.
3: Decide
The model picks one action.
4: Act
Move the mouse and click or type at the operating-system level.
Three pieces, all at home
Browser farm
- Each session is a Docker container
- A real Chrome with a virtual display
- Several run side by side on one workstation
Real input
- Clicks and keys go through the OS
- No browser-automation library
- Pages behave exactly as they do for a person
Control panel
- Every session visible live
- Step in from my phone
- Logs for grading every step
Choosing a model
Small open models, measured honestly
I built a benchmark from real screenshots to compare open vision models on the two jobs an agent needs: reasoning about what to do, and pointing at the right pixel.
Grading the agent
The agent wasn’t stuck. It was giving up.
After an overnight run of 2,387 real steps across 92 tasks, I checked each outcome against its screenshots. About a quarter of the automatic labels were wrong. Most failures I’d logged as loops were the agent abandoning tasks it could have finished.
- 20 evidence-backed fixes for the next run, ranked by impact
- A 246-example training set with a frozen, held-out test split
- Harness fixes verified by a test suite of about 800 tests
Takeaways
01
Check the units before the model
The model I’d nearly written off was the best one; I was reading its answers in the wrong units.
02
Look at the screenshots
Automatic labels said the agent looped. The screenshots said it gave up. Only one of those leads to the right fix.
03
Test the idea that sounds right
Splitting reasoning from pointing seemed obvious. Measured, it made things worse.