Agent tooling

jev-context

@zbush1JavaScriptMITupdated 2026-09-19runnable

Codex code-search plugin using Jev relevance filtering with auditable token metrics

zbush/jev-context

Where it calls Jev

const response = await fetchImpl('https://api.typesafe.ai/v1/systemone', {

src/jev.mjs:45

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/jev.mjs:4

  1. relevancechoice

    Does candidate contain useful evidence for user_question or retrieval_objective?

    • YesThe passage provides useful evidence, a relevant dependency, background, a test, or counterevidence.
    • NoThe passage does not provide useful evidence for this information need; shared keywords alone are insufficient.

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: {
    relevance: { type: 'choice', instructions: 'Does candidate contain useful evidence for user_question or retrieval_objective?',
      criteria: { Yes: 'The passage provides useful evidence, a relevant dependency, background, a test, or counterevidence.', No: 'The passage does not provide useful evidence for this information need; shared keywords alone are insufficient.' } },
  },
});

Other projects in this category