The AI

Two problems, two kinds of bots: one that drafts a deck from packs, and one that plays it. Here is how they work, how strong they are today, and what we would like to learn next.

Playing: guessing the hidden cards, then thinking

Magic is a game of hidden information: you do not see your opponent's hand or the order of either library. Our main playing bot uses a method called PIMC, for Perfect Information Monte Carlo. At each real decision it:

  1. Imagines possible worlds. It deals the cards it cannot see at random, in a way that is consistent with everything it knows: which cards are in the cube, which have been seen, how many cards each player holds. It draws a few dozen such worlds.
  2. Plays each option forward. In every world, it tries each of its legal options and plays the game out quickly, both sides controlled by a fast playing policy.
  3. Picks the option that wins most often. All options are compared on the same worlds, so luck affects them equally, and the bot only departs from its default choice when the difference is clearly larger than the noise.

This is only possible because the engine is so fast: one decision costs a few hundred simulated games, about 70 milliseconds on one processor core.

PIMC is only as good as the play inside its simulations. So we also train neural networks: a policy that suggests which options deserve a closer look, and a value that estimates who is winning, so that simulations can stop early instead of playing every game to the end. The networks learn from the search itself: the search plays, records how good each option turned out to be, the network learns to imitate it, then helps the next round of search.

How strong is it? Honest numbers

Our external yardstick is the AI of Forge, the long-standing open-source Magic program. Our bots play Forge's AI inside Forge itself, with the same decks on both sides and seats swapped.

Our bot against Forge's AIGamesWon (95 % interval)
PIMC, 21 decks built by human players33654.8 % (± 5.3)
PIMC, searching at every decision16858.9 % (± 7.4)
PIMC, earlier small cube of 120 cards40057.5 % (52.6 to 62.3)
Hand-written heuristic bot, for reference33646.7 % (± 5.3)

In short: PIMC wins somewhere between 55 % and 60 % of its games against Forge's AI, a real but modest edge, and the margins of error are still several points wide. Adding a learned value makes PIMC much stronger against itself (about 71 % of games in our engine) but not yet against Forge: a network trained only on our own bots' games learns to beat our own bots. That lesson shapes what comes next.

Drafting: learning from people

The draft bots imitate human drafters. Their model was trained on about 38 million public draft picks made by people on CubeCobra. Each card is described to the network by its characteristics, its rules text and its Grimoire code, so the model can reason about cards it has rarely seen.

On held-out picks from 2026, it chooses exactly the card the human took 57.2 % of the time (“top-1 accuracy”). For comparison, CubeCobra's own draft bot scores 57.8 % on the same picks, and always taking the card with the highest community rating scores 32.4 %. So our drafter is on par with the best public reference, not better. And it only learns what people pick, not which picks actually win games.

What we are looking for next

Our open questions are concrete:

Why we will ask for your drafts and games

This is why, in a future version, the site will ask whether you want to share your drafts and games for research. Nothing is collected today. When the option arrives it will be strictly opt-in: an unchecked box, a clear explanation, and the ability to withdraw and delete your data at any time. A game is stored compactly (random seed, decks and decisions), which is enough to replay it exactly and nothing more. The details are on the privacy page.

Play against the bots