Skip to content

Pacman AI Race

Browser Pac-Man race where a deterministic three-junction simulation filters fatal routes, then Jev makes one typed Choice among the surviving route IDs while the server rejects any answer outside the supplied set. Self-hosted Laya runs the same contract for comparison.

Stars
0
Language
JavaScript
Published by
Community
Last verified
Oct 2026

About this project

A browser-based maze chase experiment that runs TypeSafe AI's hosted Jev and self-hosted Laya side by side. Both pilots start from the same maze and receive the same full-board state and typed route choices. Each column exposes its own score, selected route, candidate probabilities, confidence, latency, metrics, and decision log. Requirements: Node.js 20 or newer. Python 3.10 or newer is required only when running Laya locally. Open .env and configure the providers you want to use:

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

Languages
JavaScript
Platforms
Browser
Capabilities
Open sourceRequires API key

Highlights

  • Searches three junction decisions ahead with up to 240 nodes and filters simulated-fatal routes whenever any full-horizon survivor exists
  • Server-side validation rejects model output that is not one of the supplied route IDs; the game never substitutes a local safety route
  • Same maze, ghost seed and simulation clock for both pilots, so provider latency does not change the underlying ghost strategy
  • Ships an offline benchmark that reports clears, deaths, decisions and forecast mismatches for both policies with no credentials
  • Built on TypeSafe's official @typesafe-ai/sdk with separate Jev and Laya provider adapters; Node.js 20+ required

Watch out

No license file, so all rights reserved by default. The repository description is empty, it had 0 stars at verification, and the Laya comparison needs a separate self-hosted server.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Jev driving real Chrome from Grok Bot

X: jev-browser, a general browser skill

X: A second-hand shopping agent

X: A job crawler that reads careers pages with Jev

Related terms

Glossary definitions related to this entry.

More Jev resources like this

4GitHub stars
A Craftax (Crafter) survival harness where deterministic code lists every feasible action with its facts and Jev picks one Choice per step, optionally guided by an LLM-written objective and standing rules; three-seed ablations are included.
Jev Demos & Experiments#community#craftax#games
2GitHub stars
Fixed-wing landing simulator where a human can compete against Jev: four Jev Choice decisions map to aileron, elevator, rudder and throttle commands in JSBSim, run in real time. The benchmark also compares Jev, classical controllers and Codex models on landing score and API cost.
Jev Demos & Experiments#community#simulation#aviation
0GitHub stars
Three.js simulation where an OpenAI model turns each plain-language instruction into a plan and Jev makes every reflex decision: two Score questions for move and turn plus one Noul for jump, with code acting only past a 0.33 dead zone and sending no Jev request while no step is active.
Jev Demos & Experiments#community#threejs#simulation
29.3kGitHub stars
The Cua computer-use platform documents a jev-use recipe where TypeSafe Jev picks bounded action IDs and Cua Driver executes clicks and fills in the browser.
Jev Demos & Experiments#community#browser#computer-use
A Mineflayer agent for Minecraft Java 1.16.5 where a planner sets the objective and Jev picks the next bounded action from game observations.
Jev Demos & Experiments#community#javascript#gaming
127GitHub stars
A completed Pokémon Red run: Jev picked menus, catches, and moves from RAM, and the harness handled pathfinding. The public page records the Hall of Fame stats.
Jev Demos & Experiments#community#games#javascript

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