In short.
This GitHub guide helps developers delegate coding tasks and track their progress from a terminal, but the commands require GitHub CLI v2.80.0 or later and may change during public preview. It explains task creation, repository and base-branch selection, session listing and live logs. Account eligibility, permissions, costs and generated-code quality are not established by the page. No commands were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected documentation page at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/use-copilot-agents/cloud-agent/use-cloud-agent-from-cli], including its minimum-version and public-preview notice. Linked pages are excluded. No commands were executed, and actual session behaviour, generated changes, reliability and output quality were not assessed.
The overview
Identity
Using Copilot cloud agent from the GitHub CLI is a GitHub documentation guide for the gh agent-task command set. The resource is instructional documentation for accessing an existing agent service.
Original source: [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/use-copilot-agents/cloud-agent/use-cloud-agent-from-cli].
Assessment
The guide is useful for understanding the documented path from a task prompt to a pull request and subsequent session inspection. It gives concrete commands and explains their main options.
Its usefulness as a complete onboarding guide is limited: installation, authentication, account eligibility and billing are not explained. Successful execution and the quality of resulting changes are unassessed.
Users
The guide suits developers who work with GitHub repositories and want to initiate and monitor agent work through a terminal. Beginners get a short command sequence, while experienced CLI users get repository, branch and logging controls.
Readers unfamiliar with GitHub CLI setup, branches or pull requests will need additional guidance; the page does not explain those foundations.
Capabilities
The documented commands create a cloud agent session, list recent running and past sessions, and inspect a particular session. Task creation accepts either an interactive prompt or prompt text supplied directly.
Creation options select a repository with --repo, choose a base branch with --base and follow the session log with --follow. Session viewing supports --log for logs and --follow for live streaming.
Using it
Requirements
The page explicitly requires GitHub CLI v2.80.0 or later for the agent-task command set.
It does not specify eligible Copilot plans, authentication steps, repository permissions, supported operating systems or execution-environment requirements. The minimum CLI version alone does not establish that a particular account can use the feature.
Mechanism
According to the guide, gh agent-task create starts a session in which Copilot acts on the supplied prompt and opens a pull request. Without repository or branch overrides, it targets the current repository and its default branch.
The list and view commands expose session information and logs. The page does not explain the underlying model, execution environment, isolation, tool access or how repository context is processed.
Setup
With the required CLI version available, the documented starting point is gh agent-task create in the intended repository. Running it without arguments asks for a prompt; supplying quoted text passes the prompt directly.
Use --repo to target another repository and --base to select another base branch. The guide directs readers to gh agent-task create --help for the full option list, but does not provide installation or authentication instructions.
Example
The page illustrates direct prompt entry with gh agent-task create "Example prompt".
For a session associated with pull request 123 in monalisa/bookstore, it gives gh agent-task view --repo monalisa/bookstore 123. Adding --log requests session logs, and --follow can stream them live. These are documentation examples; no commands were executed.
Assessment & evidence
Limitations
The agent-task command set is explicitly a public preview and subject to change. The page presents selected options and points to command help for complete lists.
It provides no evidence about supported task complexity, completion time, reliability, generated-code correctness, failure recovery or cancellation. Logs and a pull request are documented outputs, but their availability does not establish that a task was completed correctly.
Practical fit
The documented combination of task creation, session lookup and live logs makes this a plausible fit for developers who prefer to manage repository work from a terminal. Explicit repository and base-branch options are useful when the defaults do not match the intended task.
That fit is an inference from the documented interface. The page supplies no measured productivity benefit or evidence that generated changes can be accepted without review.
Alternatives
Within the documented interface, users can enter prompts interactively or pass them directly, and inspect logs on demand or follow them live.
The page does not compare this approach with other coding agents or interfaces. Its further-reading links do not establish the capabilities or tradeoffs of alternatives.
Evidence
The evidence consists of the complete selected GitHub documentation page. It supports the stated command names, options, default targets, minimum CLI version and preview status.
The page contains no execution transcript, benchmark, generated pull request or observed test results. Its links to session management and best-practice guidance are outside the assessed content.
Access & freshness
Costs
The page states no prices, included allowances, usage limits or billing rules. The cost of using the cloud agent through these commands is unknown; the documentation does not establish that usage is free.
Rights
The selected page states no documentation licence, redistribution terms or ownership terms for generated code. It also does not describe data retention or permitted uses of submitted repository content. Those terms remain unknown from this source.
Freshness
The documentation was captured on 15 November 2026. No publication or update date appears in the supplied page text.
The stated minimum is GitHub CLI v2.80.0, not a claim about the latest release. Because the commands are in public preview, their continued compatibility and current availability are not established beyond this capture.
Next steps
Before use, confirm the installed CLI version and consult gh agent-task create --help, gh agent-task list --help and gh agent-task view --help for available options. Establish account eligibility, repository access and billing terms separately.
Choose the intended repository and base branch explicitly when needed, monitor the session through its logs and review any resulting pull request before merging. These are recommended next steps, not completed actions.
