Follow our Instagram!
Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.

Battle Bot xTimeCrystalBot—2579 Elo Peak Gen 9 Random Battles

Proof of Peak
Screenshot 2026-11-14 at 10.24.09 AM.png

TL;DR: I built this bot in around 2 weeks as a side project. One week of time went towards using a swarm of Claude Opus 5.5 agents to build a very fast reimplementation of Gen 9 Random Battles in Rust.

Technical details:
- A 4M parameter transformer (4 layers 4 heads 64 head dims).
- Input is unconventionally the full game history, not the current game state. Rationale: there is a long tail of mechanics and different things you can infer about the opponent, and rather than implement it in code which is buggy, we just obey the Bitter Lesson.
- Engine does basic state tracking and manually injects it (e.g. HP, PP, etc. is concatenated and added to the token stream as a "snapshot token"). Thus the model only needs to track belief state and we respect transformer's TC^0 limitations.
- Matchup features are critical. (Perhaps this is because damage calcs are really hard for the model to learn?)
- Critic uses a different model that gets the exact snapshots for both players. It is otherwise the same size.
- Trained on 700M self-play games. Every 2000 iterations, the winrate against itself is ~52% (very consistent across the horizon of 52k steps).
Back Top