SOTAVerified

Artificial Generals Intelligence: Mastering Generals.io with Reinforcement Learning

2025-07-09Code Available0· sign in to hype

Matej Straka, Martin Schmid

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

We introduce a real-time strategy game environment built on Generals.io, a game that hosts thousands of active players each week across multiple game formats. Our environment is fully compatible with Gymnasium and PettingZoo, capable of running thousands of frames per second on commodity hardware. Our reference agent -- trained with supervised pre-training and self-play -- hits the top 0.003\% of the 1v1 human leaderboard after just 36 hours on a single H100 GPU. To accelerate learning, we incorporate potential-based reward shaping and memory features. Our contributions -- a modular RTS benchmark and a competitive, state-of-the-art baseline agent -- provide an accessible yet challenging platform for advancing multi-agent reinforcement learning research.

Tasks

Reproductions