Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Jev Wikiracer 🏁

You vs Jev — race across Wikipedia. From the same start article, you and Jev both try to reach a target article using only in-article links. You click; Jev — TypeSafe AI's System One decision model — makes one real call per hop, picking the link closest to the target out of dozens. First to the target wins. Real Wikipedia data.

Every hop is a typed, calibrated choice in ~100–300 ms — the exact "pick one of many options without hallucinating" job Jev is built for.

Run it locally

A single, dependency-free index.html — no build, no framework.

  1. Open index.html in a browser.
  2. Click ⚙︎ Jev API key, paste a key, Save.
  3. Pick a start + target (or 🎲 Random pair) and race.

Get a key

  • jevtypesafeai.com — a key in a minute, no waitlist (endpoint is browser-ready).
  • Or an official TypeSafe key — switch the endpoint in settings (the official API may block direct browser calls via CORS; use jevtypesafeai.com or a proxy).

Your key is stored only in your browser's localStorage.

How it works

The links come live from the Wikipedia API (CORS-open). On each of Jev's turns, the current page's candidate links are sent as one typed choice — "which of these gets closest to the target?" — and Jev clicks its pick, with the confidence shown.

const res = await fetch("https://jevtypesafeai.com/api/v1/decide", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: `Bearer ${JEV_KEY}` },
  body: JSON.stringify({
    state: `On "${current}". Target: "${target}".`,
    questions: { hop: { type: "choice", instructions: "Which link gets closest to the target?",
                        criteria: links } },   // { 0: "Coffeehouse", 1: "Java", … }
  }),
});
const { answers } = await res.json();
go(links[answers.hop.choice]);   // → "Java", with answers.hop.probabilities

More: play live · all Jev tools · API docs.


Made with Jev · not affiliated with Wikipedia · MIT licensed · PRs welcome.

About

You vs Jev: race across Wikipedia by clicking links; Jev picks the closest of dozens each hop, one real typed decision, no hallucination. Single-file, no build. Play free: jevtypesafeai.com/games/jev-wikiracer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages