DEV Community

Junfeng Zhou
Junfeng Zhou

Posted on

What we changed to make a browser agent usable for work that matters

Browser agents demo well, then struggle with the work people actually care about: the bill payment, the vendor portal, the long form where one wrong click costs you. We build Runbook AI, a Chrome extension agent, and these are the four changes that made the biggest difference.

1. What the model sees. Each step gets a simplified page with stable element IDs and a token budget, plus layout hints for virtualized and lazy-loaded lists. On a 180-row lazy grid the agent read 24 rows before that change and all 180 after.

2. Reasoning before action, enforced. Every step is one structured tool call whose fields come in a fixed order: what it observes, the plan, what to remember, a reason for each call, and only then the action. The model has to think before it clicks.

3. A human in the loop who can actually act. You see each step as it happens in the side panel. You can pause between steps to log in or solve a captcha yourself, or stop it and type a correction, and it carries on with what it learned. It asks before payments, messages and deletes, and it waits on logins and unknown form values instead of guessing.

4. Runs that turn into runbooks and skills. A run that went right can be saved as a runbook with parameters (a city, a price limit, a date) and rerun with new values. After each run you can ask it to improve the runbook and review the suggested change. What the agent learns about a site becomes a skill, sometimes the site's own data API called with your signed-in session. On YouTube transcripts that took runs from 0 of 5 completed to 3 of 3.

Numbers, with their labels. Self-run on WebArena-Lite (134 non-map tasks, one attempt, WebArena's own graders): Gemini 3.8 Flash scores 54% raw, 65% after re-running the shopping tasks whose login dropped. We are also distilling a 9B open model (Qwen3.5-9B) from frontier teachers on real agent trajectories; it scores 61.7% on the same set. For reinforcement learning we needed sites that reset instantly, so we rebuilt the WebArena sites as small SQLite-backed servers and open-sourced them as websandbox. Early GRPO runs show +7.8 points on held-out task templates, with a long way to go.

Where it is weak. Tasks that span several sites are still poor (0 of 5 in our tests), and stop-and-ask is a rule the agent follows, not a hard block in code.

For coding agents. It also runs as an MCP server, so Claude Code can hand a whole web task to your logged-in Chrome and get a short result back instead of a page dump.

It is free to start with no API key, or you can bring your own key (OpenAI, Anthropic, Gemini, Ollama, any OpenAI-compatible endpoint).

Install Runbook AI from the Chrome Web Store: https://chromewebstore.google.com/detail/runbook-ai/kjbhngehjkiiecaflccjenmoccielojj?utm_source=devto&utm_medium=post&utm_campaign=launch-1-55

I would like to hear which task you would trust a browser agent with first, and where it breaks for you.

Top comments (0)