Skip to content

Jev directory

Pi Jev Browser

A browser and macOS desktop agent for pi: Jev picks each action from structured observations of visible text and addressable controls — never screenshots — inside a bounded loop that stops when stuck or hands control back to a human.
Stars
1
Language
TypeScript
License
APACHE-2.0
Reading time
2 min
Published by
Community
Author
laihenyi
Last verified
Oct 2026

Highlights

  • Seven of eight tools drive an isolated Playwright Chromium; the eighth, jev_desktop, drives one macOS app through its accessibility tree with the same guards.
  • src/loop.ts depends on a Driver and imports no Playwright, so the browser, the desktop and an in-memory test driver are interchangeable.
  • Runs default to 20 steps (maximum 60) with a 100-second deadline; optional minProbability gates the chosen answer's calibrated probability, not confidence.
  • Needs a TypeSafe key via TYPESAFE_API_KEY or typesafe.apiKey in pi-jev-browser.config.json; a missing key fails before Chromium starts.
  • A 22-scenario capability suite across four tiers measures the loop; automatic operations are click, replace text, native dropdown, scroll and short waits.

Quickstart

bash
pi install npm:pi-jev-browser
export TYPESAFE_API_KEY=...

Watch out

Copy reviewed against the truncated README on 2026-10-15; the final section cuts off mid-sentence. Install pulls in Chromium (~150 MB), and the 22-scenario suite's measured results were not reproduced here.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai