You can assign GitHub issues to Copilot, or ask Copilot to create a pull request.
Who can use this feature?Copilot coding agent is available with the GitHub Copilot Pro, GitHub Copilot Pro+, GitHub Copilot Business and GitHub Copilot Enterprise plans. The agent is available in all repositories stored on GitHub, except repositories owned by managed user accounts and where it has been explicitly disabled.
Sign up for Copilot
With Copilot coding agent, GitHub Copilot can work independently in the background to complete tasks, just like a human developer.
Copilot can:
To delegate tasks to Copilot, you can:
Copilot will evaluate the task it has been assigned based on the prompt you give it—whether that's from the issue description or a chat message. Then Copilot will make the required changes and open a pull request. When Copilot finishes, it will request a review from you, and you can leave pull request comments to ask Copilot to iterate.
While working on a coding task, Copilot has access to its own ephemeral development environment, powered by GitHub Actions, where it can explore your code, make changes, execute automated tests and linters and more.
Benefits over traditional AI workflowsWhen used effectively, Copilot coding agent offers productivity benefits over traditional AI assistants in IDEs:
With AI assistants in IDEs, coding happens locally. Individual developers pair in synchronous sessions with the AI assistant. Decisions made during the session are untracked and lost to time unless committed. Although the assistant helps write code, the developer still has a lot of manual steps to do: create the branch, write commit messages, push the changes, open the PR, write the PR description, get a review, iterate in the IDE, and repeat. These steps take time and effort that may be hard to justify for simple or routine issues.
With Copilot coding agent, all coding and iterating happens on GitHub as part of the pull request workflow. Copilot automates branch creation, commit message writing and pushing, PR opening, and PR description writing. Developers let the agent work in the background and then steer Copilot to a final solution using PR reviews. Working on GitHub adds transparency, where every step happens in a commit and is viewable in logs. Working on GitHub also opens up collaboration opportunities for the entire team.
Copilot coding agent is distinct from the "agent mode" feature available in Visual Studio and Visual Studio Code. Copilot coding agent works autonomously in a GitHub Actions-powered environment to complete development tasks assigned through GitHub issues or GitHub Copilot Chat prompts, and creates pull requests with the results. In contrast, agent mode in Visual Studio and Visual Studio Code is part of the GitHub Copilot Edits feature that allows Copilot to make autonomous edits directly in your local development environment. For more information about agent mode, see Asking GitHub Copilot questions in your IDE.
Streamlining software development with Copilot coding agentAssigning tasks to Copilot can enhance your software development workflow.
For example, you can assign Copilot to straightforward issues on your backlog. This allows you to spend less time on these and more time on more complex or interesting work, or work that requires a high degree of creative thinking. Copilot can work on "nice to have" issues that improve the quality of your codebase or product, but often remain on the backlog while you focus on more urgent work.
Having Copilot as an additional coding resource also allows you to start tasks that you might not have otherwise due to lack of resources. For example, you might delegate Copilot tasks to refactor code or add more logging, then immediately assign these to Copilot.
Copilot can start a task, which you then pick up and continue working on yourself. By assigning the initial work to Copilot, you free up time that you would otherwise have spent doing repetitive tasks, such as setting up the scaffolding for a new project.
Making Copilot coding agent availableBefore you can assign tasks to Copilot, it must be enabled. See About enabling GitHub Copilot coding agent.
Copilot coding agent usage costsCopilot coding agent uses GitHub Actions minutes and Copilot premium requests.
Within your monthly usage allowance for GitHub Actions and premium requests, you can ask Copilot to work on coding tasks without incurring any additional costs.
For more information, see GitHub Copilot billing.
Built-in security protectionsSecurity is a fundamental consideration when you enable Copilot coding agent, as with any other AI agent. Copilot has a strong base of built-in security protections that you can supplement by following best practice guidance.
copilot/
. It is subject to any branch protections and required checks for the working repository.For more information, see:
Copilot coding agent is an autonomous agent that has access to your code and can push changes to your repository. This entails certain risks. Where possible, GitHub has applied appropriate mitigations.
Risk: Copilot can push code changes to your repositoryTo mitigate this risk, GitHub:
copilot/
. Copilot cannot push to the main
or master
branches.git push
or other Git commands.Copilot has access to code and other sensitive information, and could leak it, either accidentally or due to malicious user input. To mitigate this risk, GitHub:
Users can include hidden messages in issues assigned to Copilot or comments left for Copilot as a form of prompt injection. To mitigate this risk, GitHub:
Copilot coding agent has certain limitations in its software development workflow and compatibility with other features.
Limitations in Copilot's software development workflowTry the Expand your team with Copilot coding agent Skills exercise for practical experience with Copilot coding agent.
Further readingRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4