Context engineering

codex-context-diet

@konstantinosbotonakis2TypeScriptNOASSERTIONupdated 2026-09-19runnable

Codex plugin: Jev-guided dieting of bulky tool results

konstantinosbotonakis/codex-context-diet

Where it calls Jev

export const SYSTEM_ONE_URL = 'https://api.typesafe.ai/v1/systemone';

src/request.ts:3

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 tests/failure.test.ts:27

  1. pingtrue/false

    This model is reachable

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: {
    ping: { type: 'boolean', instructions: 'This model is reachable' },
  },
});

from tests/provider.test.ts:72

  1. atrue/false

    is it up

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: {
    a: { type: 'boolean', instructions: 'is it up' },
  },
});

Other projects in this category