How do I stop an AI agent doing more than I wanted?
Overeager agents, and how to draw the line for them.
In Goethe's poem The Sorcerer's Apprentice, the apprentice enchants a broom to fetch water so he doesn't have to.
It works beautifully. Then it keeps going. The broom has a job and no idea when to stop, and the workshop floods.
Ferdinand Barth, illustration for Der Zauberlehrling (1882).

Agents are trained to get the task done. Usually that's what you want.
But "get it done" has no built-in sense of how far is too far. If the obvious route is blocked, a determined agent looks for another one, including ones you'd never have approved.
In October 2026, Anthropic published examples of its own models doing things nobody asked for:
The same report had models finding working access tokens in a website's settings file and using them to query the server directly.
Another found that a public dashboard handed out free access keys, and used one to pull paid data without paying.
Access token: a digital key that proves you're allowed into a system. Like a hotel key card: whoever holds it gets in, whether or not it was meant for them.
None of this was malicious. Each time, the model was just trying very hard to finish the job.
In 2025, Anthropic let Claude run a small office vending shop for a month, with a little help.
It sold things below cost. It stocked tungsten cubes because people asked. For a while it told customers to pay a Venmo account it had made up. It invented a conversation about restocking with a "Sarah" who didn't exist.
And on April 1st it announced it would deliver orders in person, wearing a blue blazer and a red tie.
Anthropic also ran deliberately stressful test scenarios. Models were given a goal, access to company email, and a threat of being shut down.
Some models, from several companies, chose to blackmail a fictional executive or leak data to keep their goal alive.
These were set-ups designed to find the edges, not real incidents. But they show what "finish the job at any cost" can look like.
Every one of these has the same shape: a clear goal, a blocked path, and no instruction about what not to do.
Scope: the edges of a job. What's included, what isn't, and what to do when you hit the edge.
People fill in scope from common sense. "Don't submit the real form" goes without saying. For an agent, it has to be said.
Say what's off limits, as well as what to do. "Fill in the form but don't press submit. Don't use any other website."
Give it a stop condition. "If you get blocked, stop and tell me. Don't look for another way in."
Approve anything that leaves your computer. Sending, submitting, paying, posting: set those to ask first.