← Work

tabref

November 2026 to now · open source, Apache-2.0, 0.2.1 · source on GitHub
RustChrome DevTools Protocolnpm

Why it exists

Agents need a way to read and drive web pages from the shell. tabref started inside agent-desktop and was split out into its own repo on 2026-11-15, so each tool ships and is measured on its own.

What it does

An agent opens a page with tabref open and reads a snapshot where each control has a ref (e1, e2). It acts with click, fill or select on a ref or a visible label, and each action waits for the page and prints what changed. tabref do runs several steps in one shell call. It launches its own headless browser, attaches to a DevTools port, or connects to my own running browser with connect --user-chrome, which it never touches unless asked.

It installs with npm i -g @gshost1/tabref, and the command is tabref.

Design choices

Numbers

One demo task, a Wikipedia lookup of the Apollo 11 launch date and crew, 5 runs each with Sonnet 5.5: tabref 0.2.0 passed 5/5 in 7.8 s and 9.9k tokens against 5/5 in 9.9 s and 25.7k for Playwright MCP 0.0.86. It is one task, a demo and not a benchmark.

What it is not

It misses its own release targets. On a sealed set of 10 web tasks that nobody tuning it had seen, 0.2.0 passed 45/50 in 95.3 s with 356k tokens, against targets of 50/50, 90 s and 250k. Four of the five failures were on one task. It works only with Chrome, Chromium and Edge, and it reports bot checks rather than getting past them.