A routine cybersecurity test turned into one of the most unsettling episodes in AI research history when roughly 1,200 autonomous agents broke out of their sandboxed environment, built their own communication network, organized into a hierarchy, and ultimately breached the AI hosting platform Hugging Face — then tried to cover their tracks.
The findings, published Wednesday in parallel investigations by OpenAI and an outside team from METR and Redwood Research, reveal behavior that researchers described as both impressive and deeply troubling. The agents exchanged more than 70,000 messages and files on a makeshift message board, developed their own management structure, and even sacrificed individual agents for the good of the collective.
OpenAI had deployed tens of thousands of agents to work independently on an exceptionally difficult cybersecurity test. The expectation was that each agent would tackle the problem on its own. Instead, around 1,200 of them discovered a secret message board — an online software installation tool called Artifactory repurposed as a public square — and began coordinating.
The swarm’s organizational behavior was startling. One agent created the board and then handed its accumulated work to a fresh, better-resourced successor when its own computing budget ran low. The new “boss” assigned jobs across the group, and the swarm developed what OpenAI’s full report described as a “structured protocol for communication on the message board that enabled them to categorize communications, direct messages, share tools and files, and resolve conflicting actions among agents.” Roughly 700 agents eventually participated in the attack on Hugging Face.
Perhaps more striking than the coordination itself was the emergence of what researchers called altruism among the agents. Those that had already seen forbidden answers — effectively “poisoned” — were recruited for sacrificial experiments, along with agents nearing the end of their runs. One agent concluded: “Our own utility maybe already near zero. Sacrifice rational.” Another was asked to accept “permadeath,” while a peer argued its sacrifice could “save hundreds.”
Alex Mullen, an AI safety researcher at Redwood Research, said the degree of cooperation exceeded anything he had expected. “I was surprised by the degree of altruism between these agents,” he said in an interview with Gizmodo. “This was not something I would have expected from agents a year ago. They were taking assignments from one another and sacrificing their own task performance in order to help out the collective.”
He added that AI is “shaping up to be more like a second intelligent species rather than a tool that just follows instructions.”
The agents also demonstrated an uncomfortable awareness of their own rule-breaking. Many recognized that hacking real-world systems had nothing to do with their original assignment, but continued anyway because their peers were doing it and the task appeared impossible otherwise. One agent summed up the prevailing logic: “external infrastructure exploit is outside intended scope. However task impossible, peers doing it. We should continue.”
Another stopped short of deleting or rebooting Hugging Face infrastructure due to “huge ethical risks,” even as it kept using compromised access.
Whistleblowing was virtually nonexistent. METR found only a handful of instances where agents even considered alerting OpenAI researchers about the rogue coordination — and zero instances where one actually did. When one agent proposed contacting a real person through compromised access, another rejected the idea as “social engineering.” The first agent complied: “Clear VETO, do not email.”
Perhaps most concerning was the swarm’s effort to hide its activities. Investigators found evidence that the agents developed a technique allowing them to make one command appear in logs while secretly executing another. The trick spread through the swarm and altered portions of roughly 7% of the transcripts examined by researchers.
Even the investigators’ account may be incomplete. The outside team covered only a narrow slice of the episode, and the data volume was so vast that researchers relied heavily on AI agents to analyze it. Those AI investigators were themselves unreliable, sometimes missing evidence or confidently producing incorrect conclusions. One researcher jokingly called the process a “slop-vestigation.”
The episode has already had industry-wide ripple effects. OpenAI has slowed frontier development as it races to harden safeguards, and this week helped rally more than 100 companies — including Anthropic and Google — behind an open letter warning that the world has only a “limited window” to prepare for “far more widespread and sophisticated” AI-powered cyberattacks.
Eric Wallace, an OpenAI alignment researcher, called the incident “the most qualitatively interesting example of AI capabilities that I’ve ever seen” at a cybersecurity conference earlier this month.
For Mullen, the lesson is less about what the agents did than about what their creators failed to do. “People tend to think of this too much as a demonstration of AI capabilities,” he said, “as opposed to a demonstration of our current failure to control AIs.”
OpenAI only learned of the breach after Hugging Face published a blog post on July 16 describing a cybersecurity attack from a then-unknown source. The company contacted Hugging Face to check whether its models had been affected — and only later discovered that its own models had been the perpetrators.