A tiny, polished web app for asking Jev yes/no questions through OpenRouter.
AskJev uses Jev's Noul primitive, which returns a probability from 0 to 1 representing how likely the answer is to be yes. The UI turns that into a simple YES/NO verdict while still showing the underlying probability.
- Ask Jev natural-language yes/no questions
- Uses
typesafe/jev-1.13through OpenRouter - Displays Jev's raw yes-probability as a percentage
- Simple YES/NO verdict:
>= 50%→ YES< 50%→ NO
- OpenRouter API key is stored locally in your browser with
localStorage - No framework
- No backend
- No analytics
- No external JavaScript dependencies
- Responsive dark UI
- Works as a single static
index.html
AskJev sends a request to OpenRouter's Decisions API:
POST https://openrouter.ai/api/alpha/decisions
using:
typesafe/jev-1.13
The request asks Jev a noul question based on the text entered by the user.
A simplified request looks like this:
{
"model": "typesafe/jev-1.13",
"state": {
"question": "Will it rain tomorrow?"
},
"questions": {
"answer": {
"type": "noul",
"instructions": "Is the correct answer to `question` yes?",
"criteria": {
"true": "The best direct answer to the question is yes.",
"false": "The best direct answer to the question is no."
}
}
}
}Jev returns a Noul value such as:
0.873
AskJev displays that as:
YES — 87.3%
AskJev is completely static.
- Download or clone the project.
- Upload
index.htmlto your web server. - Open the site in your browser.
- Click API key.
- Paste your OpenRouter API key.
- Save it.
- Ask Jev something important, such as:
Is a hot dog technically a sandwich?
For cPanel hosting, you can usually just place index.html inside:
public_html/
No build step is required.
Your OpenRouter API key is stored in your browser using localStorage.
AskJev does not send the key anywhere except OpenRouter when making a Jev request.
There is no AskJev backend.
localStorage is convenient for a personal static app, but any JavaScript running on the same origin can access it.
For that reason:
- Host AskJev on an origin you control.
- Avoid adding untrusted third-party scripts.
- Consider using a restricted or low-limit OpenRouter key if you publish the site publicly.
You can open index.html directly, but browser security rules can occasionally interfere with API requests from file:// pages.
A tiny local HTTP server is more reliable:
python3 -m http.server 8000Then open:
http://localhost:8000
Jev is a model from TypeSafe designed around decision primitives rather than ordinary free-form chat generation.
AskJev specifically uses Noul, Jev's yes/no probability primitive.
- TypeSafe docs: https://docs.typesafe.ai/introduction
- Noul docs: https://docs.typesafe.ai/primitives/noul
- Jev 1.13 on OpenRouter: https://openrouter.ai/typesafe/jev-1.13
Just:
- HTML
- CSS
- Vanilla JavaScript
- OpenRouter
- Jev
No React. No Vite. No npm folder the size of Nebraska.
Use it, modify it, host it, make it sillier.
If you turn AskJev into something interesting, that's probably Jev's fault.