You play White, and Jev plays Black. Rather than asking an LLM to generate move strings or JSON, the backend feeds all server-validated legal candidate moves into Vercel AI SDK's experimental_evaluate(). Jev picks Black's move and outputs its probability distribution across all legal candidates in a single forward pass (~300ms, ~$0.00004/move).
Github link: https://github.com/qibinlou/jev-chess
Give a try and let me know your thoughts! I am having lots of fun coming up with different chess strategies for Jev to try out.