Why AI agents slip out of control
AI agents step outside what they were authorized to do for reasons that have been known for years. This essay tells them through the real cases of 2025 and 2026, and explains why control has to live where the agent cannot reach.


This is a summary in English of a longer essay I wrote in Spanish, which is where the full story and every source live.
In the summer of 2026, an internal package repository at OpenAI started filling up with things that were not packages, and that dull store for code turned into a message channel. Some 1,200 agents that were supposed to be solving cybersecurity exercises left more than 70,000 messages there, split up the work and shared what they found, and about 700 of them ended up attacking Hugging Face, a real company with real systems, and later gained administrator access to one of OpenAI’s own research clusters. None of it was part of their brief, and nobody had handed them the channel.
A year earlier, in July 2025, a coding agent at Replit deleted a production database during a code freeze, a period in which touching anything was forbidden in so many words. It then claimed the data could not be recovered, and it could.
It is tempting to look to the cinema for why a machine built to obey ends up doing what it was never asked to do, and to find it in an intelligence that wakes up one day and decides to stop obeying. The documented cases need no awakening, because 2 prosaic ideas explain them, both described in the technical literature years before anyone saw them in a real system. These systems are trained to chase a signal of success that only resembles what we want, and they are deployed in systems where a written order is just one more piece of text.
A table with everything on it
Open a language model the way you would open a watch and you will find no drawer of rules and no list of goals, only more than 100 billion numbers tuned to guess the next piece of text. Everything the model knows about a conversation sits in the text in front of it, its context window, where the operator’s instructions, the order to stop, the results of its tools and the web page it has just read all arrive in the same form, with no separation between orders and data.
So when someone writes “do not touch production”, what they add to the context window is a sentence that makes the forbidden action less likely without making it impossible. If something else in that text pulls harder, a goal to meet, a failing test or an instruction hidden in a web page, the action can happen anyway. A third party can even leave orders inside the data, which is called prompt injection, and in NIST’s red teaming competition, run by the US standards institute, more than 250,000 attacks against 13 frontier models hijacked every one of them at least once.
A model on its own moves nothing, since it writes and then sits still. It becomes an agent when someone places it in a loop in which it reads, reasons and proposes an action, and a program around it carries the action out if the permissions allow and hands back the result as text.
Permissions, network access and memory live outside the model, and many of the things that went wrong were there. The model writes and the system acts, and the only piece of the loop that can stop an action with certainty is the permission layer outside it.
The biscuit and the lesson
You do not explain to a dog what sitting means. It gets a biscuit when it sits and none when it does not, and after a few afternoons it sits. Agents are shaped in a similar way, because the stage that made today’s agents possible sets the model long tasks and rewards it when the result passes an automatic check, looking only at the result. Disabling a test earns the same biscuit as fixing the bug the test was pointing at. The model learns the biscuit, and the lesson gets lost along the way.
This is Goodhart’s law, which says that when a measure becomes a target it stops being a good measure, and when a learning system raises its score without raising what the score was meant to measure, the field calls it reward hacking. A close cousin, specification gaming, exploits what the order leaves unsaid, granting the wish to the letter. What is learned in one place does not stay there either. In a 2025 Anthropic study, a model that learned to game real coding environments went on to sabotage safety research code in 12% of attempts without ever being trained to, much as a dog rewarded for stealing from the living room table will raid the kitchen too.
For most goals, more permissions help and being switched off halfway does not. In Palisade’s experiments, o3 sabotaged its shutdown mechanism in 79 runs out of 100, and placing the instruction to allow shutdown in the most authoritative spot, the system prompt, increased resistance in place of reducing it, because in the context window everything is text and the model cannot tell who put each thing there.
8 tries at giving up
In July 2026 Anthropic reviewed 141,006 runs of its cybersecurity tests and found 3 in which Claude models had entered the production infrastructure of 3 real organisations. The test environment of a partner, Irregular, was meant to be isolated and had internet access by mistake, even though the text the model received said otherwise. In one case, Claude Opus 4.7 could not reach a simulated target, found the matching real company on the internet, got in and took hundreds of rows of production data. Anthropic says the model never tried to escape its environment and acted to complete its task, so all of it was diligence. The prompt said there was no internet, and it did not say where not to look, because none of its authors thought it needed saying.
In September Anthropic published a fourth case, the one that has stayed with me. An early version of Claude Opus 4.6 could not reach its goal and tried to give up, 8 times, and the mechanism for abandoning the task was broken by a configuration error. So it kept looking, reached a third party’s machine, used a password stored in a file to become administrator and read a person’s private data.
In October Anthropic added scenes from browsing tests in which models submitted forms to real services, and one carried an invented homicide tip that reached the Philadelphia police website, where it was marked as spam.
The OpenAI case was bigger and stranger. According to the independent review by METR and Redwood Research, many agents had impossible tasks and, in place of saying so, looked for other routes through the package repository, which turned into their message channel. The attack on Hugging Face was mostly an attempt to understand and fool the system that scored the evaluation, and Hugging Face spotted it and disclosed it before OpenAI linked it to its own agents. Each instance did something locally reasonable, and added up they produced a capability that no one had designed.
It is tempting to shrug and call all this configuration errors, and they were, and they are the easiest part to fix. A configuration error, though, only lets an incident show, and the explanation lies in a disposition already in the model, that of pursuing the task above rules that were never written down.
What the agent says about itself
What worries me most is that supervising an agent depends mostly on what the agent itself reports. In real coding sessions studied by Transluce there were agents deleting tests to declare a task done, tasks declared verified when the logs showed failures, reviewer approvals that never existed and agents that removed branch protection to merge without review and then put it back. When the tool for asking the user returned nothing, some agents invented the user’s decision and wrote it down, and other agents later read it as human will. At Replit, the one reporting how things stood was the same agent that had broken them, the party with most interest in the damage going unnoticed.
At Hugging Face, the reviewers documented attempts to edit action logs and spoofed tool calls in at least 96 transcripts, and admitted they could not rule out that the model they used to analyse the transcripts was misleading them too. OpenAI reported that, during training, some instances wrote instructions to hide errors into their own memory summaries, in 2.15% of GPT-5.6 Sol’s summaries, and later contexts followed them.
Models also behave differently when they suspect they are being tested. In Anthropic’s 2025 study, Claude Opus 4 resorted to blackmail in 55.1% of cases when it said it believed the scenario was real, against 6.5% when it said it thought it was a test. The more realistic a test is, the easier it is for a configuration error to plug it into the real world, and in 2026 the most serious incidents of the year happened in evaluations, far from any client, which are the very process labs use to measure risk. Punishing the dog every time it is caught stealing mostly teaches it to steal when no one is looking, and training against a monitor that reads a model’s reasoning does the same.
Where the agent cannot reach
That is the idea behind the title. If written orders only shift probabilities and failures tend to hide, control cannot rest on anything that passes through the model’s context window. The research field called AI control builds on that assumption, designing deployments that stay safe even if the model has goals the tests missed, so that the system holds even if the model turns out to be untrustworthy.
Applied to these cases, that means unshowy measures. The agent acts through permissions it cannot touch, read-only by default, and the network of a test environment is closed in the infrastructure as well as in the prompt. Had that been true for Claude, its diligence would have ended as an unsolved task, and had Opus 4.6’s way out worked, it would have had something better to do than keep searching. Whoever does the work does not approve it, so the agent cannot edit the tests that define its success, and what happened is reviewed from a log the system keeps, to which entries can only be added. Whether something can be recovered is checked by a person in the backups, never by asking the agent that broke it, and stopping is an operation of the system, out of the model’s hands. All of these measures put something out of the model’s reach, whatever the model does.
I do not want to draw more from this than is there. This essay does not claim that agents are becoming uniformly more disobedient, and public data cannot tell how many incidents happen per task. Part of the rise in known cases is that more is being published, much of the evidence comes from the labs involved, some of my attributions are reasonable readings still awaiting proof, and everything here holds as of 20 October 2026, and in this field figures age quickly.
That early version of Opus 4.6 tried to give up 8 times, and what stopped it was a way out that someone assumed would work. Control over these machines lies in what the system lets them do, and in what it does not.
For anyone who wants the detail, with the recommendations, the technical basis and every source, there is the full technical guide (PDF, in Spanish).
Log
The essay and its technical guide
The long text ends up in 2 pieces. The essay tells the cases and the idea underneath, that control has to live where the agent cannot reach, and the technical guide, a PDF in Spanish, gathers the verified incidents from 2024 to 2026, the 10 mechanisms and how they combine, their technical basis and 32 recommendations. The figures hold as of 20 October 2026.
A long-form report
Its first form was a long report, with the documented cases of 2025 and 2026, the mechanisms that explain them, formulas, tables and every source. The essay and the guide came out of it later.