Build a Chess.com AI Companion for Your Latest Game
Quickchat has a tutorial for building a Chess.com companion in Quickchat that fetches your latest completed game and answers questions about its moves. The assistant, called After the Game, is built from a Main Prompt and two API Actions. It needs no Chess.com login or API key, because it only reads public data.
You give it a public Chess.com username. The first Action fetches the player's monthly archive index. The second fetches the games for the newest month it returned. The assistant then picks the latest standard-chess game by comparing each game's end_time instead of trusting list order. It opens its answer with the game link, player colours, result and date, so you can tell which game it's talking about before it explains anything. Keep the response filter off, because the PGN (the game's move record) is what follow-up questions about specific moves rely on.
The tutorial's example follows 20. dxe5 Qxe5 in a completed game from Quickchat's public example archive. The prompt tells the assistant to quote move numbers, stick to what the game record supports, and not invent evaluations or best moves. No chess engine is connected, so it can't give engine evaluations, and it's told not to help with a game in progress.
Quickchat's Free plan includes API Actions with a limited monthly credit allowance for personal, non-commercial use, and test conversations use credits. The companion isn't affiliated with Chess.com.
Loading replies…