What goes through
| Category | In full |
|---|---|
write | allowed |
| exec | allowed — any command, no prompt |
storage | allowed — including a dropped collection |
dns | allowed — including a record that moves a domain's mail |
send · publish · money | asked, every time |
The three always-asked categories go to onPermission like anywhere else, and « always » is not accepted for them. Without a callback, an agent in full mode cannot send, publish or spend — the refusal says so plainly.
Two of the four have no undo
Files are recoverable — previous versions, a recycle bin, checkpoints. A database write and a DNS record are not. The system prompt says so in full mode, in those words, because the agent should weigh a DROP differently from an edit.
Where it is reasonable
- A disposable workspace — a container, a scratch clone, a copy of a project.
- A machine with no credentials and no access to anything that matters.
- A run a person is watching, with
stop()within reach.
And where it is not: a machine holding production credentials, a storage connected to live data, a domain serving real mail. In those, auto gives you the same comfort on files while keeping the irreversible things in front of you.
Full with a narrow blast radius
// Full access, but the agent only ever sees what you gave it
const agent = api.agents.create({
runtime: "local",
machine: scratch, // a workspace with nothing else in it
model: "gemini-3.5-flash",
mode: "full",
tools: ["read", "list", "glob", "grep", "write", "edit", "bash"], // no storage, no DNS
budget: 300,
onPermission: async () => "deny", // the three always-asked ones stay shut
});# Full access, but the agent only ever sees what you gave it
agent = api.agents.create(
runtime="local",
machine=scratch, # a workspace with nothing else in it
model="gemini-3.5-flash",
mode="full",
tools=["read", "list", "glob", "grep", "write", "edit", "bash"], # no storage, no DNS
budget=300,
on_permission=lambda request: "deny", # the three always-asked ones stay shut
)Tool selection, the machine and the budget bound a full-access run far better than the mode does. The mode decides prompts; those three decide reach.