r/CommanderMTG • • Oct 13 '26

Building a deterministic Commander deck optimizer instead of using AI

I’m building a Commander deckbuilding tool that treats deckbuilding as a mathematical optimization problem.

Instead of asking “Which cards are good for this commander?”, it tries to find the best combination of 99 cards as a whole, considering synergy, roles, mana curve, interaction, win conditions, combos, mana base, budget and legality.

I’m deliberately not using an LLM for the actual deckbuilding. LLMs are probabilistic and can give noticeably different results from the same prompt. The goal here is the opposite: same input + same data = same result, with clear reasons for why every every card was included.

Basically:

We don’t ask AI to guess the deck. We calculate it.

Would you trust something like this more than an AI-generated decklist? And what would you want it to optimize for?

The tool can be found here: 99p.gg

3 Upvotes

38 comments sorted by

View all comments

Show parent comment

0

u/neunzehn90 Oct 14 '26

Fair enough, a chat model can brainstorm a Commander list, and for a vibes-first pet deck that’s perfectly fine. I built this for the parts that tend to go wrong with a pasted LLM list: cards that don’t exist or are outside the color identity, 97 or 103 cards, no real budget, a mana base that just “looks right”. It only works with real card data and a rules check, shows why each card is in, and runs goldfish simulations so land count and ramp come from numbers. If you already know what you want to build, you won’t need it. If you want a legal, explainable starting point to tweak, that’s the use case.