Skip to content

Jev directory

Jev Xiangqi

Play Chinese Chess against Jev: every AI move fans out a Score 0-4 question per legal move in a single system_one() call, then plays the highest-scoring move. No minimax and no eval tables, just Jev's read of the position, with the top 10 shown as score bars.
Stars
1
Language
HTML
License
BSD-2-CLAUSE
Reading time
3 min
Published by
Community
Author
zafer-liu
Last verified
Oct 2026

zafer-liu/jev-xiangqi

User repository on GitHub

View on GitHub

Play Chinese Chess (Xiangqi) against Jev - TypeSafe System One decision model as the AI. Score fan-out over legal moves.

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

Languages
JavaScript
Platforms
Browser
Capabilities
Open sourceRequires API key

Highlights

  • On each AI turn the frontend enumerates legal moves and the backend builds one Jev call with a Score 0-4 question per legal move — typically 30-45 in mid-game.
  • State includes an ASCII board, FEN, side to move, a check flag, the last 12 moves and a numbered legal-move list such as [m7] h2e2.
  • The v2 prompt injects a rules primer — piece movement, piece values, motifs like 马后炮, a 3-step simulation instruction — once per call, not per question.
  • Measured on jev-latest on 2026-09-21: opening 44 moves cost $0.000322 and 6.6 s; mid-game 36 moves cost $0.000278. Input is $0.042/MTok and output is free.
  • The README stresses Jev is not a chess engine: it can miss a 3-move tactic and top-2 margins often sit under 0.1 points.

Watch out

Grounded in the truncated README and GitHub metadata reviewed on 2026-10-15; the v1-vs-v2 table is cut off mid-row, the latency and cost figures are the author's own measurements from 2026-09-21 on one prompt version, and no install or key-setup steps were captured. BSD-2-Clause per the metadata.

Questions about this entry

Short answers drawn from the linked project or page.

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.

Follow @typesafeai