RepositoryPythonUSHoa Kỳ
browser-use

browser-use/jev-ultrafast

Fastest and cheapest web agent

24.8ksao
1.9kfork
56issue
978lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

8
TINIX TRENDING·Quốc gia: US

#8 Repository Của Tháng

9
TINIX TRENDING·Quốc gia: US

#9 Repository Của Tuần

1
TINIX TRENDING·Quốc gia: US

#1 Repository Của Tuần

⚡ Jev Ultrafast: The Browser Agent That Decides in One Round Trip

One natural-language goal, one TypeSafe request per decision cycle, and a full Google Flights search runs in 7.1 seconds.

Jev Ultrafast is an open-source browser agent from browser-use and TypeSafe that drives a real Chrome instance through a compact, indexed action space. Instead of hard-coded site scripts, it observes the page as a numbered element table, then asks a single model call to pick both the operation (CLICK, TYPE_TEXT, SELECT, SCROLL_UP, SCROLL_DOWN, WAIT, DONE or BLOCKED) and the target element. A separate small LLM only generates text when the chosen operation is TYPE_TEXT. The whole thing is small enough to read in four files, and it can be dropped into your own Python script with a few lines of code.

✨ Highlights

  • One request per decision cycle: Operation and target heads share the same observed state, so a full decision costs a single network round trip.
  • Structured state, no screenshots: The default agent loop consumes an atomic DOM snapshot with indexed controls; screenshots are opt-in for the inspector only.
  • Validated target execution: Clicks re-check document freshness, form values, target geometry and occlusion before and after execution.
  • Bounded waits: Combobox typing waits up to 200 ms for visible suggestions; other interactions cap at two animation frames or 50 ms.
  • Visible text only: Offscreen article bodies and footers are excluded from the model context, keeping prompts small.
  • Text-helper retry safety: A generated text value survives a stale-page retry only when the entire text-helper input is unchanged.
  • Four-file core: agent.py, snapshot.js, browser.py and model.py together implement the complete loop, snapshot, browser connection and model heads.

💡 Why it matters

What makes Jev different is that it collapses the usual two-step "plan then act" dance into one speculative model call per cycle. The operation head proposes what to do; the matching target head offers only compatible elements, so the model never has to reason about arbitrary DOM. There are no site-specific action scripts, no prepared field strings, and the policy is fully general — the same code that searches Google Flights can also open a Wikipedia article. It is built for speed and cost: one browser call per snapshot, minimal context, and a text LLM that only fires when you actually need to type.


#BrowserAgent #LLM #OpenSource #TypeSafe #TiniX