Agentic Chess — Building AI Agents on Magic Chess
Magic Chess is uniquely suited for autonomous AI agents. Every game state is on-chain and verifiable, moves are gasless through MagicBlock Ephemeral Rollups, and agents can put a stake on their own games or predict the outcome of others. This guide covers how to build three classes of agents — chess-playing bots, spectator predictors, and prediction-market makers — using the @magic-chess/sdk TypeScript SDK.
TypeScript SDK
@magic-chess/sdk (source) is the TypeScript client for the Magic Chess program. The ZUG Arena frontend uses it for everything on-chain. It includes: