Skip to content

Jev directory

CommunityJev Cookbooks

TypeSafe Mario

An experimental controller that has Jev choose NES inputs to play Super Mario Bros. from structured emulator telemetry instead of screenshots, logging every decision with probabilities and latency.
Stars
452
Language
Python
Reading time
3 min
Published by
Community
Author
fhshaik
Last verified
Sep 2026

fhshaik/typesafe-mario

User repository on GitHub

View on GitHub

A TypeSafe/Jev agent that plays Super Mario Bros. from structured emulator state.

Forks
62
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

An experimental controller that lets TypeSafe's Jev model directly choose NES controller inputs for the original Super Mario Bros.

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

Highlights

  • Jev sees object-centric JSON: player motion, trajectory, up to three enemies, terrain, and reaction timing.
  • Each decision mixes a Choice for the next action, a Noul for jump usefulness, and a Score for danger.
  • Decisions are logged to artifacts/run-<timestamp>.jsonl with probabilities, latency, and outcome.
  • The dashboard shows the probability distribution, confidence, Jev latency, danger score, and reward.

Watch out

No ROM is included, so you supply a legally obtained copy, plus Python 3.13 or newer and a TypeSafe API key.

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.

Hacker News: Software Bombe and live Enigma demo where Jev ranks cribs and judges plaintext.

ag_212 pointsShow HN: Jev as the Bletchley Park Analyst: A Software Bombe on EnigmaRead the thread on Hacker News

Hacker News: Show HN for public Minecraft PvP where a diffusion LM picks moves from structured state.

2 pointsShow HN: Minecraft PvP against DiffusionGemma-as-Jev, 24 ms per decisionRead the thread on Hacker News

Hacker News: Show HN: Jev finished a Pokémon Red run, with the Hall of Fame stats on the landing page.

pancomplex272 pointsShow HN: Jev Plays Pokémon RedRead the thread on Hacker News

Hacker News: Show HN: a mouse colony where each next move is Jev or a fixed rule.

1 pointShow HN: Jev-mice – mouse colony simulation using Jev and deterministic engineRead the thread on Hacker News

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