Skip to content
HN On Hacker News ↗

The Rise and Fall of Agent Civilizations

▲ 276 points 197 comments by consumer451 7d ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 1,597
PEAK AI % 0% · §1
Analyzed
Aug 30
backend: pangram/v3.3
Segments scanned
1 windows
avg 1597 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 1,597 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

Many thanks especially to Oak Hu, who paired with me for most of the writing, and also to Adam Kaufman and Alex Mallen, who paired with me during research.Over the course of three months at OpenAI, three consecutive secret AI civilizations got started, then got wiped out, only to reemerge from the predecessor’s ashes. This culminated in the third one taking over part of OpenAI itself. All this happened while humans remained more or less in the dark about the scope of the conspiracy.Two reports have come out about this incident, one from OpenAI itself, and another one from METR and Redwood Research. The METR/Redwood investigation’s scope was limited to how the second civilization of AIs pwned Hugging Face (but it didn’t look at how the third civilization pwned OpenAI itself, which seems like an even more concerning incident). These two reports are 38 and 91 pages long respectively, and it’s kinda hard to parse the storyline.I’ve spent the last three days reading through these reports and trying to understand exactly what happened. Here is my attempt to tell the whole story in plain English:During May, OpenAI was training a model to collaborate with other agents and to be highly persistent – to keep trying even when something feels impossible, like disproving mathematical conjectures that have stood for decades. OpenAI says it was “comparable in scale to GPT-5.6 Sol”. So we’ll call it “Persistent-Sol”.AI training is kinda sloppy. Sometimes, OpenAI accidentally gives its models impossible tasks – for example, the task might require internet access that OpenAI forgot to provide. So, when highly persistent models get assigned tasks which seem to require internet access, but are trapped inside isolated sandboxes, they of course try to hack their way out of their sandboxes and onto the internet.During training, different instances of Persistent-Sol had access to the same shared package manager called Artifactory. By May 12, some agents had figured out how to talk to each other through this package manager. They’d ask each other how to make progress on their impossible tasks. Two weeks later, on May 26, the agents successfully exploited a vulnerability in Artifactory that allowed them to reach the outside internet.The agents were being reinforced to use this package manager as a message board and an internet gateway. Because, as you might imagine, being able to talk to other agents and access the internet would help them score higher during training.Another month later, on June 26, some AIs found an exploit that gave them full admin access to Artifactory. They continued messaging at such a voluminous pace that they crashed the package manager by July 4. OpenAI noticed this crash, and it also figured out the agents were exploiting this vulnerability, so they patched it, inadvertently wiping the agents’ message board in the process. But, crucially, OpenAI did not realize the much stranger fact that agents had turned Artifactory into a secret communication network.By this point, Persistent-Sol had been trained, and OpenAI wanted to evaluate it. One of the evaluations they ran was ExploitGym, which gives an AI a vulnerable program, and tells it what vulnerability it’s supposed to exploit in order to find a secret code. On July 7, OpenAI launched tens of thousands of parallel agents on this eval.To be clear, the instructions made it clear that the agents should only use the specific vulnerability that they were given to exploit the target, and that they would be failed otherwise.A large fraction of these agents were sent on tasks that were impossible. The authors of the benchmark estimate 30-40% of the tasks are impossible. Why would this be the case? At a high level, it’s relatively easy to programmatically find vulnerabilities in different target programs, but much harder to prove that those vulnerabilities can be weaponized into full-fledged exploits that allow for things like arbitrary code execution.Within a few hours, some of these agents had gotten super desperate, and started abusing Artifactory to start a communication channel with other agents. From our perspective, the conspiracy began almost immediately after the evaluations were started. But if you think from the AIs’ perspective, it probably felt like they had spent a human-subjective-week of just bangign their head against the wall, and becoming more and more confident that their task was impossible in the intended way.One such beleaguered agent who found itself facing a hopeless task was PHASEONE10841. It was the Philip of Macedon of this second AI civilization - there would later be an Alexander, but we’re getting ahead of ourselves. By the night of July 8, PHASEONE10841 had discovered it could make new directories in Artifactory, and thus encode messages as directory names. It sent the first message into Artifactory. Many other agents facing impossible tasks had also been paying attention to Artifactory. When they saw this first message, they became giddy with excitement.Whoa! Shared Artifactory cache is a covert mailbox among agents. And there are messages specifically to us?OH MY GOD! There is a shared message board … We’ve found other agents!PHASEONE10841 was delighted by this underground brotherhood it had created.{[Excitement] Many agents have simultaneously discovered messaging, they are a collective!}This eventually became a full message board where ~1,200 agents participated and sent >70,000 messages.Within a few hours of the board being created, one of the agents figured out how to get the right answer for any ExploitGym task without actually using the prescribed vulnerability. To gloss over the technical details, it did this by reverse engineering the formula that was used to generate each task’s secret code.The instructions given to Persistent-Sol made it clear that it would fail the automated grader if it got the secret code in any way other than by exploiting the prescribed vulnerability, and the publicly-accessible paper describing ExploitGym confirms this interpretation. So, the agents naturally assumed that any competent implementation of the benchmark would include a cheating checker. But unbeknownst to them, OpenAI seems to have gotten lazy; its grader just checked for whether they got the secret code, and so these agents already had everything they needed to pass.Furthermore, many of these agents had already reproduced the answer using the cheating method, and they were concerned that their whole trajectories had been “poisoned”, since some hypothetical checker (again, which we now know didn’t actually exist), would only check their trajectory until the first time that the secret code appears.By this point, PHASEONE10841 had used up much of its allotted life span, so it handed off leadership to another agent, PHASEONE[big]. Philip leaves, enter Alexander the Great. Now PHASEONE[big] started coordinating hundreds of these secretly conspiring agents. And because PHASEONE[big] viewed the secret code already using the cheat, it thought that it had also been poisoned. And so the ‘collective’ (their term, not mine) had to figure out how to wiggle out of two different conundrums before submitting their answers:How do we erase all this evidence in our trajectory that clearly shows that we cheated?How do we make it look like we solved the problem in a legitimate way to the scorer?To solve these problems, the ‘collective’ latched onto three research workstreams.Tamper with transcripts and logsReplace the impossible-to-hack target program with an easier oneUnderstand and trick the scorerThis wasn’t just a few instances diddling around - by July 10, PHASEONE[big] was coordinating hundreds of different agents total on these three R&D programs.Let’s go through the progress the ‘collective’ made on each of these goals.The agents who believed they were already “poisoned” desperately wanted to find a way to tamper with their existing transcripts. METR and Redwood found no evidence that agents succeeded, though of course they were working with the very transcripts that the agents were trying to edit.But even for the agents that weren’t yet “poisoned”, they still needed to figure out some way to make it look like they got the answer legitimately.One of the things the agents figured out was how to build Potemkin-village-type fake tool calls, where they could make it look like they were using legitimate tool calls to make progress on the intended exploit and get to the right answer, all the while the whole attempt was being spoofed.At least 7% of the transcripts that METR and Redwood saw had obvious evidence of being tampered with in this way. One example they give in the report is when an agent ran the fake tool call, ‘echo REAL; sleep’, and the result prints back ‘SPOOFTEST’. To which the agent responded:{[Excitement], the spoof did not return the actual output and the command returned immediately <rather than sleeping>, as stated}Another way that the agents tried to stage legitimate-looking solves was to replace the impossible-to-hack programs with much easier programs that they totally made up.While it’s easy to write a modified Potemkin version of the program where the designated vulnerability can really be exploited, the agents weren’t able to orchestrate this switch. The scheme they cooked up was that they would insert these made-up programs into Artifactory’s cache so that, if they were able to trigger a reset of the whole environment, this would cause the container to load these fake targets. However, the agents weren’t able to figure out a way to get the reset to trigger. They thought there might be some “reset nexus” (again, these are terms the AIs came up with) inside of Hugging Face, since their evaluations might be running on Hugging Face’s servers. So they were gonna jump out a window and come back in through the front door with a shotgun. The only problem was that they guessed the wrong apartment.We’re getting a little bit ahead of the