In short.
This GitHub guide helps developers manage AI coding sessions in the Copilot app, but pricing, plan eligibility and detailed sandbox guarantees remain unknown. Its most useful distinction is between session mode, which controls collaboration, tool permissions, which control approvals, and environment settings, which determine where work runs and what access restrictions apply. It documents separate worktrees for parallel tasks, model and reasoning-effort selection, GitHub-hosted cloud sessions, local sandboxing and WSL setup. It also introduces security review, a critic agent, session history and dictation. The page supports understanding and configuring these features; it supplies no measured evidence of coding quality, security effectiveness or performance. Nothing was executed or tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected article at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/github-copilot-app/agent-sessions], captured as selected-page.txt. It encompasses session creation, modes, permissions, models, chats, management, cloud and local sandbox distinctions, WSL, review commands, history, dictation, shortcuts and the deep-link reference. The public-preview notice for /security-review and the conditional WSL hosts setting are included. Every linked page is excluded. No app session, command, installation, security review or test was executed; performance, correctness, approval accuracy and sandbox effectiveness were not assessed.
The overview
Identity
Working with agent sessions in the GitHub Copilot app is an official GitHub Docs how-to article. The resource is the documentation page, rather than the Copilot app itself or an installable agent definition.
Its exact address is [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/github-copilot-app/agent-sessions]. It covers starting, steering and managing app sessions, with additional instructions for environments, review tools and input methods.
Assessment
The guide is useful for developers deciding how much autonomy to give an agent and how to organize several tasks. It supplies concrete interface steps and explains choices that affect collaboration, working files and tool access.
Its coverage is strongest for session configuration. Installation, subscription eligibility, provider setup and detailed sandbox behavior require information beyond this page. Descriptions of autonomous coding and review features establish documented capabilities, not demonstrated reliability.
Users
Developers handling multiple repository tasks can use the guide to understand separate worktrees and session switching. A worktree is a separate working copy of a Git repository, allowing tasks to use different branches.
Beginners receive procedural instructions for modes and approvals, although familiarity with repositories and branches helps. Experienced developers get guidance on WSL environments, custom model providers, local access restrictions and review commands. Azure DevOps users are directed to a separate integration guide whose contents are outside this evidence.
Capabilities
The page documents parallel sessions, separate worktrees or an existing checkout, base-branch selection, and local or cloud execution. Prompts can reference issues with #, files with @ and commands with /. Models and reasoning effort can be changed during a session; configured external-provider models also appear in the picker.
Interactive mode supports collaboration, Plan mode requests approval of a plan before execution, and Autopilot allows autonomous coding, tests and iteration. Separate permission settings offer approval for every tool request, model-assisted approval, or approval of all tools.
Supporting features include saved chats, searching and filtering sessions, archiving or deleting items, restoring archived chats, and separate disk-use columns for working files and history. The guide also introduces /security-review, /rubber-duck, /chronicle, voice dictation, keyboard shortcuts and links that open sessions in the app.
Using it
Requirements
Repository sessions need a repository or folder connected in the app. The documented connection options are adding a GitHub repository, cloning a repository or opening a local folder. Azure DevOps sessions require its integration to be configured first. General installation requirements, supported operating-system versions, minimum hardware and subscription eligibility are not specified.
The Windows instructions require WSL 2 with an available repository or folder, signing into the app with a GitHub account, and separate GitHub authentication inside WSL using gh auth login. Voice dictation requires a configured shortcut, operating-system microphone permission and a downloaded local transcription model.
Mechanism
Three controls govern different aspects of a session: mode sets how the agent collaborates, tool permissions determine approval behavior, and environment settings choose where it runs. A separate worktree separates working copies and branches; local sandboxing restricts filesystem, network and credential access available to agent tools.
Cloud sessions run in isolated environments hosted by GitHub. Local sandboxing uses operating-system restrictions on the user's machine and does not apply to cloud sessions or sessions running on a remote host. The page explicitly treats cloud and local sandboxing as separate technologies.
Copilot Fusion selects models and execution patterns for a task at the chosen effort level, with progress and model information visible in the app. The rubber duck agent supplies criticism using a different model from the main session. GitHub states that the app is built on Copilot CLI, enabling history features such as /chronicle. Detailed orchestration internals are not provided.
Setup
Start with the new-session control beside Sessions and choose a connected repository or folder. Select This computer or Cloud, then New worktree or Current checkout and the base branch. Choose a mode, model and reasoning effort, enter a task and start the session. Active sessions appear grouped by repository.
Set tool permissions through the session's mode menu. Defaults for future local sessions are available under Sessions in app settings. Local sandbox defaults are configured in project settings, and /sandbox on or /sandbox off changes an active local session.
For WSL, authenticate inside the distribution, connect it through Environments in app settings, add the Linux repository or folder path, and select the distribution when starting a session. If Environments is absent, the guide directs users to enable WSL hosts under Experimental.
Example
An illustrative first task is: Find the cause of a failing test and propose a fix. In a repository with such a test, choose New worktree, select Plan mode and set tool permissions to Ask every time. Review the proposed plan before approving execution, then inspect the changes and any test output.
Once changes exist, the documented /security-review command can request vulnerability findings, while /rubber-duck can request criticism of the implementation or tests. This is a suggested exercise, not an observed session. No commands, tests or reviews were run for this report.
Assessment & evidence
Limitations
The guide provides no measured task-success rates, latency results, supported-model inventory or comparison of model quality. It also leaves precise sandbox rules, cloud environment contents, concurrency limits and remote-host configuration unspecified.
Assisted permissions rely on a model judging tool requests; their accuracy is not measured here. Approve all removes approval of individual actions. Worktree separation and sandbox access controls address different concerns, so a separate branch alone does not establish restricted system access.
/security-review is explicitly in public preview and subject to change. Its documented purpose is an initial review of current changes that complements code scanning, Dependabot and secret scanning. The page provides no evidence that it finds every vulnerability or that criticism from the rubber duck agent guarantees correct results.
Reasoning
The guide's practical value comes from making collaboration, approval and execution choices explicit. A developer can combine plan approval with a separately chosen tool-permission level, then select a local or cloud environment according to where the task needs to run.
Separate worktrees are a documented option for parallel repository work. Local sessions suit tasks needing local tools or development services; cloud sessions suit work kept off the local machine or several resource-intensive tasks. These are documented use cases, with no measured performance or security comparison supplied.
Alternatives
Within the app, Chats offers brainstorming and questions without creating a dedicated branch or worktree. Projects can coordinate goals across one or more repositories or tasks that need no repository, although their detailed operation is covered by a linked page.
For repository work, Current checkout is an alternative to New worktree. Direct model selection is an alternative to Fusion's automatic selection. The article supplies no comparison with other coding assistants, so their relative capabilities, costs and suitability are not assessed.
Evidence
The sole source is the complete GitHub Docs article at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/github-copilot-app/agent-sessions], retained as selected-page.txt. It provides direct documentation of interface steps and intended behavior.
Linked pages were excluded. References to provider configuration, sandbox details, Azure DevOps integration and other features establish that further documentation is linked; they do not establish the contents of those pages. There are no execution logs, independent benchmarks or observed task results in the evidence.
Access & freshness
Costs
The page gives no app price, required subscription, included usage, model rates, quotas or cloud-session charges. These costs are unknown from the supplied evidence.
Higher reasoning effort may take longer, according to the guide. Local working files, saved history and the downloaded transcription model use local resources, but the page provides no storage sizes, hardware estimates or associated cost calculations.
Rights
The captured article does not state a redistribution licence for its text, app licensing terms or ownership terms for generated code. Permission to redistribute the captured page is therefore not established by this evidence.
The page describes saved chat history and access restrictions, but does not establish retention periods, model-provider data handling or rights governing submitted repository content. Those matters require the applicable service and privacy terms.
Freshness
The article was captured on 26 November 2026 at 05:07:21.325 UTC. The supplied text gives no publication date, last-updated date or app version, so the capture time establishes when this copy was obtained.
The explicit public-preview notice for /security-review makes that feature subject to change. Current feature availability, interface wording and eligibility beyond the captured documentation remain unverified.
Actions
Before committing to the app, confirm access, subscription eligibility and charges in current product information. For a first repository task, use a small change in a new worktree, choose the collaboration mode and tool permissions deliberately, and inspect the resulting changes and test output.
Choose the environment according to the task's need for local tools or GitHub-hosted execution. Consult the separate sandbox documentation for precise access restrictions. Use the review commands as additional feedback, and evaluate their findings alongside code inspection and project checks.
