Back to all posts

Autopilot in IDE and CLI

If you have seen Autopilot in VS Code and then switched to terminal workflows, it is easy to assume everything means the same thing. It does not. In the IDE, Autopilot is mainly a permission-and-autonomy behavior inside chat sessions. In the CLI, Autopilot is a distinct execution mode that keeps running until the task is done, blocked, or interrupted.

Availability: All GitHub Copilot plans including Free.

The key insight before we compare

The clean mental model is this: Agent describes who is doing the work, while Autopilot describes how independently that work runs. In VS Code, you choose an agent (Ask, Plan, Agent) and then choose a permission level. Autopilot (Preview) is one of those permission levels. In CLI, Autopilot is a dedicated mode you switch to, and you can combine it with permission flags such as --yolo.

IDE chart: Autopilot vs Agent mode

Dimension Agent mode (IDE) Autopilot (Preview, IDE)
What it is Built-in agent that plans and implements edits across files. A permission level that makes the agent continue with minimal interruption.
Tool approvals Depends on your selected approval level. Auto-approves all tool calls.
Questions to user Can still ask clarifying questions. Auto-responds to questions to keep momentum.
Interaction pattern More collaborative, frequent human checkpoints. More hands-off, keeps running until task completion conditions are met.
Best use case Exploratory or evolving tasks where you want frequent control. Well-defined tasks where you want speed and fewer interruptions.

CLI chart: Autopilot vs yolo/allow-all vs no-ask-user

In the terminal, many people treat these as interchangeable. They are related, but they solve different problems.

Option Primary purpose What changes What does NOT change
Autopilot mode Execution autonomy Keeps taking successive steps without waiting for your next prompt. Does not automatically grant all permissions unless you also allow them.
--allow-all / --yolo Permission policy Allows tools, paths, and URLs without approval prompts. You are still in normal interactive flow unless Autopilot is also enabled.
--no-ask-user Question suppression Suppresses clarifying questions; agent decides without asking. Does not provide full autopilot-style autonomous continuation.

A practical setup that works

For predictable tasks, start with a plan first, then hand off execution. In IDE, this means Plan then Agent with the permission level you are comfortable with. In CLI, it usually means --autopilot with explicit limits like --max-autopilot-continues, and permissions chosen intentionally (--yolo only when you trust the directory and task).

If the task is ambiguous, stay interactive and steer frequently. The more open-ended the requirement, the less benefit you get from full autonomy and the more value you get from checkpoints.

Documentation