Docs The agent
Permissions
How the Unrestricted, Standard and Plan modes work, what the approval card offers, hold-to-approve for risky calls, and Always allow rules and their limits.
Every session has a permission mode that decides what the agent may do without asking you. You can change it at any time, even mid-session.
The three modes
| Mode | Composer chip | Settings label | What the agent may do |
|---|---|---|---|
| Unrestricted | Auto | Full access | Everything, without asking. “Runs everything on its own and never asks. Best for a disposable sandbox.” |
| Standard | Ask | Standard | Read freely. Anything that changes something asks first. |
| Plan | Read-only | Read-only | Read freely. Anything that changes something is blocked. |
Warning. A fresh install starts in Unrestricted. If you want to be asked before changes, set Settings → General → Permissions → Preset to Standard, or pick Ask on the composer chip for each session.
Changing the mode
- For this session: choose the permission chip on the composer and pick Ask, Auto or Read-only. The popover also links to See what Quad is allowed to do, which opens the Guardrails window.
- The default for new sessions: Settings → General → Permissions → Preset.
What counts as a change
These ask in Standard mode and are blocked in Plan mode:
- Writing, editing, patching, moving, copying or deleting files.
- Running a shell command, or sending input to a background job.
- Tools from MCP servers, plugins and script tools (unless the server or tool declares a call read-only and you trust it, see below).
- Starting subagents and workflows, sending messages to other agents, scheduling automations, restoring checkpoints.
- Starting or stopping a dev server.
- GitHub actions that create, merge, close, push, comment or review.
- Any pack tool that changes something outside the conversation, for example an HTTP request other than a GET, an AppleScript, a keychain lookup, or a tap on a phone.
Reading files, searching, listing and fetching are never asked about.
Some things are allowed in every mode because they only touch the app’s own data: building or editing an artifact, handing work off to a new sub-session (what the child does is governed by its own mode), and keeping the plan and to-do list up to date. Writing a memory or creating a skill does ask.
The approval card
In Standard mode, when the agent wants to make a change, the run pauses and a card marked Needs you appears at the end of the conversation. It shows the tool and a description of what it wants to do, such as the command or the file.
| Button | What it does |
|---|---|
| Approve | Lets this one call run. |
| Always allow … | Lets this call run and adds a rule so you are not asked about the same thing again (see below). Only shown when a safe rule can cover the call. |
| Not that | Refuses. The agent is told and carries on another way, or asks you. |
The top bar’s pill and the dock badge show how many sessions need you. If the window is out of sight, a notification tells you.
An approval that waits ten minutes with no answer is treated as Not that. Stopping the run refuses any approvals it was waiting on.
Hold to allow
A call that looks risky shows Hold to allow in place of Approve: anything whose description mentions deleting, rm, pushing, forcing, drop, sudo, curl or --hard. Press and hold the button for about a second to allow it. Letting go early cancels.
In voice mode you can refuse a risky call by voice, but not allow it. It has to be held on screen. See Voice.
Plan approval
In Plan mode the agent can put a whole plan to you. The card says Plan ready for your approval and nothing has changed yet. Choose:
- Approve · ask before changes: carry out the plan in Standard mode.
- Approve · go ahead: carry out the plan in Unrestricted mode.
- Keep planning: stay read-only and tell the agent what to change in your next message.
The same run carries on in the mode you chose.
Always allow rules
Being asked about cargo test for the twentieth time is not useful. Always allow lets you skip the question for that one kind of call. The rules are deliberately narrow:
| Kind of call | What a rule covers | Example button |
|---|---|---|
| A shell command | The first words of one plain command, in this project | Always allow `cargo test` here |
| Editing files | Edits and patches in this project | Always allow edits in my-app |
| Writing new files | New files in this project | Always allow new files in my-app |
| An MCP or script tool | That one tool | Always allow mcp__docs__search |
A shell rule only covers the command when it is one plain command. Any ;, &, |, <, >, backtick, $( or line break makes it ask again, so a rule for cargo test never lets cargo test && rm -rf ~ through.
For programs with subcommands, only the safe ones can get a rule: for example cargo test, cargo build, npm test, npm run, git status, git diff, git commit.
What always asks
No rule is ever offered for:
- Commands that can do anything or reach anything:
rm,sudo,chmod,kill,curl,wget,ssh,scp,rsync, shells and interpreters (bash,sh,zsh,python,node,ruby,perl),osascript,open,security,defaults,mv,find,sed,awk,xargs,evaland similar. - The screen (computer use), the keychain, AppleScript and phones.
Hooks still run after a rule and can still ask or block.
Seeing and removing rules
Your rules are listed in Settings → General → Always allowed, with the ones for the current workspace first. Choose Remove to delete one. The Guardrails window shows them too.
Rules are stored in settings.json in the data folder.
The Guardrails window
Open it with the key 0 or from the dock. It shows, in one place:
- The approval mode, with the same dial as the composer.
- Computer use: whether it is on, the macOS permissions it has, and the rule for apps you have not named.
- Your always-allowed rules.
- For the open session: how many steps went ahead on their own, how many you allowed, how many you refused and how many were blocked, read from the session’s own log.
What the modes do not do
Be clear about the limits:
- There is no operating system sandbox around commands. The agent works as your user account. In Unrestricted mode it can reach anything you can, inside or outside the workspace folder. In Ask mode anything that changes a file waits for you; in Read-only it is blocked.
- There is no list of allowed web hosts. To take the web away, switch off Browser and Network requests in Settings → Features.
- Agent providers differ. Codex and Antigravity cannot ask during a turn, so in Standard and Plan modes they only read. See Agent providers.
Sub-sessions and automations
- A sub-session or subagent takes its parent’s mode and is never more permissive than its parent. You can raise it yourself afterwards.
- An automation runs with nobody watching, so its mode must be Plan (read-only) or Unrestricted. Standard is refused, because nobody would be there to answer.
MCP servers and read-only hints
Because the app cannot know what an MCP tool does, Standard mode asks before every MCP tool call and Plan mode blocks them. A server can mark tools as read-only, but that is its own claim, so it is ignored unless you turn on trust read-only hints for that server. Then its read-only tools run without asking in Standard mode and stay available in Plan mode. See MCP servers.