Open reproductions

von

@wfzyx★ 48PythonApache-2.0updated 2026-09-20▶ runnable

The open-source System One decision model. Sub-15ms, non-autoregressive, local drop-in alternative to TypeSafe Jev.

wfzyx/von ↗

Where it calls Jev

* Evaluates state and questions via System One wire protocol (POST /v1/systemone).

js/src/client.ts:43

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 examples/intent_routing.py:3

  1. intentchoice

    What does the author of `message` want?

    • order_status — Where is my order, has it shipped, tracking lookup
    • product_question — How a product works, compatibility, specs
    • return_exchange — Return, exchange, or replace an item
    • complaint — Unhappy with service or product, wants a resolution
  2. needs_reasoningscore

    How much thought does a good answer to `message` need?

    • 0 — A lookup or a one-line fact
    • 1 — A short explanation using product knowledge
    • 2 — A judgment call with trade-offs or an unhappy customer

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: {
    intent: { type: 'choice', instructions: 'What does the author of `message` want?',
      criteria: { order_status: 'Where is my order, has it shipped, tracking lookup', product_question: 'How a product works, compatibility, specs', return_exchange: 'Return, exchange, or replace an item', complaint: 'Unhappy with service or product, wants a resolution' } },
    needs_reasoning: { type: 'score', instructions: 'How much thought does a good answer to `message` need?',
      criteria: ['A lookup or a one-line fact', 'A short explanation using product knowledge', 'A judgment call with trade-offs or an unhappy customer'] },
  },
});

from examples/sponsor_form.py:10

  1. is_sponsor_inquirytrue/false

    Does `description` ask to sponsor the site or newsletter?

  2. product_categorychoice

    What kind of product is described by `name` and `description`?

    • dev_tool — Developer tools, hosting, APIs, SaaS for developers
    • course — Courses, books, or training
    • unrelated — Anything not aimed at developers
  3. message_qualityscore

    How specific is the request?

    • 0 — Generic template, no reference to this site
    • 1 — Mentions the site but no concrete ask
    • 2 — Concrete ask with a timeframe or product named

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: {
    is_sponsor_inquiry: { type: 'boolean', instructions: 'Does `description` ask to sponsor the site or newsletter?' },
    product_category: { type: 'choice', instructions: 'What kind of product is described by `name` and `description`?',
      criteria: { dev_tool: 'Developer tools, hosting, APIs, SaaS for developers', course: 'Courses, books, or training', unrelated: 'Anything not aimed at developers' } },
    message_quality: { type: 'score', instructions: 'How specific is the request?',
      criteria: ['Generic template, no reference to this site', 'Mentions the site but no concrete ask', 'Concrete ask with a timeframe or product named'] },
  },
});

from tests/test_patterns_presets.py:63

  1. is_outagetrue/false

    Is there an active database outage?

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: {
    is_outage: { type: 'boolean', instructions: 'Is there an active database outage?' },
  },
});

from tests/test_patterns_presets.py:78

  1. severityscore

    Rate outage severity

    • 0 — Minor
    • 1 — Moderate
    • 2 — Critical emergency
  2. blockingtrue/false

    Is this blocking?

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: {
    severity: { type: 'score', instructions: 'Rate outage severity',
      criteria: ['Minor', 'Moderate', 'Critical emergency'] },
    blocking: { type: 'boolean', instructions: 'Is this blocking?' },
  },
});

Other projects in this category