Goose full-access mode
Run Goose without permission prompts with export GOOSE_MODE=auto. What it changes, what it still blocks, and the machines where it is safe.
Updated November 23, 2026 · Checked against Goose 1.52.0 in EnvHaven v1.9.0
In EnvHaven: Nothing to set: Goose already defaults to autonomous mode. Each workspace is its own Linux machine, so full access stays contained there. On any other machine, here is the switch, what it changes and where it is safe.
The switch
For every session, as an environment variable:
export GOOSE_MODE=auto
Inside a session:
/mode auto
What it does
Goose starts in autonomous mode (auto) out of the box: it edits, deletes and runs commands without asking. On a machine without a keyring it stores keys in plain text in ~/.config/goose/secrets.yaml.
Milder settings
GOOSE_MODE (or /mode) also takes approve and smart_approve.
Where full access is safe
- On your everyday computer: rarely. An agent with full access can delete files, read credentials and run anything a mistyped instruction or a malicious README suggests.
- In a container or VM that holds nothing you would miss: yes. A mistake costs a rebuild.
- In an EnvHaven workspace: by default. Nothing to set: Goose already defaults to autonomous mode. The workspace is a separate Linux machine, so the worst case stays there.
Turning prompts back on
Leave out the flag, or reset the setting you changed. In a workspace, the setting EnvHaven applies is described above, and editing or removing it brings Goose’s own defaults back.
How this was checked
Checked against Goose 1.52.0 in EnvHaven v1.9.0.