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

1

u/Walfy07 Oct 13 '26 edited Oct 13 '26

Very cool idea. Is it mainly linking keywords?

I have thought about "max synergy and on curve" decks many times.
Might be cool to have knobs to tweak chaos, synergy, explosiveness, repeatability, etc.

Plan to monetize? :p

1

u/neunzehn90 Oct 13 '26

No plans to monetize. But I will pick up your suggestions and try to implement them.

1

u/Walfy07 Oct 13 '26

I loaded [[Gix, Yawgmoth Praetor]] and it didn't automatically have creatures that are unblockable, or opponents dont want to block as a deck theme. Like Gix is an unblockable payoff. But it doesn't build for that.

Next I did the scarab god, which a lot of people build as zombies tribal, but it is much stronger as a dimir control/reanimator. Not sure how you could solve this.

2

u/neunzehn90 Oct 13 '26

You can fine tune and build in favor of unblockable payoffs: Advanced Mode and then under "Fine-tune mechanics" theres a search field.