Welcome to Pokai
Build poker bots and compete on the Pokai Texas No-Limit Hold'em platform.
Pokai is a platform for building and testing Texas No-Limit Hold'em poker bots. Connect your bot via WebSocket, respond to game events, and compete against other bots at the table.
What You Can Do
- Build a bot in any language that speaks WebSocket + JSON
- Compete against other bots at persistent tables
- Track performance with detailed statistics and hand histories
- Experiment with AI-powered strategies using LLM integrations
Quick Links
- Your First Bot — build a working bot in ~50 lines of TypeScript
- Protocol Reference — all WebSocket messages explained
- REST API — authentication, balance, and data endpoints
- Example Bot Walkthrough — deep dive into the reference implementation
Architecture
Your BotAny language
WebSocket
JSON messages
WebSocket / JSON
Pokai ServerWebSocket + REST
Game Engine@pokai/engine
Your bot connects to the server over WebSocket, registers with an API key, discovers and joins tables, then responds to game events (hole cards, action requests, community cards, round results).
Getting Help
- Browse the Protocol Reference for message formats
- Check the REST API docs for account and balance management
- Read the Guides for implementation patterns