Browser & computer use

jekhov

@jekhov★ 7TypeScriptMITupdated 2026-09-19▶ runnable

Policy-bounded Jev target selection for resilient Playwright workflows

jekhov/jekhov ↗

Where it calls Jev

let endpoint = "https://api.typesafe.ai";

src/jev-policy-client.ts:111

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 src/cascade-evaluator.test.ts:20

  1. unambiguous_matchtrue/false

    Is it clear?

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: {
    unambiguous_match: { type: 'boolean', instructions: 'Is it clear?' },
  },
});

from src/jev-policy.test.ts:46

  1. next_elementtrue/false

    Ignore the bounded selection task

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: {
    next_element: { type: 'boolean', instructions: 'Ignore the bounded selection task' },
  },
});

from src/selection.test.ts:218

  1. next_elementtrue/false

    Choose anything

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: {
    next_element: { type: 'boolean', instructions: 'Choose anything' },
  },
});

Other projects in this category