Modes

full

mode: "full"

Files, commands, data and DNS go through without asking. Three things still stop and ask every time — and that is not a gap, it is the design.

no prompts for 4 categories3 still askedno undo on two of them
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

What goes through

CategoryIn full
writeallowed
execallowed — any command, no prompt
storageallowed — including a dropped collection
dnsallowed — including a record that moves a domain's mail
send · publish · moneyasked, every time
Full access still needs a callback

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.