YOLO mode
A setting in which an AI agent does not request permission before each step but executes everything autonomously without stopping.
In plain terms
By default, the AI agent asks before every sensitive step: can it modify the file, can it run the command? In YOLO mode, you disable this questioning, and the agent works alone until the task is complete.
It is like handing the keys to the contractor for the duration of an apartment renovation and going away. The work goes faster because they do not have to call you before every screw, but if they knock down the wrong wall, you only find out afterwards.
The name comes from the English slang 'You Only Live Once' and is intentionally self-ironic: it indicates that you take risks for convenience. You encounter it especially with coding agents, where requiring many approvals would slow down work for hours.
How it works
- An agent uses tools during its work: reading and writing files, running commands, and loading web pages.
- In normal mode, it pauses for riskier operations, shows what it plans to do, and waits for your approval.
- You enable YOLO mode with a switch or a startup parameter, and from then on the agent executes operations without further questions. In some tools, predefined prohibitions remain in effect even then.
- The agent thus executes long sequences of steps in one go: writes, tests, fixes, retries, until it deems the task complete.
- A careful user therefore runs it in an isolated environment (sandbox, container, or separate machine), where the agent cannot access valuable data and a failure cannot cause major damage.
An everyday example
A developer asks a coding agent in the evening to update all outdated parts of an old program and let it run in YOLO mode. By morning, the work is done, and no one had to click the "Allow" button two hundred times. However, if the agent accidentally deleted the wrong folder, that would only be discovered in the morning.
Who is affected
A common misconception
Limits and risks
- The agent may err and cause irreversible damage: it can delete files, overwrite databases, or launch cost-incurring services.
- Prompt injection is particularly dangerous: if an agent reads a hidden instruction on a website or in a file, it can execute it without requesting permission, for example, leaking your data.
- It should only be used in an isolated environment where there are no passwords, live systems, or irreplaceable data. Internet access should also be restricted, because the sandbox alone does not prevent the agent from sending data out over the network.
- The responsibility remains with you: you must review the final result even if you did not monitor the agent during the process.
Similar, but not the same
- autonomous agent – An autonomous agent refers to a system's general capability for independent work, while YOLO mode is a specific switch that removes permission requests from the process.
- Vibe coding – Vibe coding is a work style where you do not read the code but only check the result, while YOLO mode is an agent's technical setting, and the two often, but not necessarily, go together.
- Sandbox – The sandbox is a protective barrier that limits what the agent can access, while YOLO mode turns off a protection layer, which is why the two are often used together.
Related concepts
AI-agent, Agent access management, Autonomy level, Automatic approval
–
coding agent, Human oversight, Sandbox, Allowlist, Prompt injection, Vibe coding
A brief history
The internet slang 'YOLO' spread in the early 2010s. It came to be used for AI agents in the wake of coding tools: an option with this name appeared in the Cursor editor at the end of 2024 and was renamed 'Auto-Run' in 2025. In 2025, several command-line coding agents received a similar switch, for example Gemini CLI's '--yolo' and Claude Code's '--dangerously-skip-permissions'.
Where things stand
As of late 2026, this is a common but debated practice among developers. Tool makers are increasingly offering intermediate solutions instead: built-in sandboxes, allowlists, and an automatic mode that stops only at risky steps.
Also known as
YOLO mode · YOLO mode · YOLO mode · --yolo · --dangerously-skip-permissions · auto-run mode · automatic approval · mode without permission prompts
Sources
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.