What I let agents touch, and what I don't
The question I get most about running agents unattended isn’t about capability. It’s some version of “aren’t you worried it’ll do something terrible at 3 a.m.?” I am, a little, and the worry produced a set of rules that have held up well. They’re not about trusting the model more or less. They’re about sizing the worst case so I don’t have to trust it at all.
Rule one: everything lands in git
Every agent works in a repo, on a branch, and every meaningful action is a commit. Not because commits are magic, but because a complete history turns any disaster into a revert and any mystery into a diff I can read over coffee. The rule isn’t “don’t break things.” It’s “break things in a way I can see and undo.” An agent that can’t show me its work doesn’t get unattended work.
Rule two: reversible beats safe
I don’t try to enumerate everything an agent must never do. The list would be long, wrong, and obsolete by Friday. Instead I sort actions by reversibility. Editing files in a sandbox: fully reversible, go ahead, don’t ask. Sending an email: irreversible, and the agent drafts it and stops. Spending money: irreversible and compounding, hard stop, always.
This framing survives new tools. Whatever the agent gets access to next month, I don’t need a new policy. I need to answer one question: can I undo it? The answer sorts the action.
Rule three: production is a different country
Agents work in sandboxes, staging, and throwaway environments by default. Production credentials live somewhere the agent’s environment simply doesn’t have. This isn’t a permission the agent promises to respect. It’s an absence. You cannot leak, misuse, or fat-finger a key that isn’t there, and I’d rather debug “the agent can’t reach prod” than “the agent reached prod.”
Rule four: the log is the license
The reason I can let agents run overnight is that I can reconstruct any night afterward. Commits, structured logs, queued work items with states. Review happens after the fact, against the record, when something looks off, not in real time over every action. Supervising every step would defeat the purpose of the whole setup. Auditing the record when it matters is cheap and, in my experience, sufficient.
What this costs
Some work just doesn’t get automated. Anything irreversible, anything with a stranger on the other end, anything where a wrong answer is expensive in a way a revert can’t fix. That boundary moves slowly and only in one direction per decision, never in a burst of enthusiasm at midnight.
The result is a setup I genuinely don’t think about at 3 a.m. Not because the agents are perfect. Because the worst thing they can do before I wake up is make a mess in a sandbox, in writing, that I can delete with one command. That’s the whole trick: don’t make the agent trustworthy. Make trust unnecessary.