Improvement

March 20, 20261 Minute Read

Trace any Copilot coding agent commit to its session logs

Every commit from Copilot coding agent, our cloud-based background agent, is authored by Copilot, with the human who gave Copilot the task marked as the co-author. This makes it easier to identify code generated by the agent and who started the task.

Now, the agent’s commits link back to the agent session logs by including an Agent-Logs-Url trailer in the commit message.

This gives you a permanent link from agent-authored commits back to the full session logs, so you can understand why Copilot made a change during code review or trace it later for auditing purposes.

To learn more, see “Tracking GitHub Copilot’s sessions” in the documentation.

Copilot coding agent is available to Copilot Pro, Copilot Pro+, Copilot Business, and Copilot Enterprise subscribers. If you’re a Copilot Business or Copilot Enterprise subscriber, an administrator will have to enable Copilot coding agent from the “Policies” page before you can use it.

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.

Trace any Copilot coding agent commit to its session logs - GitHub Changelog