Games & simulation

jev-drone

@RomanSlack79PythonMITupdated 2026-09-17runnable

Camera-only autonomous drone in MuJoCo with a small judgment model (TypeSafe Jev) in the loop at 2.5Hz

RomanSlack/jev-drone

Where it calls Jev

from typesafe_sdk import TypeSafeClient, Choice, Noul, Score

tactics.py:12

The link points at the commit we read, so the line number still holds.

What it asks Jev

These question sets are lifted from this project's source exactly as written.

from tactics.py:65

  1. riskscore

    How dangerous is the drone's immediate situation?

    • 0clear and open
    • 1tight but manageable
    • 2about to hit something

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    risk: { type: 'score', instructions: 'How dangerous is the drone\'s immediate situation?',
      criteria: ['clear and open', 'tight but manageable', 'about to hit something'] },
  },
});

from tunnel_tactics.py:54

  1. riskscore

    How close is this aircraft to hitting something?

    • 0open tunnel
    • 1must commit to a move now
    • 2impact unavoidable

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    risk: { type: 'score', instructions: 'How close is this aircraft to hitting something?',
      criteria: ['open tunnel', 'must commit to a move now', 'impact unavoidable'] },
  },
});

Other projects in this category