Improvement

February 18, 20261 Minute Read

Copilot coding agent supports code referencing

Copilot coding agent, our asynchronous, autonomous background agent, now works with Copilot code referencing.

If the agent generates code that matches code in a public GitHub repository, the matching code will be highlighted in the agent session logs with a link to the original code, so you can understand where the code comes from and any license that may apply.

Copilot coding agent does not support the “Suggestions matching public code” policy’s Block mode. When the policy is set to Block, suggestions matching public code will not be blocked, and instead will be highlighted in the session logs.

For more information, see “Finding public code that matches GitHub Copilot suggestions” in the GitHub Docs.

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.

Copilot coding agent supports code referencing - GitHub Changelog