GitHub Copilot's cloud agent: two places to run, limits and AI credits
GitHub's coding agent is now called Copilot cloud agent, part of what GitHub calls Copilot in the cloud. It researches a repository, plans a change, edits files and runs tests in a cloud environment, then opens a pull request. It runs either inside GitHub Actions, where it can use your own runners, or in a cloud sandbox that can work across several repositories. On 1 December 2026 cloud work needs a paid plan: Pro at $10, Pro+ at $39 or Max at $100 a month, or Business at $19 and Enterprise at $39 per user a month.
Published December 1, 2026. Editorial.
Key takeaways
- GitHub's documentation says a Copilot session on GitHub Actions has a maximum run time of 59 minutes, which "cannot be extended or bypassed".
- In both environments the agent works on one branch at a time and opens one pull request per task, and it works only on repositories hosted on GitHub.
- GitHub Actions sessions can use self-hosted runners and custom compute; cloud sandboxes cannot, but they can work across several repositories.
- Paid plans include monthly GitHub AI Credits worth $0.01 each: 1,500 on Pro, 7,000 on Pro+ and 20,000 on Max, read on 1 December 2026.
- From Pro+ upward, GitHub lets you hand tasks to third-party agents, Claude by Anthropic and OpenAI Codex, as a preview.
For a team that keeps its code on GitHub, Copilot's agent starts with an advantage the other agents cannot copy: it is already where that team's issues, pull requests and pipelines are. In 2026 GitHub renamed the agent. What used to be Copilot coding agent is now Copilot cloud agent, part of a wider product GitHub calls Copilot in the cloud [1]. Older articles, and some of GitHub's own links, still use the old name.
This page describes the agent as GitHub's documentation and plans page describe it on 1 December 2026. Every product fact is GitHub's statement.
What the agent does
GitHub's documentation describes the agentic part plainly: "Copilot can research a repository, plan changes, and implement them in the background. It can edit files and run tests and linters in a cloud development environment, rather than your local IDE" [1]. You can review the proposed changes and ask for refinements before a pull request is created, or ask for a pull request in your first prompt [1].
You start work from the Copilot home page on GitHub, the Copilot panel inside a file, issue or pull request, your GitHub dashboard, or the Agents tab of a repository [1]. Slack and Microsoft Teams can also hand work to Copilot [1]. From a security campaign you can assign code scanning alerts to Copilot to fix [1].
Around that core, GitHub has added three features that matter for teams:
- Agent Merge: Copilot watches a pull request and "works on the blockers you select: failed GitHub Actions workflows, merge conflicts, or both" [1].
- Automations: define a task once and Copilot runs it on a schedule or on repository events, such as sorting new issues or preparing weekly release notes [1].
- GitHub Agentic Workflows: tasks written in plain language in Markdown files that run as GitHub Actions workflows, and that "can use Copilot or another supported coding agent" [1].
Two places for the agent to run
The most important choice on this page is the environment. GitHub offers two, and they trade control against reach [1].
| GitHub Actions environment | Cloud sandbox | |
|---|---|---|
| Custom compute and network | Yes, including self-hosted runners | No custom compute; honors firewall allowlists |
| Setup steps | GitHub Actions setup steps | No Actions-specific setup steps |
| Repositories per run | Only the repository the task started in | Can work across several repositories |
| Time limit | 59 minutes per session, cannot be extended | Not stated on the page we read |
| Personal settings | Custom instructions, MCP servers | Adds dotfiles, personal MCP servers and connectors |
| GitHub's advice | For repository-specific integrations, custom environments or self-hosted runners | For cross-repository work and quick access to models |
Source: GitHub's documentation [1].
The GitHub Actions environment is the one that matters for security teams. A self-hosted runner is a machine your company operates that runs GitHub's jobs. When the agent uses one, the checkout of your code and the commands the agent runs happen on that machine, inside your network. That is the same answer Devin gives with Outposts and Grok Build gives with self-hosted machines, but here it comes through a pipeline system many companies already run.
The limits to plan around
GitHub's documentation lists the limits in one place, and each one shapes how you write tasks [1]:
- Time: "Each Copilot session that runs on GitHub Actions has a maximum execution time of 59 minutes. This limit cannot be extended or bypassed." A task that needs longer stops.
- One branch, one pull request: in both environments, "Copilot can only work on one branch at a time and can open one pull request per task."
- One repository on Actions: an Actions-based run changes only the repository you named; a cloud sandbox can work across several.
- GitHub only: "Copilot only works with repositories hosted on GitHub."
- Rules: a ruleset or branch protection rule can stop Copilot from opening or updating pull requests, and administrators can configure a bypass for Copilot.
- Access: without write access to a repository, a session is read only.
The time limit is the one that surprises teams. It suits the size of task the agent does best: a bug fix, a small feature, a test file. It does not suit a large migration, which should be split into tasks that each end in a reviewable pull request. That split is good practice with any agent; here it is enforced.
Plans and AI credits on 1 December 2026
GitHub moved Copilot to a credit system. "Every plan includes a monthly allowance: 1 AI credit = $0.01 USD" [2]. Chat and agent work use credits; code completions in the editor do not [2]. How many credits a task uses depends on the model and the task: "A longer agent session on a frontier model across many files costs more" [2].
| Plan | Price on 1 December 2026 | Total monthly AI credits | Cloud agent |
|---|---|---|---|
| Free | $0 | Limited chat and agent use | No cloud work; upgrade needed |
| Pro | $10 a month | 1,500 | Yes |
| Pro+ | $39 a month | 7,000 | Yes, plus third-party agents (preview) |
| Max | $100 a month | 20,000 | Yes, plus third-party agents (preview) |
| Business | $19 per user a month | Shared across the organization | Yes, under organization policy |
| Enterprise | $39 per user a month | Shared across the organization | Yes, under enterprise policy |
Sources: GitHub's plans page [2] and plans documentation [3]. GitHub splits each individual allowance into base credits and a flex allotment, and says the flex part "may change over time" [2]. Compute is billed separately: in Copilot in the cloud, "cloud and GitHub Actions compute draw on the same monthly GitHub account allowance, separate from AI credits" [1].
Third-party agents inside GitHub
From Pro+ upward, GitHub's plans page lists "Delegate tasks to third-party coding agents like Claude by Anthropic and OpenAI Codex (Preview)" [2]. For a buyer this changes the question. You do not have to choose between GitHub's agent and another one on day one; on these plans you can run more than one agent from the same issue and pull request screens and compare their results on your own tickets. Our Codex, Claude Code and Copilot comparison looks at the three side by side.
What GitHub says about the output
GitHub's documentation is direct: "Copilot can produce incorrect or suboptimal code, including code that contains security vulnerabilities. Review and test the output before using it in production" [1]. It adds that session logs show the work and the tools used, and that the logs "do not replace your own review and testing" [1]. The same rule applies to every agent in this guide, and the vendor's own words help when you write your team's policy.
Teaching the agent your rules
An agent that does not know your conventions writes code your reviewers send back. GitHub offers several ways to give Copilot those conventions, and they stack [1].
- Custom instructions hold personal preferences, repository conventions and organization guidance, and apply to chat and agent work.
- Custom agents and agent skills give task-specific instructions and resources for delegated work, such as how your team writes a database migration.
- MCP servers connect the agent to more tools and data. MCP, the Model Context Protocol, is an open standard for connecting AI agents to outside systems. Repository MCP settings also widen what the agent can read beyond the current repository, which by default it cannot.
- Hooks run your own commands during agent work, for checks or for logging.
- In cloud sandboxes, a dotfiles repository brings your personal instructions, skills and custom agents to every session across repositories. GitHub notes that this does not apply to sessions on GitHub Actions.
Start with the repository's custom instructions. Name the build, lint and test commands, the folders the agent must not change, and how a pull request description should look. That one file improves every later task, and it is the same habit that helps with Codex's AGENTS.md and Claude Code's project instructions.
Who Copilot's agent fits
The agent fits a team that already lives on GitHub. Issues become tasks without copying text into another tool, review happens where review already happens, and the Actions environment can run the agent on runners the company already controls. For a company with strict network rules, that last point can decide the choice on its own.
It fits less well where repositories live elsewhere, where tasks often run longer than an hour, or where one change needs several pull requests. For those teams the documented limits above are hard limits, and an agent without them is a better first trial. Devin's pricing page, for example, lists GitHub, GitLab and Bitbucket [4], and Grok Build's documentation says its cloud agents clone from GitHub, GitLab, Azure DevOps Services or Bitbucket Cloud [5].
The credit system needs one more decision. Because a long agent session on a frontier model uses more credits, a team on Business or Enterprise should set the organization's spending controls before the trial, and watch the first week's usage closely enough to know what one typical task costs.
What to watch in a trial
Pick tasks that fit inside an hour and end in one pull request. Check which environment each entry point uses, since GitHub says defaults "can vary by workflow" [1]. Set the ruleset bypass on purpose, with a named approver, instead of switching off branch protection to make the agent work. Then measure the same things for every agent you test, as the two-week pilot plan describes: tasks finished, pull requests merged without changes, and reviewer minutes per pull request.
Best for
- Teams whose code, issues, reviews and pipelines already live on GitHub.
- Companies that need the agent to run on their own runners, inside their own network, through GitHub Actions.
- Teams that want to start with the agent they already pay for and compare it with Claude or Codex inside the same GitHub screens.
Avoid if
- Your repositories are on GitLab, Bitbucket or Azure DevOps.
- Your typical agent task takes longer than an hour and you plan to run it on GitHub Actions.
- One task often needs several pull requests across branches.
Check before you decide
- Your plan's AI credits and how fast a long agent session on a frontier model uses them.
- Which environment each entry point uses by default, which GitHub says can vary.
- Ruleset and branch protection settings, which can block the agent from opening pull requests.
Common questions
What is Copilot cloud agent?
It is GitHub's name in 2026 for the agent that used to be called Copilot coding agent. GitHub's documentation says Copilot can research a repository, plan changes and implement them in the background, editing files and running tests and linters in a cloud development environment rather than your local editor. It then opens a pull request for review.
What is the difference between the GitHub Actions environment and a cloud sandbox?
GitHub Actions sessions support custom compute, network settings, setup steps and self-hosted runners, but change only the repository you started in. Cloud sandboxes honor firewall allowlists and can work across several repositories, but do not support custom compute or self-hosted runners. GitHub says the default environment can vary by workflow, so check it before starting.
How long can a Copilot agent session run?
On GitHub Actions, GitHub's documentation says each session has a maximum execution time of 59 minutes, which cannot be extended or bypassed, and the session stops if the task exceeds it. Plan tasks that finish well inside an hour, or split larger work into several tasks that each end in a pull request.
How much does Copilot's cloud agent cost?
GitHub's plans page, read on 1 December 2026, lists Pro at $10, Pro+ at $39 and Max at $100 a month for individuals, and Business at $19 and Enterprise at $39 per user a month. Agent work uses GitHub AI Credits worth one cent each. Compute draws on the account's monthly GitHub allowance, separate from AI credits.
Can I use Copilot's free plan for agent work?
GitHub's documentation says paid plans have access to Copilot in the cloud, while Copilot Free users can keep using Copilot Chat on GitHub.com and GitHub Mobile and can upgrade to a paid plan for cloud work. The Free plan includes a limited amount of chat and agent use in the editor and the command line.
Can Copilot hand a task to Claude or Codex?
Yes, as a preview. GitHub's plans page lists delegating tasks to third-party coding agents such as Claude by Anthropic and OpenAI Codex on Pro+ and higher plans, but not on Pro. GitHub Agentic Workflows, which describe tasks in Markdown files and run them as Actions workflows, can also use Copilot or another supported coding agent.
Does Copilot's agent work with GitLab or Bitbucket?
No. GitHub's documentation says Copilot only works with repositories hosted on GitHub and cannot work on repositories stored on other code hosting platforms. A team with code on GitLab, Bitbucket or Azure DevOps should look at agents that support those hosts, which our [comparison table](/guides/autonomous-coding-agents-compared/coding-agent-prices-and-plans) lists.
What can block the agent from opening a pull request?
GitHub's documentation says a ruleset or branch protection rule can prevent Copilot from creating or updating pull requests, and that repository administrators can configure a ruleset bypass for Copilot. Without write access to a repository, a Copilot session is read only. Decide the bypass rules on purpose and record who approved them.
What is Agent Merge?
GitHub describes Agent Merge as Copilot watching a pull request and working on the blockers you select: failed GitHub Actions workflows, merge conflicts or both. You switch it on with Watch and fix in the pull request's merge box, or automatically for pull requests you create. It still needs a person to approve the merge.
Does GitHub warn about the agent's output?
Yes. GitHub's documentation says Copilot can produce incorrect or suboptimal code, including code with security vulnerabilities, and that you should review and test the output before using it in production. Session logs show the work and the tools used, but GitHub says the logs do not replace your own review and testing.
References
- [1] GitHub, Copilot on GitHub, documentation (read 1 December 2026; the former About Copilot coding agent page redirects here): environments, limits, Agent Merge, automations, warnings
- [2] GitHub, Copilot plans and pricing page (read 1 December 2026): Free, Pro, Pro+, Max, Business, Enterprise, AI credits, third-party agents
- [3] GitHub, Plans for GitHub Copilot, documentation (read 1 December 2026): AI credit allowance by plan, cloud access on paid plans
- [4] Cognition, Devin plans and pricing page (read 1 December 2026): supported git hosts
- [5] Grok Build, Cloud Agents, documentation (read 1 December 2026): supported git hosts
Related reading
How to write a bug report an agent can act on
A bug report written for a colleague relies on everything that colleague already knows. Give the same three lines to an agent and it will fix something, confidently, that nobody asked it to change.
Why code ownership still matters when agents write it
An agent can write a service in an afternoon, but somebody still has to be the person who gets the alert at two in the morning, and that job does not disappear just because a human did not type the code.
More in The agents
Devin by Cognition: what it does, what it costs and where it runs
Devin, made by Cognition, is a coding agent that works on a task in its own cloud computer and returns a pull request. On 1 December 2026 Cognition's pricing page lists a Pro plan at $20 a month, a Max plan at $200, and a Teams plan at $80 a month for up to 100 users. Paid plans can link a personal ChatGPT plan so GPT model use is billed there. Cognition renamed its Windsurf editor to Devin Desktop in June 2026, so Devin is now one product with a desktop app, a command line tool and cloud sessions.
Factory and its Droids: plans, Missions and where the work runs
Factory sells coding agents it calls Droids. They run in a desktop app, a command line tool, a web app and a software kit, and they can be started from Slack, Linear, Jira, Microsoft Teams and Google Chat. On 1 December 2026 Factory's free plan lets you sign in with ChatGPT, GitHub Copilot, OpenRouter or your own API keys, and its paid plans start at $20 a month. Its Missions feature plans a large project as milestones and hands the work to an orchestrator that runs many Droids. TechCrunch reported a $1.5 billion valuation in April 2026.
Harness and Cosmos: coding agents inside a delivery platform
Harness sells a platform for building, testing and releasing software, and it adds coding agents in two ways. Its own pull request agents review code, fix failed builds and write missing tests, running as steps in a Harness pipeline. In October 2026 Harness also bought Cosmos, Augment Code's cloud platform that coordinates many coding agents, along with Augment's command line tool and code search engine. Harness's chief executive told SiliconANGLE that customers can keep their own coding tools, adopt Cosmos, or use both.
OpenAI Codex in the cloud: plans, cloud tasks and security
OpenAI's Codex is a coding agent that runs on your computer and in OpenAI's cloud, and in 2026 it shares its plans and limits with ChatGPT. On 1 December 2026 OpenAI's pricing page says cloud tasks, automatic code review and the Slack integration come with ChatGPT Plus at $20 a month and above. Codex used with an API key alone works in the command line and editor but has no cloud features. In a cloud task, Codex checks out your repository in a container, internet access for the agent is off by default, and you open a pull request when you approve the result.
Claude Code in the cloud: cloud sessions, GitHub Actions and scheduled tasks
Anthropic's Claude Code runs as an autonomous agent in three ways: cloud sessions that keep working after you close your laptop, a GitHub Action that answers @claude in issues and pull requests, and cloud scheduled tasks that start on a timer, an API call or a GitHub event. On 1 December 2026 Anthropic's documentation says cloud sessions come with the Pro, Max, Ultra and Team plans and some Enterprise seats, count toward the plan's usage limits, and carry no separate charge for the cloud machine. Cloning and pull requests in Anthropic's cloud require GitHub.
Cursor's cloud agents, now Grok Build: how they run and what changed
SpaceX announced in June 2026 that it would buy Cursor for $60 billion in stock, according to SiliconANGLE. On 1 December 2026 Cursor's documentation and pricing addresses lead to Grok Build pages, and Cursor's cloud agents are documented as Grok Build cloud agents. They run each task in its own virtual machine, clone from GitHub, GitLab, Azure DevOps or Bitbucket, and open a pull request for a person to review. Cloud agents are included from the $30 a month Premium plan upward, and third-party models are billed separately.
Amp and its orbs: cloud machines that sleep, and chat plans you can link
Amp is a coding agent whose cloud work happens in orbs: a fresh, isolated cloud machine for each thread that sleeps when the agent stops and costs nothing while asleep. On 1 December 2026 Amp's pricing documentation lists a free Hobby tier, Megawatt at $20 a month and Gigawatt at $200, with teams at no extra charge. You can link a ChatGPT or Claude subscription for model use, bring your own API keys, and run orbs on your own machines for free on every tier except Enterprise.
OpenHands: the open-source coding agent you can run yourself
OpenHands is an open-source platform for AI coding agents, published on GitHub under the MIT license. On 1 December 2026 its pricing page says the open-source version is free to self-host with your own model key and can run other agents such as Codex and Claude. A Teams plan costs $500 a month for 10 users with $50 for each extra seat, and adds user identity, single sign-on and budgets. OpenHands Cloud runs conversations and automations in on-demand sandboxes when you would rather not host them.
Google Jules is closing: the dates, the export and Antigravity's remote agents
Google's Jules, an asynchronous coding agent that worked on GitHub repositories in a cloud virtual machine, is closing. Google's notice says Jules became read-only after 11 November 2026 and winds down on 31 December 2026, as part of unifying Google's coding agent work. Your code and pull requests stay on GitHub, and a command line export saves Jules settings, memories, scheduled tasks and session history. Google names Antigravity as its agent-first platform. Antigravity Remote Agents run sessions in a Google-managed environment for personal Google AI Pro and Ultra accounts.