
jev-browse
You give jev-browse a goal and a start URL, and it drives Chrome until the goal
is done or it's stuck. On each step, TypeSafe's Jev
reads a numbered table of what's on the page and picks one operation and one
row. It never writes selectors, coordinates, or code, so every target it can
name exists. A small LLM only runs for TYPE_TEXT, to write the text.
Here it searches Google Flights for one-way flights from Zürich to London, at
real speed. The bar at the bottom captions each action as it runs.

MP4 · The run loop · The recorder
That run took 14,586 ms and 11 actions, counted from the first page
observation, model calls and page loads included. It ends on a CHF results page
for Saturday, December 26, 2026. The video is timed from CDP frame timestamps
and holds the last frame for 2.5 seconds.
Install
You need Node 22 or later and Chrome. The repo root is an
Agent Plugins package (plugin.json, mcp.json,
skills/), so each harness installs it its usual way:
| Harness | Install |
|---|
| Pi | pi install git:github.com/0x7067/jev-browse (registers the jev_browse tool and skill) |
| Claude Code | claude plugin marketplace add 0x7067/jev-browse, then claude plugin install jev-browse@jev-browse |
| Codex / ChatGPT | codex plugin marketplace add 0x7067/jev-browse, then codex plugin install jev-browse |
| OpenCode | opencode plugin add github:0x7067/jev-browse (native jev_browse tool, so remove any browser MCP entry) |
| Any MCP client | stdio command npx -y -p github:0x7067/jev-browse jev-browse-mcp |
| CLI only | npm install -g github:0x7067/jev-browse, or npx -y -p github:0x7067/jev-browse jev-browse |
All of these run bundled/, a committed esbuild bundle with the SDK inlined.
Nothing gets built or npm installed on your machine.
JEV_PROVIDER=... # typesafe or openrouter; defaults to openrouter when its key is set
TYPESAFE_API_KEY=... # console.typesafe.ai/settings/keys
OPENROUTER_API_KEY=... # openrouter.ai/settings/keys
TYPESAFE_MODEL=jev-latest # default
TEXT_MODEL_API_KEY=... # needed for TYPE_TEXT and written answers
TEXT_MODEL_BASE_URL=... # any OpenAI-compatible endpoint
TEXT_MODEL=... # e.g. inception/mercury-2.5 on OpenRouter
ANSWER_REVIEW_MODEL=... # optional; defaults to anthropic/claude-opus-5.5 on OpenRouter, else TEXT_MODEL
JEV_AB_PROFILE=... # optional agent-browser profile dir (default ~/.jev-browse/agent-browser-profile)
Keys come from the environment first, then .env in the package root, then the
client's plugin-data directory (PLUGIN_DATA or CLAUDE_PLUGIN_DATA), then
.env in the current directory. The plugin-data lookup exists because MCP
servers started by a GUI app don't inherit your login shell. .env.example
lists every variable.
Run it
jev-browse --url https://www.google.com/travel/flights?hl=en \
--goal "Find one-way flights from Zurich to London on December 26, 2026, \
for one adult in economy. Stop when matching flight options are visible." \
[--engine cdp|agent-browser] [--headed] [--cdp http://localhost:9222] \
[--max-steps 60] [--expect JSON] [--stop-at-challenge] [--trace FILE]
Step events stream to stderr as JSONL, and stdout gets only the final result
JSON. Exit code 0 means done, 2 means any other RunResult status (blocked or error), and 1 means the run threw before returning a result.
The MCP server (node bundled/mcp.mjs, stdio) exposes one tool, jev_browse,
with the same inputs. The OpenCode plugin registers that tool natively and runs
the bundle in a node subprocess, because OpenCode's sandbox can't import files
outside the plugin directory. If you'd rather use MCP there:
opencode mcp add browser --global -- npx -y -p github:0x7067/jev-browse jev-browse-mcp.
Start URLs must be http or https. Page text goes to outside model APIs, and
a file:// URL would send your local files with it. Tests opt in with
--allow-file-urls or JEV_ALLOW_FILE_URLS=1.
What the model sees
Every observation builds a fresh table:
[1] button Change ticket type · Round trip
[2] combobox Where from? · San Francisco
[3] combobox Where to? · empty
[4] textbox Departure · empty
...
The operations are CLICK, DOUBLE_CLICK, TYPE_TEXT, SELECT,
SCROLL_UP, SCROLL_DOWN, WAIT, DONE, BLOCKED, HOVER,
CONTEXT_CLICK, DRAG, GO_BACK, GO_FORWARD, and PRESS_* for Enter, Tab,
Escape, Backspace, Delete, the arrows, Home, End, PageUp, PageDown, and Space.
Key presses are real key events, so Enter-to-submit forms and command palettes
work.