conv.

All stories
AIFading · day 6

Kyle Pena builds a symbol-by-symbol chatbot using Claude as backbone

Developer creates JevChat, a deliberately inefficient proof-of-concept that generates text one character at a time by querying an LLM on each step.

What to know

  • JevChat generates text one symbol at a time by asking an LLM (Claude/Jev) to score the next character from a given alphabet, then sampling from the distribution.
  • Showing the model a pre-appended option—i.e., asking it to judge the full string with each candidate already added—vastly improves accuracy over presenting options in isolation.
  • The project emphasizes experimentation and humor over practical cost efficiency; it includes 158 offline tests and live generation metrics.

Kyle Pena Developer

Kyle Pena builds a symbol-by-symbol chatbot using Claude as backbone
github.com

How it unfolded 1 development · click the chart to see its coverage articlesposts

Peak 8 pieces in two hours at Sep 20, 1 PM; 17 pieces over 6 days (1 article · 4 posts · 12 comments) Sep 20, 1 PM — 8 pieces · 1 article · 2 posts · 5 comments — Hacker News 6, Mastodon 1, Newswires 1Sep 20, 3 PM — 1 piece · 1 comment — Hacker News 1Sep 20, 5 PM — 1 piece · 1 comment — Hacker News 1Sep 20, 7 PM — quietSep 20, 9 PM — 1 piece · 1 post — Mastodon 1Sep 20, 11 PM — 1 piece · 1 comment — Hacker News 1Sep 21, 1 AM — quietSep 21, 3 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 5 AM — quietSep 21, 7 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 9 AM — quietSep 21, 11 AM — 1 piece · 1 comment — Hacker News 1Sep 21, 1 PM — quietSep 21, 3 PM — quietSep 21, 5 PM — quietSep 21, 7 PM — quietSep 21, 9 PM — quietSep 21, 11 PM — quietSep 22, 1 AM — quietSep 22, 3 AM — quietSep 22, 5 AM — quietSep 22, 7 AM — 1 piece · 1 comment — Hacker News 1Sep 22, 9 AM — quietSep 22, 11 AM — quietSep 22, 1 PM — quietSep 22, 3 PM — quietSep 22, 5 PM — quietSep 22, 7 PM — quietSep 22, 9 PM — quietSep 22, 11 PM — quietSep 23, 1 AM — quietSep 23, 3 AM — quietSep 23, 5 AM — quietSep 23, 7 AM — quietSep 23, 9 AM — quietSep 23, 11 AM — quietSep 23, 1 PM — quietSep 23, 3 PM — quietSep 23, 5 PM — quietSep 23, 7 PM — quietSep 23, 9 PM — quietSep 23, 11 PM — quietSep 24, 1 AM — quietSep 24, 3 AM — quietSep 24, 5 AM — quietSep 24, 7 AM — quietSep 24, 9 AM — quietSep 24, 11 AM — quietSep 24, 1 PM — quietSep 24, 3 PM — quietSep 24, 5 PM — quietSep 24, 7 PM — quietSep 24, 9 PM — quietSep 24, 11 PM — quietYesterday, 1 AM — quietYesterday, 3 AM — quietYesterday, 5 AM — quietYesterday, 7 AM — quietYesterday, 9 AM — quietYesterday, 11 AM — quietYesterday, 1 PM — quietYesterday, 3 PM — quietYesterday, 5 PM — quietYesterday, 7 PM — quietYesterday, 9 PM — quietYesterday, 11 PM — quietToday, 1 AM — 1 piece · 1 post — Hacker News 1Today, 3 AM — quietToday, 5 AM — quietToday, 7 AM — quietToday, 9 AM — quietToday, 11 AM — quiet 1
Sep 21Sep 22Sep 23Sep 24yesterdaynow · 1:26 PM ET
  1. 1

    Pena demonstrates pre-appended context triples character accuracy

    The single largest improvement in JevChat is the discovery that presenting symbol options as already-appended to the reply—forcing the model to judge finished strings rather than isolated options—roughly triples top-1 accuracy and doubles probability mass on correct symbols, using fewer input tokens.

    “It is the single largest improvement in the project: on character alphabets it roughly triples top-1 and doubles the probability mass landing on the right symbol, for fewer input tokens than symbol options with their per-option descriptions.”
    — Kyle Pena
    • Jev has taught me the same lesson three times over now.When it first came out, I thought "this weekend, I'll do a little open-source Jev based on single-token prediction and the token logit output", but of course when it came to it, there were at least 5 that had already been done between me thinking that and getting around to it.So I wrote up[0]…

      petesergeantHacker News5d agoview on Hacker News ↗
    2 more of the top 3 · 12 posts in this stretch
    • There might be some practical applications of this sort of idea like in situations where you want/have a heavily restricted vocabulary to build from. You can already do this with LLMs but they can get very... "distressed" if you force logits, whereas this would not.Come to think of it, I'm now curious if it would do well at building SQL queries…

      petercooperHacker News5d agoview on Hacker News ↗
    • I went for a slightly different approach, described in this thread: https://bsky.app/profile/bernd.wachter.fi/post/3mvv2g4zxp22vNo code published currently, but if somebody is interested I can clean that up next weekend and throw it on github.

      finaardHacker News5d agoview on Hacker News ↗
    all of them →
  2. background

    Pena releases JevChat, a symbol-by-symbol chatbot using Claude — Kyle Pena published JevChat on GitHub, a chatbot that generates responses one symbol at a time by querying an LLM decision model at each step. The tool supports multiple sampling strategies (choice, bisect) and alphabets, with a live UI showing generation speed and scoring distribution.

What people are saying 8 voices from 1 site · best of 12 · verbatim