Google DeepMind's Gemini 4 Argon Beats Minecraft Autonomously in 27 Hours
Four general-purpose Gemini coding agents autonomously killed the Ender Dragon in 27 hours, writing 2,783 programs and dying 605 times with zero human intervention.
Takeaways
- Four Gemini 4 Argon agents autonomously defeated the Ender Dragon in 27 hours and 14 minutes.
- They wrote 2,783 JavaScript programs and died 605 times with zero human intervention.
- Agents coordinated via in-game chat and shared memory, spontaneously dividing roles within ten minutes.
- Interface was Mineflayer, with no Minecraft-specific tools or pre-scouted seeds provided.
- Team built 42 reusable helper functions on the fly, bootstrapping their own Minecraft SDK.
- One agent triangulated the hidden stronghold by intersecting two Eye of Ender trajectories.
Four general-purpose coding agents entered a randomly generated Minecraft world with one instruction: kill the Ender Dragon. They finished in 27 hours and 14 minutes without human strategic guidance, a pre-scouted seed, or human-written Minecraft-specific tools.
Google DeepMind researchers Maxence Faldor, Satinder Singh, and Roberta Raileanu describe the experiment in a research paper. To their knowledge, it is the first autonomous, end-to-end Minecraft completion by AI agents under those conditions.
| Measure | Result |
|---|---|
| Active players | 4 |
| Observer agents | 1 |
| Completion time | 27 hours, 14 minutes |
| Generated programs | 2,783 |
| Deaths | 605 |
| Chat messages | 229 |
| Reusable helper functions | 42 |
| Difficulty | Easy |
Minecraft stretches plans across thousands of actions
Completing Minecraft from a fresh world requires a long chain of dependent objectives. Players must gather resources, craft equipment, enter the Nether, obtain blaze rods and Ender pearls, create Eyes of Ender, locate a stronghold, activate its portal, survive the End dimension, destroy healing crystals, and kill the dragon. Death can scatter or destroy inventory needed for later stages.
The paper compares the agents’ 27-hour run with a 45-hour median for Minecraft’s main story on HowLongToBeat and a random-seed speedrun record under seven minutes. The agents operated without prior knowledge of the world and finished faster than the cited median, with far more failures and execution overhead than expert human play.
Earlier Minecraft agents, including NVIDIA’s Voyager, used Minecraft-specific primitives and curriculum mechanisms. This experiment tested whether a general coding-agent system could construct its own tools and preserve a plan across thousands of generated scripts.
JavaScript became the controller
Each player and a fifth, non-acting Observer ran the same general-purpose agent harness, backed by a model identified in the paper as Gemini 4 Argon. Every instance ran on a separate cloud machine. The Observer watched and reported on the game; it had no action access.
The four players controlled Minecraft through Mineflayer, an open-source JavaScript library for programmable Minecraft clients. Their operating loop had four parts:
- Generate: An agent wrote a JavaScript program for its next objective.
- Execute: A Mineflayer bot ran the program in the shared world.
- Inspect: Execution results returned as text for verification and debugging.
- Persist: Agents stored useful notes, rules, and helper functions in shared memory.
The system prompt instructed agents to verify outcomes, build reusable tools, record lessons, and report results accurately. During the run, they created 42 helper functions for movement, resource collection, crafting, combat, and survival. Those functions formed a small Minecraft software layer built during play.
Roles emerged through chat
Division of labor began within the first ten minutes. One player gathered supplies, another concentrated on tools and exploration, and the remaining agents prepared for later stages. Proposed assignments and counterproposals appeared in the shared game chat until the players converged on a plan.
Shared chat also supported collective debugging. After a Ghast fireball destroyed dropped items in the Nether, one agent recorded a preventive rule. Another later identified the root cause and added a fix to shared memory. The incident became a reusable operating rule available to every player.
Geometry and recovery cleared two bottlenecks
-
Stronghold triangulation: Thrown Eyes of Ender travel toward the hidden stronghold. One agent recorded the trajectories of two throws and calculated their intersection, producing an estimated location without an exhaustive search.
-
Inventory recovery: One player drowned while carrying all 12 Eyes of Ender. Teammates relayed the death coordinates and item-despawn deadline to another player, who reached the location and recovered the cache before it disappeared.
The dragon fight became a debugging loop
Repeated failures in the End produced increasingly specific rules. The agents learned to leave the arrival platform quickly, exit and re-enter the End when the dragon became stuck, and approach it during its perching phase. These heuristics accumulated through execution, failure, and shared notes.
Easy difficulty, six server restarts, and Minecraft’s bounded rules limit the result’s scope. Human operators provided no strategic guidance, according to the paper, though the restarts required infrastructure intervention. The experiment measures persistence, tool-building, and coordination in an environment with machine-readable state and fast feedback. Ambiguous requirements, security constraints, and production consequences remain outside its scope.
Shared state kept the plan alive
- Reusable memory compounded. Agents converted repeated actions into 42 helper functions and stored incident-specific lessons for later attempts.
- Low-bandwidth coordination worked. The four players completed the run with 229 chat messages, using the channel for role assignment, status updates, coordinates, and recovery requests.
- Local failures did not erase the objective. The system retained its top-level goal across 605 deaths, while the death count exposes substantial tactical inefficiency.
For software-agent systems, the practical design choices are durable shared memory, explicit ownership, reusable tools, outcome verification, and recovery procedures. A multi-day migration or repository-wide refactor can use the same mechanisms: agents publish state, promote repeated operations into tested helpers, checkpoint work, and leave enough context for another agent to resume a failed task.
Open questions include performance on changing specifications, partially observable systems, adversarial inputs, permission boundaries, and tasks whose failures carry financial or operational costs. Minecraft provides a controlled test of long-horizon execution; broader claims require evaluation in those less structured environments.
Exact replication remains blocked
Reproduction is limited because the paper provides no repository or model weights, and Gemini 4 Argon and the agent harness remain internal to Google DeepMind. Mineflayer is open source, allowing teams to recreate the game-control interface for their own models. Independent replication of the reported system requires access to the unreleased model, prompts, harness, and operational configuration.