AJ ZAFAR

Architecting intelligence. Delivering impact.

Development & Code Apps5 min read

GitHub Copilot coding agent: assigning issues to an AI teammate

At Build 2025 GitHub put the Copilot coding agent into public preview. You assign it an issue and it opens a draft pull request. Here is how it works and how I would trial it.

Most of the AI coding tools I have used so far sit inside the editor and wait for me. On 19 May 2025, at Microsoft Build, GitHub announced something different: the Copilot coding agent, now in public preview. Instead of chatting with it in your IDE, you assign it a GitHub issue, and it goes away, does the work in the background and comes back with a draft pull request.

I have spent a lot of time this year working with teams who build on Power Platform and Azure, and many of them have a backlog full of small, well understood tasks that never quite reach the top of the sprint. This is aimed squarely at that backlog.

What was announced

Thomas Dohmke’s post on the GitHub blog and the matching changelog entry cover the details:

  • Assign an issue to Copilot. You can do this on github.com, in GitHub Mobile or from the GitHub CLI, the same way you would assign a colleague. You can also start tasks from Copilot Chat in VS Code and other supported editors.
  • It runs in GitHub Actions. The agent spins up its own development environment powered by GitHub Actions, explores the repository, makes changes and runs your tests and linters.
  • It works through a draft pull request. Copilot pushes commits to a draft PR as it goes, and you can follow its reasoning in the session logs.
  • You review it like any other PR. Leave comments and Copilot picks them up and iterates.
  • Context from more than code. It can use Model Context Protocol (MCP) servers that you configure in the repository settings, it can read images in issues (such as a screenshot of a bug), and it follows your custom repository instructions.
  • Best suited to low to medium complexity tasks in codebases that are already well tested: adding features, fixing bugs, extending tests, refactoring and improving documentation.
Create Work Item pane with the Assign to GitHub Copilot option switched on
Assigning work to Copilot is just another assignee. This later Azure Monitor integration shows how other tools can hand issues straight to the agent.Edit: screenshot updated to the current interface.Image: Microsoft Learn (CC BY 4.0)

Security defaults

GitHub has been careful here, and these defaults are what made me take it seriously:

  • The agent can only push to branches it created, so your default branch and team branches are safe.
  • The person who asked Copilot to create the PR cannot approve it, so the “required review” rule still means a second human.
  • Its internet access is limited to a trusted list of destinations that you can customise.
  • GitHub Actions workflows do not run on its PRs until a human approves them.
  • Existing repository rulesets and organisation policies still apply.

Who can use it

In preview the agent is available to Copilot Pro+ and Copilot Enterprise subscribers. For Enterprise, an administrator has to enable the policy first, and then it has to be enabled in each repository. It uses GitHub Actions minutes and Copilot premium requests. From 4 June 2025, each model request the agent makes will count as one premium request, and GitHub says that pricing may change during the preview.

What it means for organisations

The shift here is from pair programming to delegation. That changes who needs to be involved.

Issue quality becomes a productivity lever. The agent is only as good as the issue you give it. A vague one line ticket will produce a vague PR. Teams that write clear acceptance criteria, link to the relevant files and include examples will get far more out of this than teams that do not.

Test coverage matters even more. GitHub is explicit that it works best in well tested codebases. Tests are how the agent checks its own work, and how your reviewers gain confidence quickly. If your coverage is thin, fix that first.

Review becomes the bottleneck. If a developer can hand out five tasks before lunch, someone has to review five PRs after lunch. Plan for that. I would rather see a team handle three good agent PRs a day than open fifteen and let them go stale.

Cost needs watching. Actions minutes and premium requests are both consumed. For most teams that will be modest, but on large enterprise rollouts I would want a budget and some reporting in place before switching it on broadly.

Governance is mostly already there. Because the agent works through branches, PRs, Actions and rulesets, the controls you already use for people apply to it. That is a big advantage over tools that write straight into a working copy.

What I would do now

  1. Pick one repository with good tests, an active team and a backlog of small tasks. Enable the agent there only.
  2. Write five good issues. Include what “done” looks like, the files involved and any constraints. Assign them to Copilot and compare the results with what you expected.
  3. Add repository instructions. Capture your coding standards, how to run tests and any conventions the agent should follow.
  4. Review the firewall allow list and only add MCP servers you trust and need.
  5. Track the numbers. Time from issue to merged PR, number of review rounds, Actions minutes and premium requests used. After a few weeks you will know if it is worth expanding.

My view: this is the first time an AI coding tool has fitted neatly into the way teams already govern code. That makes it much easier to trial safely, and I expect a lot of teams to start here.

↑↓ navigateEnter openEsc close