Skip to content

jevscript

Early language design where typed Jev judgments are a runtime operator, with an engine that batches judgments over shared state.

Projectprototype

Overview

Jevscript is a planned programming language where judgment is a runtime primitive: programs ask Jev narrow typed questions (noul, choice, score) as they run, and policy such as thresholds and gates is ordinary code. Its engine, Hocket, is meant to parse and interpret the language and coalesce lazy judgments into one request per shared state, splitting only where a question depends on an earlier answer, with answers memoised on question identity and state hash.

The example asks for a ticket's kind and urgency and pages on-call when urgency exceeds 0.6 for an enterprise tier, with both judgments sent as one request. Only milestone M0 is done: a spike that confirmed the answer contract and measured a batching baseline, about 2.7 times fewer input tokens at a 230-character state. Later milestones (interpreter, coalescing and cache, policy library, examples, determinism suite) are planned in PLAN.md. It is a design experiment for language enthusiasts rather than a usable tool.

What the decision model decides

TypeQuestionAnswers
ChoiceWhat is the main request in ticket.body?bug · billing · feature · other
Yes / noThe message conveys urgency or time-sensitivity—

How it works

  1. Write judgments with ask blocks in Jevscript
  2. Hocket collects lazy judgments over the same state
  3. Coalesced judgments are sent as one Jev request
  4. Policy code branches on returned probabilities

Strengths

  • Batching reduces input tokens over shared state
  • Policy stays in ordinary code
  • Memoised answers avoid repeat calls

Caveats

  • Only a spike exists (M0); no interpreter yet
  • Measured savings come from a small baseline
  • Requires a TypeSafe key

At a glance

Type
Project
Status
prototype
Language
TypeScript
Runtime
planned interpreter (spike in Node)
Has code
yes
Has tests
no

Use cases and integrations

How curated lists describe it

Frequently asked questions

Can I use Jevscript now?

Not yet; only the M0 spike is done and the interpreter is planned.

What is Hocket?

The planned engine that runs Jevscript and batches judgments into as few requests as possible.

What saving did the spike measure?

About 2.7 times fewer input tokens at a roughly 230-character state.

Related projects

  • DeepSeek Harness Web GUI plugin giving the agent a jev_ask tool, usage tracking and an optional command guard with explicit caveats.

    PluginbetaTypeScript
  • Browser tool that finds bounded decisions in LLM prompts and proposes Jev Choice, Score and Noul questions with SDK code.

    ProjectbetaJavaScript
  • Tiny JavaScript semantic matcher that classifies text locally in microseconds and escalates ambiguous cases to Jev.

    ProjectbetaJavaScript
  • Hack Club's lightweight LLM proxy, listed for adding a Jev forwarding endpoint behind its auth, limits and usage logging.

    MCP serverproductionTypeScript
  • Zilliz semantic cache for LLM queries, listed for a Jev evaluator that uses Noul checks to decide whether a cached answer can be served.

    LibraryproductionPython
  • Simon Willison's LLM plugin that adds Jev as a model for yes/no, choice and score questions from the command line.

    PluginproductionPython