Open History to see the last commit
1# Permission Modes
2
3A permission mode controls how much the agent does on its own and when it stops to ask you.
4
5The mode is set per thread, from the mode control in the message composer. Changing it in one
6thread does not change any other thread. A thread created from inside another thread keeps that
7thread's mode; otherwise new threads start in **Full access** unless you pick something else
8before sending.
9
10## The Modes
11
12**Supervised**: ask before commands and file changes. The agent pauses and shows you what it
13wants to run or edit, and waits for approval. Work outside the workspace is restricted.
14
15**Auto-accept edits**: auto-approve edits, ask before other actions. File changes go through
16without prompting; commands and anything else still stop for approval.
17
18**Auto**: routine actions proceed without you; risky ones still ask. How this is enforced depends
19on the provider: Codex delegates routine approvals to an AI reviewer, Claude uses its own auto
20permission mode, Cursor uses Smart Auto review, and providers without an equivalent (such as
21OpenCode and Antigravity) fall back to asking, like Supervised.
22
23**Full access**: allow commands and edits without prompts. The default. The agent runs
24unattended until it finishes or asks a question of its own.
25
26Approvals appear inline in the conversation. Approve or reject one and the agent continues from
27there.
28
29For Grok, **Always allow this session** remembers the matching command or tool input. Other
30actions still ask for approval. It does not change the thread to **Full access**.
31
32Antigravity uses its own permission policy for each mode. T3 Code still shows any approval or
33question the official agent sends in **Full access**. A remembered approval is available only
34when the agent offers it for that action. Fixed-choice questions require one of the offered
35answers and do not accept custom text.
36
37## Choosing a Mode
38
39Use **Full access** for work in a worktree or a sandbox you can throw away.
40
41Use **Supervised** on a repository where an unwanted command is expensive, or the first time you
42run an unfamiliar task.
43
44**Auto-accept edits** suits refactors where the edits are the point and you only care about the
45shell commands.
46
47## Provider Behavior
48
49Each provider maps these modes onto its own approval and sandbox settings. Codex, for example,
50translates the mode into its approval policy and sandbox level, so **Supervised** runs the CLI
51with prompting enabled and a restricted workspace while **Full access** disables both. Grok
52threads do the same: **Supervised** starts Grok in ask mode even if your Grok CLI config is
53set to always-approve, and **Full access** starts Grok with always-approve. The labels above
54describe what you get; the exact per-provider translation is internal and may change.
55
56Mobile offers the same four modes with the same labels and descriptions.
57
58Antigravity's native `/plan` command requests a plan. It does not change the permission mode.
59T3 Code's separate Plan mode control is not available for Antigravity. See
60[Antigravity](./providers-antigravity.md) for setup and thread limits.