- Editing or deleting files (
write_file,edit_file,delete) - Running shell commands (
execute) - Making web requests (
web_search,fetch_url) - Delegating work to subagents (
task)
ls, read_file, glob, and grep always run without prompting. Approval modes let you choose how much oversight each session requires for the gated actions.
Choose a mode
Toggle between Manual and Auto at any time during a session with
Shift+Tab or Ctrl+T. YOLO cannot be entered through the keyboard toggle.
Enable Auto
Auto is an experimental beta. To use it, set the opt-in flag and then choose Auto for your session.Set the experimental opt-in
Add the environment variable to your shell or
~/.deepagents/.env:Launch with Auto
~/.deepagents/config.toml:Shift+Tab or Ctrl+T.Enable YOLO
YOLO runs gated actions without any review. Use it only when you accept that the agent can take any action without asking.Launch with YOLO
~/.deepagents/config.toml:Shift+Tab or Ctrl+T. You cannot switch back to YOLO with the keyboard toggle.
How Auto works
Auto keeps the same gated-action rules as Manual but changes how those actions are reviewed. It uses two stages:- Routine actions run automatically. A write to a source file like
src/parser.pyor a read-only Git command likegit statusproceeds without a prompt. Sensitive targets like.github/workflows/ci.ymlor mutating commands likegit commitgo to the next stage. - The model reviews the rest. For anything not clearly routine, the active model checks whether the action matches what you asked for. Only your literal prompt can authorize an action. If the model denies a call, the agent gets an error result and can revise its plan.
Auto decision flow
Auto decision flow
Revalidate before side effects
The decision plan is bound to the thread, mode, batch, and exact gated calls. Missing or invalid state, a mode race, or a replay falls back to human review. For example, if you switch to Manual while classifier review is in progress, an earlier Auto decision cannot execute silently; the normal approval UI opens instead.Understand scope and limitations
- The Manual approval menu can enable Auto for the current thread. Threshold fallback can switch permanently to Manual or perform a one-off review while leaving Auto enabled.
- The active model is not an independent security authority. MCP read-only annotations are trusted as a deliberate beta tradeoff.
- Parent-level Auto review does not cover actions performed inside delegated subagents or broader explicitly configured
js_evalfan-out. Model providers and tracing backends may still observe classifier inputs and outputs even though the TUI hides them.
Where Auto and YOLO are available
Auto and YOLO are interactive-mode features. They are not available in non-interactive mode (-n or piped stdin) or in ACP server mode. Headless runs use fail-closed MCP routing and --shell-allow-list for shell access.
Auto also falls back to Manual when:
DEEPAGENTS_CODE_EXPERIMENTAL=1is not set.- A remote
--sandboxis active (Auto is for unsandboxed local sessions only).
Reference
Flag and config precedence
--yolo takes priority over -y/--auto-approve, which takes priority over [startup].mode.
See also
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

