User repository on GitHub
An observable raw-character chat experiment powered entirely by TypeSafe Jev Choice
- Forks
- 0
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
An experiment that composes TypeSafe Jev Choice decisions into free-form text: every next character becomes one typed decision over 98 options, with branch backtracking and a final complete/incomplete check.
User repository on GitHub
An observable raw-character chat experiment powered entirely by TypeSafe Jev Choice
Repo stats from the GitHub API, cached Oct 2026.
Can TypeSafe Jev Choice generate text through successive typed decisions? Well I tried it. Node.js 22+ and a TypeSafe API key. Jev can't generate text. It takes some state + a set of choices and returns a typed decision with probabilities over those choices. There are 95 printable ASCII characters, newline, tab, and EOS. 98 choices total. I ask Jev to judge continuations like: Each option is the entire reply prefix with exactly one character appended. The basic loop looks like this:
Quoted from the project's README. Read the full README.
Watch out
The author frames this as an experiment in whether Choice can be composed into text, not a usable chat client. The reply only exists because the controller stitches character decisions together, and the README states plainly that Jev never returns freeform text and that no tokenizer, dictionary or canned response sits behind it. Cost tracks output length, since every character is one decision, plus a second call whenever several branches survive and a final call to judge the ending. The search mode is what makes it work at all: a prefix like "I m" can lose to an earlier one and continue as "I am". Needs Node.js 22+, a TypeSafe API key, and it serves on 127.0.0.1:4177. Copy reviewed against the repository README on 2026-10-04, not from running it.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.