Skip to content

Jev directory

Jev Tree — reachjalil

A TypeScript library that walks a taxonomy and calls Jev once per level, so a choice can cover thousands of leaves despite Jev's 255-option limit per question.
Stars
10
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
reachjalil
Last verified
Sep 2026

This is one of several Jev listings for the same project. The canonical entry is Jev Tree — Chuf-H.

About this project

Recursive Jev choice over a taxonomy. TypeSafe’s Jev can only list 255 options in one choice question. Real catalogs are bigger. jev-tree walks a JSON shape and calls Jev once per level (or per partition) so you can select among thousands of leaves. Same stack as jevlogs: typesafe-ai/jev through Vercel AI Gateway, [email protected], Node.js 22+, MIT. Guide · API · Explainer · 20s intro · Dataset.

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

Highlights

  • Defaults to 32 options per Jev call and allows maxFanout up to 255; oversized sibling lists are partitioned into labeled buckets.
  • Node ids need not be legal Jev choice keys: the library sends o0, o1, and so on, then maps results back to your ids.
  • Timeouts and provider failures return reason unavailable instead of inventing a leaf; maxDepth 16 and maxCalls 64 also stop the walk.
  • On a 320-leaf incident catalog with 180 labeled tickets, truncating to 255 captured 0% of the tail while the authored tree recovered it.

Quickstart

bash
npm install jev-tree
npx jev-tree                         # offline demo, no key
npx jev-tree --live --shape taxonomy.json --state "the record"

Watch out

MIT-licensed. Live calls need an AI_GATEWAY_API_KEY for Vercel AI Gateway, not an OpenAI key, and the evaluation dataset is synthetic rather than production tickets.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai