jev-browser
Browser automation where an LLM plans and Jev decides.
Unofficial project, not affiliated with TypeSafe. It calls the TypeSafe System One API
with your own API key.
The calling LLM (Claude, via MCP) says what outcome it wants, one step at a time, and hands
over any text to type. For each round of a step, code describes the page. Then one ~300 ms
Typesafe System One request asks Jev several questions at once:
which element, which action, which value, and is the step done / blocked / showing an error /
about to do something irreversible. Playwright performs the action. The LLM never reads page
snapshots unless it chooses to take over.
Claude ── browser_do("Log in", {email, password}) ──▶ jev-browser
│ loop until done / stuck / needs confirmation
│ 1. settle (network + DOM quiet)
│ 2. describe (elements, labels, state, visible text, diff, counts)
│ 3. Jev (done? error? irreversible? tool? target? value?)
│ 4. act (Playwright)
Claude ◀── { status: "done", url, actions[], done_score } ─┘
https://github.com/user-attachments/assets/2e688df9-4985-4854-8ebe-ba97c9d13d68
With WebMCP, a page offers its own tools. Jev
chooses between those and the page's buttons, and fills each argument by picking one of the
caller's values (text: values.g1 → "milk"), never by writing text:
https://github.com/user-attachments/assets/fe309fb8-aada-4187-a91e-f18493a39526
Jev only answers with probability distributions: yes/no (noul), pick one option (choice)
or a rating (score). It never writes text. So everything free-form comes from the caller as
candidates, and code turns disagreement or low confidence into a status the LLM can act on.
Results
42 tasks in 16 categories on live sites (see RESULTS.md):
- 40/42 correct in the latest run, 0 false "done" claims (38/41 twice before the latest
fixes). Remaining misses: counting ("add until 3", flagged
likely_done) and verifying a sort.
- ~300 ms per Jev call, 2–4 calls for most steps; a 5-step checkout takes ~14 s end to end.
- Pause before irreversible actions: across ~200 rounds it flagged only saucedemo's
"Finish" (place order) button.
- Less page content for the LLM than a Playwright-MCP-style loop on the same tasks
(estimate): median 5× per task, ≈8k vs ≈557k tokens in total. Big pages dominate the total:
a Wikipedia article is ~149k snapshot tokens. On tiny pages there is no saving. The page
reading moves to Jev.
Works on: forms, native and custom dropdowns, checkboxes and radios (including styled
replacements), dynamic loading, modals, JS dialogs, hover, right-click, drag and drop, key
presses, file upload, iframes, shadow DOM, new tabs, pages with 2,000+ elements (two-stage
selection), and non-English UIs.
Known limits, so write steps around them:
- Ordered sub-goals in one step ("add two todos, complete one, clear completed") → split
into one outcome per step.
- Open-ended goals ("scroll to load more") → make them measurable or check yourself.
- Judgements that compare many values (is this table sorted, did exactly one thing change)
→ verify with
browser_check or browser_snapshot.
Quick start (Claude Code plugin)
/plugin install jev-browser --marketplace Ying-Kai-Liao/jev-browser
On older Claude Code versions, add the marketplace first:
/plugin marketplace add Ying-Kai-Liao/jev-browser
/plugin install jev-browser@jev-browser
Claude Code then asks for your TypeSafe API key (or an OpenRouter key), which goes to its secure credential store. It
also offers two optional settings: show the browser window, and a persistent profile directory
so that logins survive restarts. The plugin runs the MCP server below, pinned to the same
version, and adds a skill that teaches Claude how to write steps and handle each status. The
first browser call downloads Chromium for Playwright if it is missing (one time, about 30 s).
Data: see Privacy. Page content goes to the TypeSafe API (or OpenRouter); passwords and other
secrets you pass in values don't.
Quick start (MCP, from npm)
npx playwright install chromium # once (the server also does this on first use)
claude mcp add jev-browser -e TYPESAFE_API_KEY=your-key -- npx -y -p jev-browser jev-browser-mcp
Any MCP client works the same way: command npx, args -y -p jev-browser jev-browser-mcp,
env TYPESAFE_API_KEY. Add JEV_BROWSER_HEADED=1 to watch it work.