What it is
A small autonomous agent that plays Pokémon Red on a PyBoy emulator. It is aimed at developers exploring TypeSafe Jev as a decision model for game or agent loops.
How it uses Jev
Each turn Jev reads a text snapshot (dialog, walkability map, room map, nearby objects, party/bag/battle state, memory) and answers a goal Choice plus 8 atomic action Nouls for menus and battles. Code turns the strongest, safest answer into button presses.
Primitives:choicenoul
Technique worth stealing
Jev has no vision and no conversation history, so the harness rebuilds a self-contained text snapshot every turn and does the remembering.
Try it
uv sync, add TYPESAFE_API_KEY and a Pokémon Red ROM, then uv run jev-plays-pokemon.
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.91
- Shows a System One patternyes0.81
- Handles uncertaintyno0.04
- Measuredno0.08
- Runnableyes0.74
- Worth recommendingunclear0.59
- Model replicano0.03
- Problem scopescore on a 0–2 scale0.02
- About Jevyes0.98
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.