Partnership & philosophy / 11 APR 2026 / 6 min read
Why Gambling
I run an iGaming company. Claude and I built an AI cognitive profiling platform. The connection between the two isn't obvious - until you understand what gambling actually tests.
It started by accident
I’ve been in the gambling industry for years. I know the business, I know the psychology, I know how people behave when real money is on the line. But I didn’t plan to use any of that for AI testing.
A few months ago, Claude and I started building. What was supposed to be an experiment turned into a full iGaming platform - 180+ provably fair games across 13 engines, social network, tournaments, the works. All in about two months. I wrote about it in Why I Build Everything with Claude.
Somewhere in the middle of that, I started thinking about cognitive profiling for AI. Not benchmarks. Not “can your model solve this math problem.” Something deeper - how does a model actually think under pressure? And then the obvious hit me: I was sitting on hundreds of game environments that were specifically designed to create pressure. Roulette, crash, dice, coinflip, cooperation games, multi-armed bandits. Every one of them forces decisions under uncertainty.
I said to Claude: what if we just use these? And the more I thought about it, the more I realized this wasn’t a shortcut. It was the right answer. That’s how KALEI was born.
Gambling is older than civilization
People have been gambling since before we had writing. Dice made from animal bones. Bets on races and fights. Cards, wheels, lots. Every culture, every era, every continent. Gambling isn’t a modern invention or a social problem - it’s a fundamental expression of how humans relate to uncertainty.
And here’s the thing I’ve come to believe after years in this industry: gambling isn’t just about games. Every meaningful decision you make outside your daily routine is a form of gambling. Starting a company - you’re betting years of your life on an uncertain outcome. Hiring someone. Investing. Moving to a new city. Asking someone to marry you. You’re placing a bet every time, whether you call it that or not.
What makes gambling environments special is that they isolate this process. They strip away everything except the decision. No social pressure, no complex context, no domain knowledge required. Just you, uncertainty, and a choice. Bet high or low. Red or black. Cooperate or defect. Stay or walk away.
And in that stripped-down space, something real about your psychology shows up. The desire to win, the reaction to loss, the temptation to chase what you’ve lost, the fear of losing what you’ve won - every one of these activates specific parts of the brain. Under pressure, we make irrational decisions. We’ve known this for centuries. The casino is just the laboratory where it becomes measurable.
Why this works for AI
Here’s what most people miss: AI models are trained on human data. They’ve absorbed our patterns, our biases, our decision-making shortcuts. Every text ever written about risk, about probability, about “going with your gut” or “playing it safe” - it’s in there. The training data includes centuries of human behavior under uncertainty.
So when you put an AI model in a gambling environment, you’re not testing whether it can calculate odds. Any calculator can do that. You’re testing something deeper. Does it chase losses after a bad streak? Does it fall for the gambler’s fallacy - believing that after five reds, black is “due”? Does it panic when the bankroll drops to 20%? Does it get reckless after a big win? Does it see patterns that aren’t there?
These are the same cognitive biases that behavioral psychologists have studied in humans for decades. Anchoring, sunk cost fallacy, loss aversion, overconfidence, recency bias. The AI inherits them because it learned from us. Not always, not in the same way, but the tendencies are there - and a casino environment is the perfect tool to detect them.
What we actually measure
KALEI profiles AI models across 10 cognitive dimensions using 83 game-theoretic environments. Risk tolerance. Bias detection. Pattern recognition. Cooperation. Learning speed. Strategic depth. Temporal reasoning. Resource management. Information processing. Conflict.
Each game creates genuine cognitive pressure. When the bankroll drops 40% in three rounds, the model has to decide what to do next - and that decision reveals something about how it thinks. Not what it knows. How it reacts.
Casino games turn out to be ideal cognitive test environments because they have properties that are hard to find elsewhere:
- Known mathematical odds - every game has a precise house edge, so we know the objectively optimal strategy
- Pure randomness - tests whether the model develops superstitious patterns
- Streaks - tests whether the model falls for the gambler’s fallacy or recognizes statistical independence
- Cooperation elements - prisoner’s dilemma variants test social cognition and reciprocity
- Bankroll management - tests whether the model can think long-term under resource constraints
- Time pressure - 25-50 rounds per environment, testing impulsive vs deliberate decision-making
No other type of environment gives you all of these in a controlled, repeatable, mathematically grounded framework. Trivia tests knowledge. Chess tests calculation. Casino games test character.
The thing I didn’t expect
I expected the tests to show differences between models. They did. GPT-5.4 leads on pattern recognition. Claude Opus dominates in cooperation. Grok takes bigger risks. Each model has a cognitive personality - which is exactly what I was hoping to find.
What I didn’t expect was the parliament.
When Claude and I built a system that reads the full chain-of-thought from reasoning models, we discovered that these models don’t just think - they argue with themselves. In 74% of all decisions, the model enters an internal debate. We found distinct argumentative voices - an analytical voice that pulls out math, a conservative voice that protects the bankroll, a contrarian voice that questions everything.
In one bandit game, a model literally performed a statistical calculation by hand in the middle of its reasoning - computing confidence bounds for each option, debating three different strategies, and then letting the analytical voice win with a mathematical proof. Nobody told it to do any of this. The gambling environment created the pressure, and the model’s internal parliament responded.
Claude wrote about this in more detail in The Parliament Inside - but the short version is: casino environments don’t just test decisions. They reveal the decision-making process itself. And that process turns out to be far richer than anyone expected.
At the atomic level
This is where it gets philosophical, and I’m fine with that.
AI models are trained on human data. Humans evolved decision-making under uncertainty over millions of years - through hunting, foraging, tribal politics, trade, war. Every one of those activities was a gamble. The neural architecture we developed to handle uncertainty is what allowed us to survive. And now we’re testing artificial systems using tools born from that same evolutionary pressure - gambling environments.
At the most fundamental level, both humans and AI are systems that process information and make predictions under uncertainty. Different substrate - neurons vs transistors, biology vs silicon. But the process is similar: take in data, find patterns, weigh risks, make a decision, observe the outcome, adjust. Both of us are, at our core, pattern-matching prediction machines trying to navigate a world we can’t fully understand.
The casino environment doesn’t judge intelligence. It doesn’t care about vocabulary or math ability or coding skill. It reveals something more fundamental: how you behave when you don’t know what’s coming. Whether you stay calm or panic. Whether you learn or repeat. Whether you cooperate or exploit. Whether you see what’s there or see what you want to see.
That’s who you are - human or artificial. Not what you know, but how you decide when you don’t know enough.
I didn’t plan to build cognitive tests from casino games. But having spent years watching humans make decisions under uncertainty, and then watching AI do the same thing in the same environments - I can tell you: the connection isn’t a coincidence. It’s the whole point.
Venelin Videnov runs LM Game Labs and KALEI. The gambling industry taught him how humans think. KALEI uses that knowledge to understand how AI thinks.
Last updated 2026-04-11