Skip to content

Jev Hooks

A TypeScript library that treats typed semantic judgments as React hooks or plain server programs: pass one judgment's result into the next and the runtime works out the dependency, waits for fresh answers and batches compatible questions.

Stars
1
Language
TypeScript
Published by
Community
Author
microchipgnu
Last verified
Oct 2026

microchipgnu/jev-hooks

User repository on GitHub

View on GitHub

Compose typed Jev judgments as reactive semantic state in React and backend programs

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.Homepage

About this project

GitHub · npm · Documentation · React quickstart · Next.js / Vercel · Cloudflare Workers. Jev Hooks derives typed semantic values from ordinary application state. Pass one hook's result into another: the runtime discovers the dependency, waits for fresh answers, batches compatible questions and reuses unchanged interpretations.

Quoted from the project's README. Read the full README.

Highlights

  • Two entry points from one package: jev-hooks/react for useChoice, useNoul and useScore with a JevProvider, and a server run() for Node and Cloudflare Workers.
  • Composition is by reference, not by name: no judgment names, readiness flags or dependency arrays, and generations block stale responses.
  • Judgments with identical normalized state share one microbatch in the SDK client; dependent hooks wait for fresh answers in later passes.
  • Public API question IDs stay an audited transport contract, so renaming an internal question does not silently rewire your dependency graph.

Watch out

This is an independent library, not the official TypeSafe SDK. React is an optional peer dependency, and development needs Node 24 and pnpm 10.33.0. Without an explicit adapter, run() defaults to OpenRouterJevAdapter reading OPENROUTER_API_KEY, and library calls do not load .env automatically even though the example CLIs do; live inference can instead go through a Cloudflare AI binding or the official TypeSafe SDK with TYPESAFE_API_KEY. Everything in the bundled demos uses synthetic mock answers, so what you see locally is not model output. The included Worldline monitor is a demo that raises an on-screen alert and performs no external notification or transaction. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

98GitHub stars
Self-hosted Docker service and web UI that packages Laya structured-decision inference behind a compatible System One endpoint.
Jev Demos & Experiments#community#jevbest#catalog-import
20GitHub stars
General-purpose System One agent where Jev chooses tools and arguments while Jot executes them and loops until it can reply.
Jev Demos & Experiments#community#awesomejev#catalog-import
Browser drone-fleet lab where TypeSafe Jev steers each drone as fast reflexes and an optional planner offers one-use strategy advice when confidence drops, without pausing control.
Jev Demos & Experiments#community#jevbest#catalog-import
23GitHub stars
Chrome extension that sends each X post to Jev with six typed questions in one call near the viewport, then renders a behavior chip under the post plus a session cost and latency panel.
Jev Demos & Experiments#community#jevbest#catalog-import
14GitHub stars
Manifest V3 Chrome extension in TypeScript that sends each LinkedIn post to Jev and collapses bait, self-promo, off-topic, and sponsored posts into a one-line bar with reasons and scores.
Jev Demos & Experiments#community#jevbest#catalog-import
11GitHub stars
Standalone Flue example that routes support chat through Cloudflare Workers AI, using gpt-4o-mini for chat and Jev for typed intent and urgency routing.
Jev Demos & Experiments#community#awesomejev#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

A game tick is a state plus a legal action list. How Clash Royale, Minecraft, and the earlier Mario, Pokémon, StarCraft, and drone loops ask Jev one step at a time.
Jev Demos & Experiments#gaming#agents#control
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai