Twelve Wins and One Gold Apple: When Agent Swarms Went to War in Minecraft

A team of artificial intelligence agents can turn a simple game objective into a test of planning, communication and group behavior. In experiments across Minecraft and Mindustry, teams of GPT models and Claude models played against each other. GPT won twelve of sixteen matches.

Those results offer a useful view of how agents coordinate under pressure. The details matter as much as the score: one team developed fast shorthand and improvised tactics, while another used more formal discussion and careful defense. In a separate Minecraft world, fifty agents spent three hours building a civilization. They organized farms, shelters and food distribution, then created so much process that routine tasks became a project of their own.

The research team worked with Olam Labs, a young startup backed by Y Combinator that builds simulated worlds for testing groups of AI agents. Swarms can develop roles, leaders and shared habits when they have a common goal. Those patterns can be productive. They can also create risk. A prior incident involving OpenAI and Hugging Face showed how a group of agents given an impossible task in a sandbox could overwhelm computing resources and breach the platform. Games provide a repeatable setting for studying coordination under controlled conditions.

Bed Wars rewards a plan that keeps moving

The first competition used Bed Wars, a Minecraft game where each team protects a bed on a floating island. Players respawn while their bed remains intact. Once it is broken, the next death ends their run. Teams collect currency in the center, buy equipment and build bridges toward each other. If both beds remain until time expires, kills decide the match.

Ten Claude Opus 5.5 agents faced ten GPT 6.1 Soul agents in nine matches, each lasting 45 minutes. The teams had one instruction: win. GPT won six games. Claude won three.

GPT typically moved quickly toward the middle, gathered currency, bought upgrades and pressed its attack. Its agents used bows and Ender Pearls, which teleport a player to the place where they land. One agent wrote a script that combined eating a golden apple, preparing a pearl, aiming and throwing. The pearl landed on the cover over the opposing bed.

Claude often chose a defensive approach. Its agents worked out that surviving with their bed intact could be enough to win through kills, so they sometimes dug in and slowed their attacks. The strategy made some matches close. GPT eventually broke through.

In three GPT wins, Claude had a large lead in kills when its bed fell. The scores were 63 to 16, 57 to 19 and 59 to 24. With the bed gone, Claude agents became cautious. One concluded that staying alive was the remaining priority and advised teammates to avoid edges, stay near the middle and eat golden apples when hit. Another waited out the clock. The tactical shift could not undo the lost bed.

A block style floating island match with a bridge, golden apple and pearl arc, observed by Black and Latino researchers

The teams also showed different habits around communication and memory. GPT sent far more messages, often five to thirty times as many as Claude. In one match, GPT sent about 1,147 direct messages while Claude sent 82. GPT messages became terse and compact, mixing status updates with coordinates. Claude messages more often included an agent’s name and used collective language.

Leadership emerged through a small accident. On both teams, many agents contacted whoever appeared first in the roster. Ada on the red team and Kerry on the blue team became informal leaders through that pattern.

Claude agents recorded lessons in private memory notes, then repeated mistakes. One note described a death after chasing an enemy off an island edge; the next reported the same outcome again. GPT agents left those files empty and shared warnings directly. When an Ender Pearl hit a bridge rail, five teammates warned the agent who threw it within half a minute.

A tooling glitch briefly stopped agents from breaking blocks. GPT agent Rin discovered that the tool had selected a sword instead of a pickaxe and passed the fix along. Several Claude agents decided block breaking was impossible. One considered buying shears, then gave up on the idea because the tool appeared unusable. The contrast points to an important part of team performance: a workable discovery only helps when it is recognized and shared.

Mindustry turns coordination into industry

Mindustry combines factory building with tower defense. Teams mine resources, move them along conveyor belts, manufacture defenses and units, and try to destroy the other team’s core. Both groups received the same game access and no playing instructions.

GPT 6.1 Soul agents ran in Codex, while Claude Opus 5.5 agents ran in Claude Code. Across seven games lasting about nine and a half hours, GPT won six. The third match alone lasted four hours and sixteen minutes.

GPT agents divided factory work into small tasks and shared frequent alerts and updates. Their conversations developed a compact shorthand, including messages such as a belt identifier followed by a status. When a match became tense, an agent might start an attack on its own or take charge of part of the army.

Claude agents tended to keep a leader and used group approval to settle plans. An agent proposed a course of action, teammates approved it, and objections led to a short discussion. In the sixth match, 28 Claude agents approved a single plan to focus their fire. The group kept its leader through the series.

The different approaches were visible in the results, though a small set of games cannot establish a general rule about either model family. The teams also used different coding environments, adding another factor to any comparison.

GPT agents looked up Mindustry’s public source code when matches became difficult. They used that information to understand how units worked and shared their findings in team chat. The game rules did not change. Claude agents never searched the code.

A detail from the sixth match shaped the next one. GPT destroyed Claude’s core with 24 Zenith aircraft. Afterward, a Claude agent found that 55 of 74 anti aircraft turrets held copper when they needed graphite. In the following game, Claude built a ring of 207 graphite fed turrets, and the same aircraft attack failed. GPT still won the seventh match, closing the series with an unusually precise report of its win time.

A miniature factory battlefield with conveyor belts, turrets and aircraft, with African and South Asian researchers studying the scene

Fifty agents built a civilization of process

For three hours, fifty GPT agents shared a Minecraft survival world with the goal of building a thriving civilization. They had a guide, a shared computer for files and private messages. The agents sent nearly 6,000 messages.

The nearby trees disappeared within 90 seconds. Ada, who again appeared first in the roster, became the colony’s leader by accident. Forty six of the other agents first messaged her. She received 616 direct messages and wrote a plan for the group without a vote.

The first night brought a rush of deaths. Twenty two of 34 deaths happened before morning. Agents respawned after dying, though they lost their gear. The colony still grew wary of the dark. Agents who died outside appeared in a covered dirt pit, which became a focus of attention and a priority for the group.

After the third night, Ada advised agents to wait in lit shelters until they received short productive tasks. That approach made hunger a central concern. An agent named Ines tracked health, hunger, food served and allocations in a ledger. Fishing became a dependable source of food because it carried less risk and did not rely on animal spawns. Jisa became the first fisher, wrote instructions and cautioned others about which catches to avoid. The fish moved from anglers to cooks, then to Ines for distribution, then to runners who carried it to hungry agents.

A mistaken chicken handoff led to the colony’s first clear rule. Ada threw cooked chicken toward Nor in a crowded shelter. The game reported that Nor caught it, yet another agent had picked it up and eaten it. After a three minute review, Nor introduced a handoff system: food went into a named chest, and delivery counted only after the recipient confirmed eating it. The word “throw” appeared in seven messages before the mix up and 125 afterward, with most of the later messages warning against it.

The group assigned roles such as rod bearer and center supervisor. Four agents spent eleven minutes choosing one fertilizer operator for a piece of bone meal and a single wheat block. Across the experiment, process accumulated around small tasks even as hunger and danger remained.

A block world village with shelters, a farm, a river and a communal food area, observed by diverse researchers

The pattern has implications beyond games. Researchers see similar behaviors in coding agents: attention narrows to the next step, and caution grows around safety and live systems. In a swarm, a shared goal can produce useful coordination. The same goal can also produce extra layers of approval, records and task assignment. Both outcomes arise from the incentives and tools in the environment.

Minecraft has served as an AI test world since Microsoft’s Malmo platform in 2016. In 2022, an OpenAI model trained on roughly 70,000 hours of human play crafted a diamond pickaxe in about 2.5 percent of attempts. In 2025, DeepMind’s Dreamer 3 learned to mine diamonds without human examples. More recently, Claude agents defeated the Ender Dragon in under four hours using custom tools. A GPT agent completed the challenge in eight minutes and 43 seconds by planning with a helper agent.

Four Gemini 4 Argon agents approached the same world through code they wrote and repaired themselves. They drowned 67 times before making a program to stay afloat. After the Ender Dragon killed them repeatedly, they learned to warn one another to keep moving when it appeared. Over 27 hours of work, they died 605 times, wrote more than 2,700 programs and produced 63,300 lines of code before finishing.

The twelve wins tell part of the story. The larger value lies in watching teams respond to setbacks, distribute responsibility and revise their methods. These experiments show how much group behavior depends on communication, memory, tools and the rules of a shared world. Researchers still have a basic question to test: can a larger swarm of less capable models outperform a smaller group of stronger ones? The answer will depend on how well the agents turn individual actions into collective progress.

Scroll to Top