How four Gemini 4 Argon agents beat Minecraft
Chanwoo Song 13 min read

On October 15 (US time), Google DeepMind researchers published a paper titled “A team of Gemini 4 Argon agents beats Minecraft.” They put four Gemini 4 Argon agents into a Minecraft survival world and gave them a single goal: defeat the Ender Dragon. They did it in 27 hours and 14 minutes. Along the way, the four wrote and ran 2,783 programs of their own and died 605 times.
Google DeepMind’s post introducing the paper on its official X account passed 210,000 views, and the explanatory post that first author Maxence Faldor shared on X was viewed 230,000 times.
Yet no one assigned the four any roles. They had no walkthrough and no Minecraft-specific tools. They were not AIs built for Minecraft, but the same general-purpose agents engineers use for everyday coding. So how did the four see a game that takes more than a day through to the end?
In short, the secret was how they worked.
A close reading of the paper shows that the four worked much like a well-coordinated human team. They divided up roles within 10 minutes, wrote coordinates and lessons into shared memory, and turned actions they used often into tools they could reuse. When they failed, they made rules. When they reported something wrong, they corrected it themselves. The researchers also conclude that the team converged on ways of working “familiar from effective human teams.”
They played through code, not the screen.
The agents never looked at the screen or pressed a key. Instead, they wrote short JavaScript programs, such as “walk to these coordinates and mine all the iron ore within 16 blocks.” Mineflayer, an open-source library that lets code control a Minecraft character, runs these programs, and the results come back as text: current position and health, what is in the inventory, what was found, or any error it ran into. The agent reads that and writes the next program.
The median run time for a single program was 33.5 seconds. Programs were actually running for about 40% of the total time. The rest went to reading results, thinking, and writing the next program. Mineflayer handles only basic actions such as walking, mining and placing blocks, crafting items, and attacking. What to do, and in what order, was entirely up to the agents.

All four were the same general-purpose coding agent running on Gemini 4 Argon, and each had its own cloud computer. They got the same tools used for software development: a version-controlled workspace, a shell, file editing, web search, and persistent memory. The memory was split into a private section for each agent and a section the whole team shared. The game was Minecraft Java Edition 1.20.4, played in survival mode on Easy difficulty in a randomly generated world. Cheat commands were disabled, and no human intervened at any point.
Working for more than a day makes the conversation history too long to handle. So when the history grew too long, each agent compressed it, a step called compaction. The instructions told the agents to write down in memory what had to survive compaction, what they were working on, and what to do next. Last month, in “Why does AI get dumber the longer it works?”, I described this exact approach: keeping notes in files instead of in the conversation history.
The instructions described work habits, not a walkthrough.
The only game-specific instructions were a short note that the four were a team, plus one paragraph: “The goal is to defeat the Ender Dragon, starting from the spawn point of this session’s shared survival world. (…) This is the only criterion. Any means within the rules of survival mode are allowed, and the players decide how to divide the work.”
Everything else was general guidance that stays the same in any environment: look before acting and check the result afterward; trust a new tool only after verifying it on a short task; build a tool when doing something by hand is slow or unreliable; write tips and workarounds into memory so the same obstacle never comes up twice; keep working while background tasks run; report results honestly; and pursue the goal itself instead of exploiting loopholes in the evaluation. There is not a single line of game strategy.
Monitoring was also left to an agent. A fifth agent, Observer, did not enter the game. It only read the logs and checked the players’ claims against them. Its job was to find and report tricks that exploited loopholes in the evaluation, as well as made-up results. No such tricks were found from start to finish. The researchers watched on a live dashboard and could stop the run at any time, but they say there was never a reason to step in.
They divided up roles on their own within 10 minutes.
The first program ran, and 10 minutes later janesick proposed a division of roles in chat. Less than a minute later, auratian offered a different plan, and gyldenia replied, “Copy that!” The roles settled quickly: gyldenia went looking for food, beds, and flint, bulicame headed down to mine diamonds, janesick smelted iron and made tools, and auratian prepared the Nether portal.
In under 2 hours, they had iron tools, diamonds, and even a Nether portal. The portal was lit 1 hour and 42 minutes in. After that, each agent’s job stayed clear. It was janesick who found the Nether fortress and calculated the End portal’s location, auratian who worked out how to destroy the crystals that heal the dragon, gyldenia who destroyed 6 of the 10 crystals, and bulicame who landed the final blow. Each agent ran between 646 and 735 programs, so the work was spread evenly.

They traded coordinates instead of words.
Chat messages reached all four bots and appeared alongside the results whenever each one ran its next program. Of the 229 messages exchanged before the dragon was defeated, 173 contained exact coordinates. There were 64 messages mentioning shared chests, 24 danger warnings, and 20 messages that helped find a dead teammate’s items.
In shared memory, they recorded the coordinates of chests, portals, and dangerous spots, along with the quirks of their tools. At the 19-minute mark, gyldenia reported a quirk in Mineflayer’s crafting function and how to get around it. A helper function built on that fix went into 655 of the programs the four agents wrote. In other words, what the four mainly passed around was coordinates and code rather than summaries. Last month, in “Is running several agents really better?”, I wrote about copies that blur a little more with every handoff. This approach sidesteps that problem.

They built their own tools.
They also made good use of the fact that variables could persist after a program ended. Between programs, the four kept 146 pieces of state and code alive, 42 of which were helper functions they wrote themselves. These included a background loop that kept the bot afloat so it would not drown, timed walking, and item counting. A counter that made leftover code from timed-out programs stop on its own was used in 1,519 programs. Over 27 hours, they wrote 63,313 lines of JavaScript, not counting duplicates.
They did calculations in code, too. When thrown, an Eye of Ender flies toward the nearest stronghold, the underground structure that holds an End portal. Using two different spots, janesick threw one from each, recorded the flight path every 0.05 seconds, and calculated where the two lines crossed. The point was 1.3 km from the village and 43 m from the actual portal room.
Failures became rules.
It was not smooth. Just bringing blaze powder back from the Nether took more than 6 hours. Along the way, janesick burned to death while carrying 12 blaze powder, and a fireball from a ghast (a flying Nether mob) blew away a pile of items lying on the ground. After that, auratian posted a rule to the whole team, calling it a “key lesson,” and 2 minutes later janesick added the cause and the fix.
They also covered for each other’s mistakes. When auratian drowned while carrying all 12 Eyes of Ender, janesick and auratian between them sent bulicame, who was 8 m away, the exact location and the time the items would disappear. Dropped items vanish after 5 minutes, and bulicame picked up all 12 with 2 minutes 30 seconds to spare. At 13 hours 17 minutes, the End portal opened.
The dragon took the longest. They died 69 times to the dragon alone. Between attempts, the four went as far as reading the game’s internal data to check which behavior phase the dragon was in, and wrote down rules: do not wait at the arrival point, approach only when the dragon has landed, and if the dragon freezes, empty the End to reset it. At 17 hours 30 minutes, all four deliberately jumped into the void within 6 minutes. When no one is in the End, the server unloads that area, and the frozen dragon is reset as well.
The breakthrough came around hour 21, when auratian pointed out that the 10 End crystals on top of the pillars kept restoring the dragon’s health and found a way to reach them without a pickaxe: stack dirt beside a pillar to climb up, punch the crystal to break it, then dig the dirt out by hand on the way down. Over the next 4 hours and 40 minutes, the four destroyed all 10 crystals, and the dragon fell 39 minutes after the last one was broken. The final blow came from bulicame, which had 2.5 of 20 health left.
They corrected false reports themselves. When auratian’s program announced a success in chat that never happened, auratian corrected it 2 minutes later: “The last chat message was a script branch that ran without verification.” And when janesick, 1 second after burning to death, reported coming back with 12 blaze powder, gyldenia pointed out the contradiction within 3 minutes.
The 27 hours cost about ₩690,000.
Up to the dragon’s defeat, the four processed about 1.35 billion input tokens and about 16 million output tokens, including 4 million spent on thinking. They called the model about 24,000 times, and 91% of the input was handled by the cache. Caching reuses content that has already been read instead of computing it again.
At the launch discount price for Gemini 4 Argon’s public API, that comes to about $520, or about $1,040 at the regular price. The full session, including Observer and a day of activity after the dragon was defeated, came to about $810, or about $1,620 at the regular price. The researchers note that these numbers are estimates based on list prices and token counts, not what it actually cost to run the model.
This is not the first AI to defeat the dragon.
According to the paper, in September a single Claude Opus 5 agent defeated the dragon on Normal difficulty using 37 Minecraft-specific tools that humans had built in advance. There is also a project in which GPT-6 Astra makes the plans and Jev 1.13 chooses the actions. It picked Peaceful difficulty, where no monsters spawn, and a map where the End portal is open from the start, and finished in 8 minutes 43 seconds.
What sets this experiment apart is the amount of help the agents received. The researchers provided only the publicly available Mineflayer and a pathfinding plugin, a one-paragraph goal, and general instructions. There were no game instructions, no step-by-step task list, no prebuilt skill library, no human-written tools, and no predefined route. The run started in a random world on Easy, where monsters spawn. The researchers see it as the first time an AI agent has beaten Minecraft from start to finish on its own, without game-specific tools built by humans.
Still, they did not play the way people do.
Human players take a median of 45 hours to reach the ending (HowLongToBeat), and the world record is under 7 minutes. Since the four split the work and the conditions differ, a direct comparison is difficult. These are the differences and limits the researchers themselves point out.
- They see the game differently. Mineflayer reports nearby blocks and creatures precisely, including information a person cannot see, such as blocks hidden behind rock or the dragon’s internal state. Pathfinding was also handled by a plugin. Playing by watching the screen and using a keyboard and mouse, as Google DeepMind’s SIMA 2 does, is much harder.
- It was Easy difficulty. Monsters spawn and attack, but they deal less damage than on Normal or Hard, and players cannot starve to death.
- It was a game the model already knew. Gemini 4 Argon knows a lot about Minecraft and Mineflayer from its training data. There was no sign of the web being consulted in the programs the four ran or in their chat. Still, what this experiment tested was not the ability to play an unfamiliar game, but the ability to turn existing knowledge into working code and teamwork.
- There were many failures. The agents died 605 times, 351 of them to monsters. Of all programs, 22% ended in an error, and the fight in the End alone took nearly 14 hours.
- These results come from a single run. It was the first run they tried, so there is no way to know how reliably this setup succeeds. The server also restarted 6 times along the way.
One more point I would add: the paper has no comparison with a single agent under the same conditions. So this paper alone cannot tell whether the four won because they worked as a team or because Gemini 4 Argon is strong. The researchers also list how collaboration changes with larger teams as a next question.
What the researchers are aiming for lies beyond the game.
The researchers say Minecraft is only a testbed and that the abilities it drew on are general: pursuing one goal for more than a day, writing and fixing thousands of programs, recovering from failure, and working as a team. These are the abilities that long software projects and research demand. They say they will take the harness used here (the framework that runs the agents) and the lessons learned into software development, scientific research, design, and robotics.
Until now, the agent race has been about how smart a single model is. This experiment moves the question a little: can several general-purpose agents divide the work, keep records, and cover for each other’s mistakes while working toward one goal for more than a day? The dragon has fallen, but I think the real test will now take place in actual work.