# How Jev browser agent cuts 1,092 calls to 101

> Published 2026-11-29T13:03:58.400Z on https://youblog.app/p/how-jev-browser-agent-cuts-1-092-calls-to-101/
> Source video: https://www.youtube.com/watch?v=zac3kEUwIlg

A Jev browser agent pairs Jev, a classification model from TypeSafe, with a harness such as jev-ultrafast and a planner such as Claude Code. Jev answers two typed questions per step and returns a confidence score, which keeps most clicks fast and cheap.

## How does a Jev browser agent actually work?

A Jev browser agent works by converting each page into a numbered list of interactable elements, then asking Jev which typed operation to apply and which element to apply it to. The harness executes the chosen script; Jev never emits a selector, coordinate or JavaScript string.

[Jev](https://typesafe.ai/) is a classification and judgment model from TypeSafe, the company founded by Diogo Almeida. Almeida worked at OpenAI before founding TypeSafe, and 36Kr reports his involvement in instruction-following and chat training work there. The model cannot chat or write text. It accepts a state (text such as the numbered element list) plus a question, and returns one option from the set you define, with a probability and confidence.

The harness is usually [jev-ultrafast](https://github.com/browser-use/jev-ultrafast), the open-source library from the [Browser Use](https://browser-use.com/) team, or Playwright, Microsoft's browser automation library. The harness builds the element table, sends the classification questions, receives the answer, and runs the matching code path.

This split is why the loop is fast. There is no screenshot to encode, no prose response to parse, and no full-context model call for each ordinary click. Jev answers a fixed question about data that another program has already structured.

## What two questions does Jev answer on each page?

Jev answers two choice questions in a single call per page state: which operation to perform, and which numbered element to perform it on. The operation set is small and typed, which is what allows the harness to map the answer straight onto executable code.

The operation vocabulary covers CLICK, TYPE_TEXT, SELECT, SCROLL_UP, SCROLL_DOWN, WAIT, DONE and BLOCKED. Only operations that the current page state supports are offered to the model. The element question includes a none-of-these option so the agent can decline to act.

The response carries a confidence value for each answer. The runner compares both against an acceptance threshold, and 0.7 is the figure Simon Scrapes used in his 8 October 2026 walkthrough. When both answers clear the threshold, the harness executes the action and waits briefly for the page to settle before collecting a new element list.

Text entry is the exception. Jev can choose the input box, but it cannot write the content. The text comes from the original goal when it is already specified there, or from Claude when it must be composed.

## Jev vs a vision-based browser agent

A vision-based browser agent reads a screenshot and asks a language model to describe the next action, while a Jev browser agent reads a structured element table and asks a classifier to pick from a fixed list. That single difference in input and output shape drives most of the gap in latency and token cost.

| Dimension | Jev browser agent | Vision-based browser agent |
| --- | --- | --- |
| Input per step | Numbered element table | Screenshot or full page text |
| Output per step | Option index plus confidence | Prose that must be parsed |
| Model role | Classification only | Reasoning and generation |
| Typical step cost | Small classifier call | Full model call |
| Text writing | Delegated to Claude Code by the same model |
| Main failure mode | False DONE, iframes, short memory | Slow loops, parsing errors |

Latency figures depend on the harness, the site and the model endpoint. Scrapes described clicks decided in roughly a third of a second in his demo, and Browser Use reported a Zurich to London Google Flights search that completed in 7.1 seconds at a cost of $0.0039, with median Jev latency around 178 milliseconds. Those are first-party Browser Use results from September 2026, not an independent benchmark of all browsers or all tasks.

## Where Claude fits in the loop

Claude handles planning, text generation and final verification, while Jev handles the high-volume per-step decisions. TypeSafe itself describes Jev as weak at reasoning and writing, which is why the two models are used together rather than interchangeably.

The loop runs in a fixed order:

1. Claude, or Claude Code, turns the user goal into a plan and defines the question set and executable scripts.

2. The harness reads the page and builds the numbered element table.

3. Jev answers the operation and element questions against that state.

4. The harness runs the matching script, or escalates to Claude when confidence is low, the agent reports BLOCKED, or text must be written.

5. Claude verifies completion when Jev reports DONE, because the Browser Use documentation states that DONE requires an independent verification check.

Two figures show the cost effect. Free-tier input pricing for Jev was reported at about $0.04 per million tokens with output free, and Browser Use's own documentation recorded the Google Flights run dropping from 1,092 browser calls to 101. Treat the call count as Browser Use's reported result for that specific flow.

## How to build one with Claude Code

You can build a working Jev browser agent from a plan and prompt in Claude Code, because the skill teaches the model how to word and batch the classification questions Jev expects. Scrapes reported a first build in about 20 minutes using an Opus model.

Two setup items matter. You need a TypeSafe API key, and you need the Jev skill so Claude batches the questions into one call and phrases them as valid options. Without the skill, Claude tends to write open-ended prompts that waste the classifier's strength.

Practical steps:

1. Store the TypeSafe key in an environment file and keep it out of version control.

2. Install jev-ultrafast or Playwright as the browser layer. Scrapes used jev-ultrafast to skip Playwright setup.

3. Write a plan that names the target site, the goal, the operation set and the acceptance threshold.

4. Let Claude Code build the runner, then test it on one flow before scaling to several pages.

5. Add explicit handling for consent banners and a Claude check before accepting any DONE signal.

Scrapes built a demo that visited SaaS pricing and blog pages and captured screenshots, and he credited a Twitter post by Omar as the starting idea.

## Where a Jev browser agent breaks

A Jev browser agent fails on consent banners, iframes, file uploads, false DONE signals and long multi-step goals, and each failure needed extra questions or design changes in Scrapes's testing. The pattern is not magic, and the demo looks cleaner than the debugging does.

- **Cookie and consent banners.** The agent stalls unless you add a yes-or-no recognition question and a script that presses accept when the answer is yes.

- **Iframes and uploads.** Playwright cannot see inside embedded frames, so payment forms and embedded sign-up forms stay invisible. The Browser Use documentation lists these as out of scope for now.

- **False DONE.** In one test that asked for 10 blog posts across four AI search visibility sites, the run reported 10 pages complete in 77 seconds while only one or two were actual blog pages. This is exactly why Claude should verify the output against the goal.

- **Short memory.** The agent only sees the last five actions, so a 39-step task loses the thread. Keep goals short and chain them page by page.

Typed output reduces parsing risk but does not remove the need for verification. The confidence score tells you how sure Jev is about an option, not whether the option was right for the user's goal.

## FAQ

- **Is Jev a replacement for Claude?** No. Jev is a classification model that returns an option and a confidence score, and TypeSafe describes it as poor at reasoning and writing. Claude still plans the task, writes text and verifies results.

- **Does a Jev browser agent use screenshots?** No. The harness converts the page into a numbered table of interactable elements and passes that text to Jev, which is a large part of why the loop is fast.

- **What does jev-ultrafast do?** jev-ultrafast is the Browser Use team's open-source browser layer that builds the element table, sends the typed questions to Jev and executes the chosen operation, so you can skip setting up Playwright yourself.

- **Why does the agent sometimes say it is done when it is not?** Jev reports DONE from local page state and does not know the original goal was met. Send the result back to Claude for an independent check before trusting the completion signal.

[Source video](https://www.youtube.com/watch?v=zac3kEUwIlg)
