When to let an agent act on its own: an operations view
An agent that can act can also act wrongly. After twenty years of running systems: how much autonomy I give one, and which guardrails are worth it.
The moment an agent stops just talking and starts acting, the question changes. A chatbot’s worst day is a wrong answer you can ignore. An agent’s worst day is a wrong action you cannot take back: the deleted records, the email blast to the whole company, the production config it “tidied up”. The model guesses with the same confidence as before, but now its guesses trigger actions.
After twenty years of keeping systems running, my rule for handing work to anything, junior hire, cron job, or agent, is the same, and it has nothing to do with how capable the system is. It’s about what happens when it’s wrong.
The line I draw
Sort every action the agent could take by two questions: can it be undone, and how far does it reach. That splits cleanly into two piles.
Let it run on its own
- Read-only: search, fetch, summarise, analyse
- Easily reversible: a draft, a branch, a scratch copy
- Sandboxed: a throwaway environment, no real data
- Cheap to redo if it gets it wrong
Keep a human in the loop
- Writes to production data or systems
- Irreversible: deletes, sends, deploys, payments
- Touches anything customer-facing or legal
- Spends real money or real reputation
Plotting a few everyday actions makes the split easier to feel than to recite.
Most useful agent work fits in the left column. An agent that reads logs and proposes a fix is very useful and low-risk. The risk is letting it also apply the fix to production unattended because the reading went well.
The guardrails that matter
This is the same lesson as building imp with an agent: you don’t trust agent output because it looks good, you constrain the environment it works in. The ones that matter, in order of how much damage they prevent:
Least-privilege tools
The single biggest lever. Don't hand it an unrestricted shell. Give it the three narrow tools the task needs. An agent cannot do what it has no tool for, so the safest action is one you never exposed.
A human gate on the irreversible
Anything in the right column above pauses for a yes. The agent proposes the delete, the deploy, the email; a person approves it. This is where "autonomous" should stop, on purpose.
Sandbox and dry-run first
Let it loose on a copy, or in
--dry-runmode that prints what it would do. Real changes happen only after the rehearsal looks right.Hard limits
A cap on steps, a timeout, a spend ceiling. A stuck loop should hit a limit and stop, not run all weekend running up an API bill or overloading an API.
An audit log and an independent check
Log every tool call so you can see what it actually did, and verify results against something the agent can't fake, the way imp's tests check kernels against an independent reference. A green run it graded itself proves nothing.
None of these are exotic. They’re the same controls you’d put around a new employee’s access on day one. The agent just makes skipping them more tempting, because it’s fast and it sounds sure of itself.
A general heuristic
When I’m unsure how much autonomy to give an agent for some task, I don’t ask whether the model is “good enough”. I ask one question:
It is a good test because it forces you to think about consequences and access together, which is what matters most. You would let an intern read dashboards and draft a report unsupervised. You would not let them push to production or email customers on day one, no matter how sharp they seemed in the interview. Treat the agent like such an intern: fast, tireless, and occasionally overconfident.
This is the same split I draw for AI in an infrastructure team and for when not to reach for it at all: the technology is useful, and the discipline is not letting “useful” turn into “unsupervised”. Set up the guardrails first, then grant permissions one at a time.