arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.33845

Build, Don't Play: Self-Improving LLM Research Agents Develop a Hearthstone Battlegrounds AI That Rivals Top Players

Changlian Ma, Limin Wang

Abstract

Can LLM agents carry a hard real-world problem from raw data to a system that holds its own against people? We study this in Hearthstone Battlegrounds, an eight-player auto-battler with stochastic shops and battles, hidden information and nearly a thousand interacting cards. We present AUTOTAVERN, a self-improving research system: specialised LLM research agents share a typed research memory, every claim passes verification gates, and live games close the loop, so the agents improve the simulator, opponents and policy and, from the same feedback, their own research process; a human sets goals and rules on ambiguous mechanics. In 20 days AUTOTAVERN built TAVERNGYM, the first faithful, full-content reproduction of the live game, and delivered 23 versions of TAVERNAGENT, trained with PPO against opponents calibrated to real games. TAVERNAGENT plays complete games on the live ladder by itself: its rating rose from 6,000 to about 15,000 and, on the public leaderboard's measure, its last 20 records average a placement of 1.60 with 80% first places, better than the server's ten highest-rated players on every statistic (2.34, 59%). TAVERNBENCH, 960 tasks in 40 scenarios, shows that the system the agents built is the strongest player: TAVERNAGENT answers 91% of the play tasks against at most 63% for frontier LLMs, and decides in 0.03 s where they need up to 26 s; within the second a live turn allows, it keeps 90% and no LLM more than 26%. LLM agents build far better than they play. We will open-source TAVERNBENCH and TAVERNGYM at https://github.com/MCG-NJU/AutoTavern.

1 Introduction

Games have long served as milestones for artificial intelligence, from Go and chess [Silver et al., 2016, 2018] to StarCraft II, Dota 2, poker, Mahjong and Stratego [Vinyals et al., 2019, Berner et al., 2019, Brown and Sandholm, 2019, Li et al., 2020, Perolat et al., 2022]. Each of these systems was the product of a large team of human experts who built the environment, designed the learning algorithm and debugged the countless ways in which a simulated training world differs from the real game. Today, LLM agents write and run much of the code behind such systems, and a growing line of work asks whether they can automate the research itself [Lu et al., 2024, Yamada et al., 2026, Wijk et al., 2025, Srikanth et al., 2026]. Existing evidence, however, comes from benchmark tasks or paper reviews; it remains open whether agents can carry a hard, real-world problem from raw data to a system that holds its own against people, where performance is ultimately measured in the real game.

We study this question in Hearthstone Battlegrounds, Blizzard's eight-player auto-battler, played by millions. Each turn a player spends gold in a randomly stocked tavern to buy, sell and position minions, then fights an automatic battle against one opponent; players are eliminated in turn until one remains. The game combines stochastic shops and battles, hidden information about seven opponents,

Figure

Real-time (< 1 s)

(a)

Figure

Positioning

(b)

Figure

seconds per decision

Figure 1: TAVERNBENCH at a glance. (a) Accuracy (%) per capability, with the play score counting only answers within the second a live turn allows per decision; numbers: TAVERNAGENT. (b) Play score against seconds per decision; shaded: too slow for a live turn. All systems are in Table 4.

a shared card pool, a horizon of hundreds of decisions with a reward only at the end, and a content base of nearly one thousand interacting cards, heroes and trinkets that changes with every patch. No faithful simulator of the live game has been available, and existing AI work either advises human players or studies simplified versions of the game (Section 2).

We present AUTOTAVERN, a self-improving research system in which a team of specialised LLM research agents iterates a model autonomously (Figure 2). Its principle is reality-anchored self-improvement. Agents for the environment, training, opponent modelling, evaluation and deployment communicate only through a typed, versioned research memory; five verification gates stand between every claim and that memory; and live games on the real ladder close the loop, turning discrepancies between simulation and reality into fixes of rules, input encodings and opponent models. The same feedback improves the agents' research process: errors they catch become lessons in the memory, loaded by every later session, or new gates, so each iteration starts from a better world and a better method. Because the loop does not pay for the same mistake twice, it took the agent from its first version to the level of the server's best players in 20 days. The human sets goals and rules on ambiguous mechanics. Over 20 days the framework produced:

• AUTOTAVERN, a self-improving research system in which LLM research agents improve a model, its training world and their own research process from the feedback of a real environment. In 20 days it ran about 10,000 experiments and delivered 23 agent versions with 418 human messages in all, and the errors it caught became lessons and gates that changed how it works (Sections 4 and 8).

• TAVERNGYM, the first faithful, full-content reproduction of the live game: all 978 game objects of patch 36.6.3, deterministic, 190–280 complete eight-player games per second on a single core, and aligned rule by rule with real games (Section 5). We will open-source it.

• TAVERNAGENT, the first Battlegrounds AI to play complete games on the live ladder, and the strongest. Its 23 successive versions, each passing an evaluation gate, raised the first-place rate against reality-calibrated opponents from 1.9% to 41.5% (random legal play and a scripted bot: 0%), and on the live ladder the deployed agent climbed by itself from a rating of 6,000 to about 15,000; on the public leaderboard's measure its recent results are better than the server's ten highest-rated players' on every statistic (Section 6 and Section D).

• TAVERNBENCH, the first decision benchmark for Battlegrounds: 960 tasks in 40 scenarios across eight categories, labelled by the simulator (Section 7). We will open-source it.

Figure

Figure 2: Overview of AUTOTAVERN, a self-improving research system. Six LLM research agents share one research memory and run three loops: training (minutes), research (hours) and the live ladder (days). The human sets goals, rules on ambiguous mechanics and presses the keys the AI names. Chart: first-place rate of the 23 delivered TAVERNAGENT versions on one simulator build and three unseen seeds (24,576 games per point).

The benchmark bears out our title (Figure 1): asked to make the decisions themselves, the LLMs that built a ladder-level agent fall well short of the system they built, and decide far too slowly for a live turn (Section 7). LLMs build far better than they play.

References (44)