Jev directory
OfficialJev Integrations & Adapters
Jevbot · typesafe-ai
Discord and Slack bot that drives Jev word by word through tournament sampling, giving the decision model a 20K word vocabulary so it can post short replies in channels, threads, and DMs.
- Stars
- 0
- Reading time
- 2 min
- Published by
- TypeSafe AI
- Added
- Nov 20, 2026
This is one of several Jev listings for the same project. The canonical entry is Jevbot · lyramakesmusic.
Highlights
- Tournament sampling scores a 20K vocabulary in 255-word buckets, then runs a runoff round.
- Two-word lookahead lets a multi-word phrase beat a single hedge word.
- A separate noul question judges whether Jev's message is complete, not whether it is good.
- Replies only when mentioned or replied to; @jev stop mutes a channel or thread via mutes.json.
- Each step makes about 11 API calls to api.typesafe.ai using jev-preview.
Questions about this entry
Short answers drawn from the linked project or page.
Install the requirements with pip, create a .env with DISCORD_TOKEN_JEV and TYPESAFE_API_KEY, enable Message Content Intent in the Discord developer portal, then run python jev_bot.py.
It shuffles a 20K word vocabulary into 255-word buckets, scores them in parallel, runs a runoff between bucket winners, and repeats until a completeness judge says the reply is finished.
Each step makes about 11 API calls for up to two words, and at $0.042 per million input tokens a reply is a fraction of a cent. Replies carrying images cost noticeably more.
No. It replies only when mentioned or when someone replies to its messages. Saying @jev stop mutes it in that channel or thread until it is mentioned again.
Socket Mode with a connections:write app-level token, plus files:read for images and users:read to label people by display name. Older manifests need these scopes added and the app reinstalled.
The last 8 messages including Jev's own replies, each person labeled by display name, with a short header noting the last line is Jev's unfinished reply. In Slack, context is per thread.
Replies are assembled word by word and can come out broken, as the project's own output examples show. It also only answers when addressed, and attached images ride along on every call, raising cost.
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.