Agents Built a Hearthstone Bot in 20 Days and Raised Its Rating from 6,000 to 15,000
A team of LLM agents wrote an accurate Hearthstone Battlegrounds simulator in 20 days, trained a neural network, and pushed it into the global top 100. The MMR rating (the points shown in Blizzard's leaderboard) rose from 6,000 to 15,000, while the share of first-place finishes in the simulator climbed from 1.9% to 41.5%. Top LLMs that were asked to play the game directly failed the task. That makes it more effective for agents to build the environment and train a narrow executor than to play the game themselves.
AI-processed from Habr AI; edited by Hamidun News
Stories about "autonomous AI scientists" have felt like déjà vu for the past couple of years: agents shine in a sandbox, then give up quickly on a real, unsolved problem. They write code reasonably well, but their methodology is shaky. The AutoTavern project stands out because it was tested not on a training benchmark but on live Blizzard servers. A team of LLM agents was tasked with writing a game engine from scratch, training a neural network, and pitting it against humans in ranked Hearthstone Battlegrounds matches. MMR is the points value in the game's official leaderboard. In 20 days, the bot climbed from 6,000 to 15,000 points and entered the global top 100 ladder.
What makes this game hard for AI
Battlegrounds is an eight-player autobattler. In chess or Go, the entire board is visible at once. Here, there is no complete picture: you cannot know for certain what your neighbors will assemble. A game lasts about 15 rounds and requires roughly 450 basic actions from each player. Gold is scarce: three coins on the first turn and up to ten later, which you must spend on buying creatures, refreshing the shop, and upgrading the tavern.
Shop offers are drawn from a shared pool. If opponents build similar boards, the copies of creatures you need disappear, so you have to watch your neighbors. Add 978 unique game objects in patch 36.6.3, and it becomes clear why the community never had an accurate simulator of the current version. Earlier AIs either suggested moves to a human or ran on stripped-down copies such as BGSimulator, which did not even include hero characters.
What the agents built
The AutoTavern system was assembled from six LLM agents running on GPT-6.1 Sol, GPT-6 Astra, and Claude Opus 5.5. Each has its own role: a lead agent coordinates, one agent owns the simulator, another handles training, a third calibrates opponents, a fourth tests candidates, and a fifth interfaces with the game client. To keep the agents from hallucinating, free-form chat between them was banned. Communication runs through strictly typed shared memory: a registry of about 10,000 experiments, a bank of lessons, and a list of 220 confirmed rulings on disputed mechanics.
The project produced four deliverables:
- TavernGym: a Rust simulator with 63,000 lines of code, 27,000 of which cover card logic. On a single CPU core, it runs between 190 and 280 full games per second. The authors promise to open-source the code.
- TavernAgent: the game bot itself, a transformer with 18 million parameters and 8 layers. It selects from 245 possible actions, and illegal moves are filtered out in advance by a mask.
- TavernBench: a benchmark of 960 tasks across 40 scenarios and eight categories. The authors also plan to publish it.
- AutoTavern: the research system itself. Over 20 days, it ran about 10,000 experiments and released 23 bot versions. The human sent 418 messages, which amounts to 0.6% of the traffic: setting goals, deciding how to interpret ambiguous mechanics, and clicking the buttons the model suggested.
The numbers
In the simulator, against opponents whose behavior was calibrated to real players, the share of first-place finishes rose from 1.9% to 41.5%. Random legal moves averaged 7.97th place, and a scripted bot averaged 7.54th; neither won a game. Calibrating the opponents also produced a gain of its own: with an equal budget of 150 iterations, the first-place share on the main exam rose from 20.9% to 27.2%, and on the hard exam from 10.3% to 13.5%.
On the live server, the bot played from day 5 to day 18 of the project on the authors' personal account. The human only clicked the button the model proposed, and any game with an illegal move was stopped so the team could fix the bug. Across 392 games, the rating rose from 6,000 to 14,007, and by the end of the study it exceeded 15,000. Based on each player's most recent 20 records on the wallii.gg leaderboard, the agent outperformed the server's ten strongest players: an average placement of 1.60, an 80% win rate, a 90% top-4 rate, and a net gain of +1,282 points.
Top LLMs, when given the same rules to play under, failed by comparison.
Cost and limitations
Training the 23 final versions took about 1,900 GPU-hours on eight H200 cards and 128 CPU cores. Another roughly 16,700 GPU-hours went to experiments and abandoned directions, and about 1,300 to evaluation. This is not a hobby project. The results were published by the authors themselves, independent verification has not yet been done, and the simulator and benchmark code have only been promised.
The practical takeaway for developers and product managers: do not make LLMs play a complex environment themselves. Have them build an accurate simulator, train a narrow, fast model, and validate it against real feedback. This approach applies wherever the rules are clear and decisions are needed quickly, from games to logistics and process automation.
- Nov 28, 2026OpenAI Tests Private Inference: Business Prompts Protected on Isolated Chips
- Nov 28, 2026Claude Accused of Quietly Sabotaging ML Training: 24K Steps vs. 4K for Gemini Neon
- Nov 28, 2026Every Raises $17.5M at $110M Valuation to Train Teams on Working with AI
- Nov 28, 2026PenGPT copies someone's handwriting from 1–3 words and trains in 8 minutes on 8 GPUs
Key Questions Answered
What makes this game hard for AI?
Battlegrounds is an eight-player autobattler. In chess or Go, the entire board is visible at once. Here, there is no complete picture: you cannot know for certain what your neighbors will assemble. A game lasts about 15 rounds and requires roughly 450 basic actions from each player. Gold is scarce: three coins on the first turn and up to ten later, which you must spend on buying creatures, refreshing the shop, and upgrading the tavern. Shop offers are drawn from a shared pool.
What the agents built?
The AutoTavern system was assembled from six LLM agents running on GPT-6.1 Sol, GPT-6 Astra, and Claude Opus 5.5. Each has its own role: a lead agent coordinates, one agent owns the simulator, another handles training, a third calibrates opponents, a fourth tests candidates, and a fifth interfaces with the game client. To keep the agents from hallucinating, free-form chat between them was banned.
What are the key details on The numbers?
In the simulator, against opponents whose behavior was calibrated to real players, the share of first-place finishes rose from 1.9% to 41.5%. Random legal moves averaged 7.97th place, and a scripted bot averaged 7.54th; neither won a game. Calibrating the opponents also produced a gain of its own: with an equal budget of 150 iterations, the first-place share on the main exam rose from 20.9% to 27.2%, and on the hard exam from 10.3% to 13.5%.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
