# full

Canonical URL: https://developers.iagenify.com/sdk/agent/modes/full/
Language: en

`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.

Status: no prompts for 4 categories · 3 still asked · no undo on two of them

## What goes through {#what}

| 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** |

> **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 {#no-undo}

Files are recoverable — previous versions, a recycle bin, [checkpoints](/sdk/agent/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 {#where}

- 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](/sdk/agent/modes/auto) gives you the same comfort on files while keeping the irreversible things in front of you.

## Full with a narrow blast radius {#narrowing}

```javascript
// 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
});
```

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.

- [Always asked](/sdk/agent/permissions/always-ask): The three, and why they have no « always ».
- [auto](/sdk/agent/modes/auto): The same comfort, with the irreversible things kept in view.

```python
# 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
)
```
