Improvement

July 16, 20251 Minute Read

Configure internet access for Copilot coding agent

GitHub Copilot coding agent, currently in public preview, has limited internet access by default to help protect your data and mitigate security risks.

Today, we’re releasing an updated experience that allows you to more easily control Copilot’s internet access. From the “Coding agent” settings page in your repository, you can now:

  • Add custom hosts to the allow list.
  • Opt out of GitHub’s recommended allow list for a more locked-down configuration.
  • Choose to entirely disable the firewall.

If the agent tries to make a request that your firewall blocks, Copilot will add a warning to your pull request.

Screenshot of an example warning from Copilot coding agent where the request is blocked by the firewall

Copilot coding agent is available to all paid Copilot plans. To learn more, see the firewall configuration documentation, or check out other coding agent features.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Configure internet access for Copilot coding agent - GitHub Changelog