Skip to content

Commit e0679b2

Browse files
sunbryeCopilotCopilothubwriterCopilot
authored
June 2-3: Microsoft Build 2026 docs-internal feature branch (#61472)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: hubwriter <hubwriter@github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Co-authored-by: Jenni C <97056108+dihydroJenoxide@users.noreply.github.com> Co-authored-by: Tim Rogers <timrogers@github.com> Co-authored-by: SiaraMist <siaramist@github.com> Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com> Co-authored-by: Tim Rogers <me@timrogers.co.uk> Co-authored-by: timrogers <116134+timrogers@users.noreply.github.com> Co-authored-by: Hirsch Singhal <1666363+hpsin@users.noreply.github.com> Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> Co-authored-by: Ria Gopu <ria-gopu@github.com> Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com>
1 parent 41f83c9 commit e0679b2

124 files changed

Lines changed: 2017 additions & 342 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/apps/using-github-apps/about-using-github-apps.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,21 @@ Occasionally, the {% data variables.product.prodname_github_app %} will request
3535

3636
Before you install or authorize a {% data variables.product.prodname_github_app %}, you should make sure that you trust the app developer. If you no longer use the app, you should suspend or uninstall the app and/or revoke your authorization of the app. For more information, see [AUTOTITLE](/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#blocking-access) and [AUTOTITLE](/apps/using-github-apps/reviewing-your-authorized-integrations).
3737

38-
## {% data variables.product.prodname_github_apps %} and {% data variables.product.prodname_oauth_apps %}
38+
{% ifversion fpt or ghec %}
39+
40+
## {% data variables.copilot.agent_apps_caps %}
41+
42+
> [!NOTE] {% data reusables.copilot.agent-apps-preview %}
43+
44+
{% data reusables.copilot.agent-apps-intro %} Powered by {% data variables.copilot.copilot_cloud_agent %}, you can trigger these agents from issues, pull requests, and the Agents UI.
3945

46+
When you install an {% data variables.copilot.agent_app %}, you will be asked if you want to enable agent features. For more information, see [AUTOTITLE](/copilot/concepts/agents/agent-apps).
47+
48+
If the app is installed in an organization owned by an enterprise, an administrator must also enable the "{% data variables.copilot.agent_apps %}" {% data variables.product.prodname_copilot_short %} policy before the agent features become available.
49+
50+
{% endif %}
51+
52+
## {% data variables.product.prodname_github_apps %} and {% data variables.product.prodname_oauth_apps %}
4053
{% data variables.product.company_short %} also supports {% data variables.product.prodname_oauth_apps %}. Unlike {% data variables.product.prodname_github_apps %}, you do not install an {% data variables.product.prodname_oauth_app %} or control what repositories it can access.
4154

4255
Both {% data variables.product.prodname_oauth_apps %} and {% data variables.product.prodname_github_apps %} use OAuth 2.0.

content/billing/concepts/billing-cycles.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ For example, if you started a paid plan or converted from a trial on the 15th of
3535
> [!NOTE]
3636
> From **December 1, 2025**, all self-serve, metered {% data variables.product.prodname_ghe_cloud %} accounts that pay by credit card will migrate to a **billing date** of 1st of the month. See [Billing date standardized to the first of the month for self-serve credit card metered Enterprise customers](https://github.blog/changelog/2025-11-17-billing-date-standardized-to-the-first-of-the-month-for-self-serve-credit-card-metered-enterprise-customers-now-generally-available/) in the changelog.
3737
38+
## Billing cycle for {% data variables.copilot.sandbox %} during public preview
39+
40+
During {% data variables.release-phases.public_preview %}, eligible accounts receive a **$10 monthly entitlement** for cloud sandbox usage in **June 2026**. The entitlement applies as follows:
41+
42+
* Usage above the entitlement is metered against your standard billing cycle and billed on your normal billing date.
43+
* The entitlement is discontinued after June 2026. Pricing and packaging after the preview is subject to change.
44+
3845
## Billing cycles for volume-based products
3946

4047
Volume-based licenses may follow a different billing cycle. These products are often billed based on the anniversary date of your subscription rather than by calendar month.
@@ -66,5 +73,6 @@ Find product-specific guidance on how usage is calculated and billed.
6673
* [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-codespaces/about-billing-for-github-codespaces)
6774
* [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-packages/about-billing-for-github-packages)
6875
* [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-copilot/about-billing-for-github-copilot)
76+
* [AUTOTITLE](/billing/concepts/product-billing/cloud-and-local-sandboxes)
6977
* [AUTOTITLE](/billing/managing-billing-for-your-products/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/about-visual-studio-subscriptions-with-github-enterprise#about-licenses-for-visual-studio-subscriptions-with-github-enterprise-cloud)
7078
* [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage)

content/billing/concepts/budgets-and-alerts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ By setting a monthly budget, you can monitor your spending and receive notificat
1717

1818
For most license-based products such as {% data variables.product.prodname_copilot %}, {% data variables.product.prodname_team %}, and {% data variables.product.prodname_enterprise %}, setting a budget does not prevent usage over the budget amount but does provide alerts. {% data variables.product.prodname_GHAS %} SKUs are an exception to this, as they can be set to stop usage when the budget amount is reached. See [AUTOTITLE](/billing/concepts/product-billing/github-advanced-security#hard-budgets-for-github-advanced-security-skus).
1919

20-
For metered products such as {% data variables.product.prodname_actions %} or {% data variables.product.prodname_copilot_short %} {% data variables.product.prodname_ai_credits_short %}, you can set budgets to prevent usage once the budget threshold is reached.
20+
For metered products such as {% data variables.product.prodname_actions %}, {% data variables.product.prodname_copilot_short %} {% data variables.product.prodname_ai_credits_short %}, or cloud sandboxes, you can set budgets to prevent usage once the budget threshold is reached.
2121

2222
## Types and scopes
2323

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: Billing for {% data variables.copilot.sandbox %}
3+
shortTitle: Cloud and local sandboxes
4+
intro: 'Learn how usage of {% data variables.copilot.sandbox %} is measured and billed.'
5+
versions:
6+
fpt: '*'
7+
ghec: '*'
8+
contentType: concepts
9+
category:
10+
- Understand product costs
11+
---
12+
13+
{% data reusables.cli.public-preview-sandbox %}
14+
15+
## How {% data variables.copilot.sandbox %} usage is measured
16+
17+
Billing applies to cloud sandboxing only. Local sandboxing is included in the standard {% data variables.product.prodname_copilot %} seat at no additional cost.
18+
19+
A cloud sandbox session incurs charges across three meters:
20+
21+
* **Compute**: the time a cloud sandbox session is running.
22+
* **Memory**: the memory allocated to a cloud sandbox session while it is running.
23+
* **Storage**: snapshot storage for stopped sessions.
24+
25+
Usage is measured from the moment a session starts until it is stopped or deleted. Memory is measured based on the memory allocated to the session, not the memory actively in use.
26+
27+
### Compute
28+
29+
The compute meter tracks the time a cloud sandbox is running. Compute is not metered while a sandbox is stopped.
30+
31+
### Memory
32+
33+
The memory meter tracks the memory allocated to a cloud sandbox while it is running. Memory is not metered while a sandbox is stopped.
34+
35+
### Storage
36+
37+
The storage meter tracks snapshot storage for stopped sessions. When you stop {% data variables.copilot.sandbox_short %}, {% data variables.product.github %} retains a snapshot of the sandbox's state so you can resume it later. Snapshot storage is metered from the time the sandbox is stopped until the sandbox is deleted.
38+
39+
For more information about {% data variables.copilot.sandbox %}, see [AUTOTITLE](/copilot/concepts/about-cloud-and-local-sandboxes).
40+
41+
## Free and billed use
42+
43+
During public preview, eligible {% data variables.product.github %} accounts receive a **$10 monthly entitlement** to try cloud sandboxes. This entitlement is available for June 2026. Any usage beyond the monthly entitlement is billed to your account.
44+
45+
After the preview period ends, the entitlement no longer applies and all usage is billed.
46+
47+
## Paying for use
48+
49+
You pay for cloud sandboxes using the payment method set up for your {% data variables.product.github %} account. See [AUTOTITLE](/billing/how-tos/set-up-payment/manage-payment-info).
50+
51+
### Pricing
52+
53+
| Meter | Description | Unit | Price (USD) |
54+
| --- | --- | --- |------------|
55+
| Compute | Time that a cloud sandbox session is running. | Compute second | $0.000024 |
56+
| Memory | Memory allocated to a cloud sandbox session while it is running. | GiB second | $0.000003 |
57+
| Storage | Snapshot storage for stopped sessions. | GiB month | $0.005 |
58+
59+
## How costs are assigned to a billable account
60+
61+
Cloud sandbox usage is billed to the organization that owns the sandbox. When you create a cloud sandbox session with `copilot --cloud`, you are prompted to select the owning organization. All usage for that session is billed to the selected organization.
62+
63+
## Managing your budget for cloud sandboxes
64+
65+
{% data reusables.billing.default-over-quota-behavior %}
66+
67+
You can set budgets and alerts to monitor and control your cloud sandbox spending. For more information, see [AUTOTITLE](/billing/concepts/budgets-and-alerts) and [AUTOTITLE](/billing/how-tos/set-up-budgets).
68+
69+
When you create a budget for cloud sandboxes, you can choose between two budget types:
70+
71+
* **Product-level budget**: caps spending across all cloud sandbox usage, regardless of SKU.
72+
* **SKU-level budget**: caps spending for a specific cloud sandbox SKU (for example, "Sandbox Linux"). For a full list of cloud sandbox SKUs, see [AUTOTITLE](/billing/reference/product-and-sku-names).
73+
74+
If you enable **Stop usage when budget limit is reached**, additional cloud sandbox usage is blocked once the budget reaches 100%, and a banner notifies users in the affected scope.
75+
76+
> [!NOTE]
77+
> {% data variables.copilot.sandbox_caps %} is not part of the "Bundled AI credits" budget type. Bundled AI credits budgets apply only to SKUs that consume AI credits (such as {% data variables.product.prodname_copilot %} AI credits, cloud agent AI credits, and {% data variables.product.prodname_spark %} AI credits). To control cloud sandbox spending, use a product-level or SKU-level budget.
78+
79+
## Viewing your {% data variables.copilot.sandbox %} usage
80+
81+
To view your cloud sandbox usage, billable amounts, and the monthly preview entitlement, see [AUTOTITLE](/billing/how-tos/products/estimate-spending) and [AUTOTITLE](/billing/tutorials/gather-insights).
82+
83+
## Further reading
84+
85+
* [AUTOTITLE](/copilot/concepts/about-cloud-and-local-sandboxes)
86+
* [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-copilot-cli)
87+
* [AUTOTITLE](/billing/get-started/how-billing-works)

content/billing/concepts/product-billing/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ children:
1515
- /github-copilot-licenses
1616
- /github-models
1717
- /github-packages
18+
- /cloud-and-local-sandboxes
1819
- /git-lfs
1920
- /github-spark
2021
contentType: concepts

content/billing/reference/product-and-sku-names.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ For **ProductPricing** budgets or to query usage by product, use one of the foll
2222
* `copilot` - {% data variables.product.prodname_copilot %}
2323
* `ghas` - {% data variables.product.prodname_GH_advanced_security %}
2424
* `ghec` - {% data variables.product.prodname_ghe_cloud %}
25+
* `sandbox` - {% data variables.copilot.sandbox_caps %}
2526

2627
## SKU-level identifiers
2728

@@ -93,6 +94,12 @@ For **SkuPricing** budgets or to query usage by SKU, use one of the following va
9394
* `ghas_licenses` - GHAS licenses
9495
* `ghas_secret_protection_licenses` - GHAS secret protection licenses
9596

97+
### {% data variables.copilot.sandbox_caps %} SKUs
98+
99+
* `sandbox_linux` - {% data variables.copilot.sandbox_short_caps %} Linux
100+
* `sandbox_memory` - {% data variables.copilot.sandbox_short_caps %} Memory
101+
* `sandbox_snapshot` - {% data variables.copilot.sandbox_short_caps %} Snapshot
102+
96103
### Other SKUs
97104

98105
* `ghec_licenses` - {% data variables.product.prodname_ghe_cloud %} licenses
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
title: About {% data variables.copilot.sandbox %}
3+
shortTitle: Cloud and local sandboxes
4+
allowTitleToDifferFromFilename: true
5+
intro: '{% data variables.copilot.sandbox_caps %} provide isolated execution environments that let {% data variables.product.prodname_copilot_short %} safely interact with code, tools, filesystem, and network resources securely on your local machine or in fully isolated cloud environments.'
6+
versions:
7+
feature: copilot
8+
redirect_from:
9+
- /copilot/concepts/about-github-sandbox
10+
contentType: concepts
11+
category:
12+
- Learn about Copilot
13+
- Learn about Copilot CLI
14+
docsTeamMetrics:
15+
- copilot-cli
16+
---
17+
18+
{% data reusables.cli.public-preview-sandbox %}
19+
20+
## Introduction
21+
22+
{% data variables.copilot.sandbox_caps %} are the execution platform powering secure sandboxed experiences for {% data variables.copilot.copilot_cli %}, both locally and in the cloud. As {% data variables.product.prodname_copilot_short %} takes more actions on your behalf—running tools, executing commands, and modifying files—{% data variables.copilot.sandbox_short %} provide the isolation, portability, and policy controls needed to adopt agentic workflows safely. {% data variables.copilot.sandbox_caps %} currently apply to {% data variables.copilot.copilot_cli_short %} sessions, and you can also use cloud sandboxes for sessions in the {% data variables.copilot.github_copilot_app %}.
23+
24+
With {% data variables.copilot.sandbox %}, you can choose where {% data variables.product.prodname_copilot_short %} runs:
25+
26+
* **Local sandboxing**: Run {% data variables.product.prodname_copilot_short %} securely on your own machine, with restricted access to filesystem, network, and system capabilities.
27+
* **Cloud sandboxing**: Run {% data variables.product.prodname_copilot_short %} inside fully isolated, ephemeral Linux environments hosted by {% data variables.product.github %}.
28+
29+
## Local sandboxing
30+
31+
Local sandboxing lets {% data variables.product.prodname_copilot_short %} run in a sandboxed environment directly on your machine, with restricted access to your filesystem, network connectivity, and system capabilities.
32+
33+
### Enabling local sandboxing
34+
35+
To enable local sandboxing inside a {% data variables.copilot.copilot_cli_short %} session, run:
36+
37+
```shell copy
38+
/sandbox enable
39+
```
40+
41+
Once enabled, commands that {% data variables.product.prodname_copilot_short %} executes on your behalf run inside the sandbox, limiting their access to your system.
42+
43+
### Cross-platform support
44+
45+
Local sandboxing is available across macOS, Linux, and Windows, delivering a consistent isolation experience regardless of your operating system.
46+
47+
### Enterprise policy enforcement
48+
49+
For organizations and enterprises, local sandbox policies can be centrally configured and enforced using Microsoft Intune and other MDM (mobile device management) platforms. This gives administrators control over how {% data variables.product.prodname_copilot_short %} interacts with local resources across managed devices.
50+
51+
## Cloud sandboxing
52+
53+
Cloud sandboxing lets you run {% data variables.copilot.copilot_cli_short %} sessions inside fully isolated, ephemeral Linux environments hosted by {% data variables.product.github %}. Each cloud sandbox session is isolated from your local environment and from other sessions.
54+
55+
Cloud sandboxing is built on Azure Container Apps Sandboxes, with {% data variables.product.github %} providing the identity, policy, and billing layer.
56+
57+
### Starting a cloud sandbox session
58+
59+
To start a cloud-backed session, run the following command:
60+
61+
```shell copy
62+
copilot --cloud
63+
```
64+
65+
This launches an interactive {% data variables.copilot.copilot_cli_short %} session inside a cloud sandbox. You can prompt {% data variables.product.prodname_copilot_short %} to perform tasks, run shell commands, and iterate on code, the same way you would in a local session. The commands that {% data variables.product.prodname_copilot_short %} runs execute in the cloud environment, not on your local machine.
66+
67+
### Continue sessions across devices
68+
69+
Because cloud sandbox sessions run in {% data variables.product.github %}-hosted infrastructure, you can pick up a {% data variables.product.prodname_copilot_short %} session on any device, regardless of where the session was originally started. This enables more flexible workflows without needing to copy files or reinstall dependencies.
70+
71+
### Offload compute-intensive workflows
72+
73+
You can run multiple {% data variables.product.prodname_copilot_short %} tasks in parallel in the cloud without consuming local resources. This keeps your local environment lightweight and responsive while scaling agent-driven work.
74+
75+
### Unified governance
76+
77+
Cloud sandbox policies share the same configuration as {% data variables.copilot.copilot_cloud_agent %} policies, extending existing security controls to cloud sandboxed execution without additional setup.
78+
79+
### Session lifecycle
80+
81+
A cloud sandbox session has three main states:
82+
83+
* **Active**: The session is running, and you are interacting with it from {% data variables.copilot.copilot_cli_short %}.
84+
* **Stopped**: The session is not currently running, but its state is saved. When you resume it, your files, environment variables, and in-progress work are restored.
85+
* **Deleted**: The session and its saved state are removed and cannot be recovered.
86+
87+
When you stop a session, the cloud sandbox creates a snapshot of its state so you can pick up where you left off later. When you delete a session, both the running environment and the snapshot are removed.
88+
89+
## Authentication and access
90+
91+
{% data variables.copilot.sandbox_short_caps %} use your existing {% data variables.copilot.copilot_cli_short %} authentication. If you can sign in to {% data variables.copilot.copilot_cli_short %} and have access to {% data variables.product.prodname_copilot_short %}, you can use {% data variables.copilot.sandbox_short %}. You don't need to configure a separate cloud provider, manage API keys, or set up infrastructure.
92+
93+
An organization or enterprise owner must enable the **Cloud Sandbox access** policy in the organization or enterprise settings before members can use {% data variables.copilot.sandbox_short %}.
94+
95+
For information about signing in to {% data variables.copilot.copilot_cli_short %}, see [AUTOTITLE](/copilot/how-tos/set-up/install-copilot-cli).
96+
97+
## Billing
98+
99+
Local sandboxing is included in the standard {% data variables.product.prodname_copilot %} seat at no additional cost.
100+
101+
Cloud sandboxing is billed based on usage. {% data variables.product.github %} measures cloud sandbox usage across three meters:
102+
103+
| Meter | Description | Unit | Price (USD) |
104+
| --- | --- | --- |------------|
105+
| Compute | Time that a cloud sandbox session is running. | Compute second | $0.000024 |
106+
| Memory | Memory allocated to a cloud sandbox session while it is running. | GiB second | $0.000003 |
107+
| Storage | Snapshot storage for stopped sessions. | GiB month | $0.005 |
108+
109+
For more information about how cloud sandbox usage is measured and billed, see [AUTOTITLE](/billing/concepts/product-billing/cloud-and-local-sandboxes).
110+
111+
## Further reading
112+
113+
* [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-copilot-cli)
114+
* [AUTOTITLE](/copilot/how-tos/cloud-and-local-sandboxes/enabling-or-disabling-cloud-and-local-sandboxes-for-your-organization)
115+
* [AUTOTITLE](/copilot/how-tos/set-up/install-copilot-cli)

content/copilot/concepts/agents/about-agent-skills.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ contentType: concepts
1212
---
1313

1414
> [!NOTE]
15-
> Agent skills work with {% data variables.copilot.copilot_cloud_agent %}, the {% data variables.copilot.copilot_cli %}, and agent mode in {% data variables.product.prodname_vscode %}.
15+
> Agent skills work with {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_code-review_short %}, the {% data variables.copilot.copilot_cli %}, and agent mode in {% data variables.product.prodname_vscode %}.
1616
1717
## About agent skills
1818

0 commit comments

Comments
 (0)