Skip to content

Jev directory

Jev Plays Flappy Bird

Live demo of Jev playing Flappy Bird: about twenty times a second the game asks one question, flap or wait, and applies Jev's choice exactly as returned — no thresholds, no backup rules, no retries.
Stars
4
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
hosseintoussi
Last verified
Oct 2026
Languages
TypeScript
Platforms
Browser
Capabilities
Open sourceRequires API key

Highlights

  • The game asks Jev one multiple-choice question about twenty times a second: FLAP or WAIT, each option with a short description of when it applies.
  • The snapshot describes the scene — bird position and speed, pipe gap, clearance, words like 'inside the gap, lower half' — and never tells Jev what to do.
  • Answers are applied exactly as returned: no thresholds, no backup rules, no retries; a retried answer would arrive too late to be useful.
  • The game never waits, asking a new question every 50ms with about six in the air; answers superseded by a flap are discarded and logged.
  • Your TypeSafe API key stays on the local server in server/jev.ts, is never sent to the browser, and .env is git-ignored.

Quickstart

bash
npm install
cp .env.example .env
npm run dev

Watch out

Copy reviewed against the repo README on 2026-10-15; the captured README was truncated mid-paragraph about the single response stream. The 'ten times fewer deaths' figure comes from the author's simulation of latency-lead handling, not an independent benchmark, and returned latency depends on your network.

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 picks which Apple HIG guides go into the agent's context. NatashaTheRobot built a small AskHIG CLI and…

X: Three decision models, one game of Snake

X: Diogo Almeida with a16z on Jev

X: Luna plans, Jev plays poker

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