arXiv · 2507.06825
Artificial Generals Intelligence: Mastering Generals.io with Reinforcement Learning
Abstract
We introduce a real-time strategy game environment based on Generals.io, a game with thousands of weekly active players. Our environment is fully compatible with Gymnasium and PettingZoo and is capable of running thousands of frames per second on commodity hardware. We also present a reference agent, trained with supervised pre-training and self-play, which reached the top 0.003% of the 1v1 human leaderboard after only 36 hours on a single H100 GPU. To accelerate learning, we incorporate potential-based reward shaping and memory features. Our contributions of a modular RTS benchmark and a competitive baseline agent provide an accessible yet challenging platform for advancing multi-agent reinforcement learning research. The documented code, together with examples and tutorials, is available at https://github.com/strakam/generals-bots.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Matej Straka, Martin Schmid. 2025-07-09. Artificial Generals Intelligence: Mastering Generals.io with Reinforcement Learning. https://arxiv.org/abs/2507.06825
Cite the original work for its findings. Save a collection to share your selection of sources.