jevbooks

← All projects

jev-plays-pokemon-red

valentynkit/jev-plays-pokemon-red

Pokemon Red on PyBoy: code owns the route, Jev picks at branches.

What it is

A Pokemon Red agent on PyBoy for developers: deterministic Python handles routes, thresholds and arithmetic, while Jev is asked only at game branches to choose among legal actions.

How it uses Jev

At branches, code builds a typed GameState and a menu of legal actions with intent text; Jev returns a probability per action, and the highest is pressed. Routine ticks never call Jev.

Primitives:choicenoul

Technique worth stealing

Ask the model only where the game branches, and score every battle turn's faints_this_turn noul by Brier against RAM.

Try it

uv run jpp play --rom /path/to/your/red.gb --overlay

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricyes0.82
  • Shows a System One patternyes0.85
  • Handles uncertaintyno0.05
  • Measuredyes0.83
  • Runnableyes0.69
  • Worth recommendingunclear0.53
  • Model replicano0.21
  • Problem scopescore on a 0–2 scale0.01
  • About Jevyes0.95

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.