Skip to content

Jev Play Ping Pong

Jev plays the hosted RALLY browser game live: structured telemetry in, typed Choice decisions out, executed through ordinary Chrome input by a dependency-free Node controller that records every decision it made.

Stars
2
Language
JavaScript
License
MIT
Published by
Community
Author
Icohen007
Last verified
Oct 2026

About this project

A small, auditable example of TypeSafe AI's Jev playing a live browser game. Jev reads structured table-tennis telemetry, chooses every serve and return, and moves the visible racket through ordinary Chrome input. ▶️ Watch the 21-second real-time demo.

Quoted from the project's README. Read the full README.

Highlights

  • Each serve picks left, center or right; each return answers two independent Choice questions sent in one request.
  • Code computes trajectory and safe contact geometry but executes only the returned choices, with no scripted fallback policy.
  • One verified Club-difficulty run finished 11-0 across 124 decisions with 0 late actions and roughly $0.0052 in API cost.
  • Every run writes an ignored JSONL artifact with the model state, questions, probabilities, latency, retries and cost.

Watch out

The 11-0 result is presented as one demonstration and explicitly not a benchmark or win-rate claim, and the recorded run is the only evidence shown in the README table. Jev never sees screenshots: it depends on the hosted game's public ?test=1 mode supplying player-visible structured telemetry, and RALLY is a separately hosted artifact that is not redistributed, so its availability and behaviour may change. You need Node.js 22 or newer, Google Chrome, a TypeSafe API key and a manually started Chrome instance with remote debugging on port 9222 and its own user-data directory. A return crosses the table in roughly 0.85 to 0.94 seconds, so real-time success depends partly on end-to-end latency; --pause exists for slow or variable networks. The checked-in price of $0.042 per million input tokens with free output tokens can change, and npm run record additionally needs playwright-cli and FFmpeg for the share-ready MP4. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

30GitHub stars
Side-by-side game harness where Laya running locally and Jev over API answer the same typed questions for snake, kombat, runner, flappy, tetris, and human-versus-model matches.
Jev Demos & Experiments#community#jevbest#catalog-import
21GitHub stars
Browser top-down driving sim that sends sensor JSON to Jev every 200ms with four typed driving questions in one call, then applies confidence gating and reflex rules to steer.
Jev Demos & Experiments#community#jevbest#catalog-import
12GitHub stars
Chrome extension that labels each X post with Substance, Humor, Chit-chat, Promo or Junk plus AI-written and off-topic flags, collapsing hidden posts to one line.
Jev Demos & Experiments#community#jevbest#catalog-import
11GitHub stars
Chrome extension that labels each X post with intent plus rage-bait, synthetic, and undisclosed-ad signals from Jev, with threshold-only rendering and local caching.
Jev Demos & Experiments#community#jevbest#catalog-import
3GitHub stars
Browser agent where Jev makes every navigation decision and agent-browser performs clicks and typing, stopping when the named goal page is reached or blocked.
Jev Demos & Experiments#community#jevbest#catalog-import
Local three-panel playground for trying TypeSafe judgments, with 110 editable examples across 22 categories including A/B comparisons, running one request per Run without bulk automation.
Jev Demos & Experiments#community#jevbest#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

A game tick is a state plus a legal action list. How Clash Royale, Minecraft, and the earlier Mario, Pokémon, StarCraft, and drone loops ask Jev one step at a time.
Jev Demos & Experiments#gaming#agents#control
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai