· Product launches· 日本語で読む
GitHub explains how to configure automatic continuation, permissions and usage limits in Copilot CLI’s Autopilot mode
GitHub’s official documentation explains how to use and control Autopilot mode in Copilot CLI. Autopilot lets the agent continue working without waiting for additional prompts, and is configured separately from permissions, the number of automatic continuations and AI credit limits. The documentation also outlines a workflow that combines plan review, sandboxing and review of diffs and tests.
Key facts
- Autopilot mode is described as a control that lets the agent carry out successive tasks without waiting for additional prompts.
- `--allow-all` and `--yolo` control permissions; they do not enable autonomous continuation.
- `--max-autopilot-continues=COUNT` sets the number of automatic continuations, and `--max-ai-credits=CREDITS` sets a soft AI credit limit.
- The example command for moving from Plan mode to Autopilot is `copilot --plan --mode autopilot`; it switches modes without waiting for approval of the plan in an interactive session.
- The programmatic execution example specifies `--max-autopilot-continues 10`.
What happened
GitHub’s official documentation outlines how to start and configure Autopilot mode in Copilot CLI and review its automated work. In this mode, the agent can carry out tasks involving successive interactions with an AI model without waiting for additional prompts. Permissions, the number of automatic continuations and AI credit limits are described as separate controls.
Why it matters
GitHub’s documentation says Autopilot’s automatic continuation and the permissions granted by `--allow-all` are separate controls, and that limits can be set on continuations and AI credits. For developers and administrators using Copilot CLI, the practical distinction is that they can configure separately the conditions for continued execution, the scope of access and usage, and combine those settings with sandboxing and review of diffs and tests.
Analysis
The central point of the documentation is that Autopilot is not treated as a simple “automatic execution” switch: continuation, permissions, suppression of questions and usage limits are separate controls. In particular, using `--allow-all` does not enable autonomous continuation, and enabling Autopilot does not allow operations that have not been permitted. This distinction is an important design point for avoiding confusion between an agent’s ability to continue working and the scope of its access to files, tools and URLs.
There is also an exception to the review-before-execution process. In an interactive session, the documentation describes reviewing the plan before proceeding. By contrast, `copilot --plan --mode autopilot` switches to Autopilot after preparing the plan, without waiting for approval. Thus, even when moving from the same Plan mode to Autopilot, a workflow that includes user review and one that switches automatically via a command are not the same. The former leaves room for human involvement at the planning stage; with the latter, the caller needs to separately design what to review before execution.
Related coverage from this newspaper includes GitHub details Copilot CLI cost-efficiency improvements, which covers cost efficiency, and GitHub explains how to automate Copilot CLI with GitHub Actions, which covers execution through workflows. The current documentation addresses controls at a different level of execution. While limits can be set on the number of continuations and AI credits, an example of programmatic execution combines `--yolo` with a continuation limit of 10, underscoring the need to assess the breadth of permissions and execution limits separately.
In practice, sandboxing restricts the scope of work, permission settings determine approval conditions for operations, and continuation and credit limits constrain the volume of automated processing. The documentation also includes reviewing diffs and running tests after the work as checks before adopting the agent’s output. However, the material explains how to use the features; it does not provide data on actual usage frequency, task completion rates, usage costs or safety by configuration. Default limit values and the conditions for applying different options are also covered in separate references, such as the command reference. Assessing the effects in a real environment would require examining operation logs by permission mode, continuation counts, credit consumption and issues found during review.
Details
For complex tasks, the documentation recommends using Plan mode to outline the changes, constraints and required verification, then reviewing the plan before executing it in Autopilot. By contrast, the command example `copilot --plan --mode autopilot` switches to Autopilot once the plan is ready and does not wait for approval of the plan in an interactive session. The programmatic execution example is `copilot --autopilot --yolo --max-autopilot-continues 10 -p "YOUR PROMPT HERE"`.
Autopilot controls whether work continues, while `--allow-all` (also known as `--yolo`) controls permission to use tools and other capabilities. `--max-autopilot-continues=COUNT` sets the number of automatic continuation messages, and `--max-ai-credits=CREDITS` sets a soft AI credit limit. The official documentation recommends considering a local or cloud sandbox before granting broad permissions, and reviewing diffs and test output after the work.
Sources
Translated from the Japanese original: /news/github-copilot-cli-no-autopilot-moodo-de-jidou-keizoku-kenge-07c395. The Japanese version is authoritative if they differ.