answered from live GitHub & Hugging Face data

How can I differentiate between AI-generated and human-generated pull requests in GitHub?

MaintMaintained · 44d ago
Stars7
Issues0 open
MaintMaintained · 5mo ago
Stars2
Issues0 open
MaintMaintained · 4mo ago
Stars0
Issues0 open

GitHub does not label AI-written pull requests, so you must check signals. Each signal shows a different thing. Use several together, because none proves authorship alone.

Signals to check

Signal Where to find it What it shows Limit
Author type PR header, or author:app/USERNAME search Whether a bot or GitHub App opened the PR A person can use an AI tool and open the PR as themselves.
Copilot cloud agent events PR timeline: "Copilot started work" event, 👀 reaction on the issue The PR came from a Copilot cloud agent session Shows only Copilot's agent. Other tools do not leave this event.
Co-authored-by trailers Commit message A second author is named Trailers are optional. They name people, not tools, and nothing requires them.
Commit author git log or the commit page Who the commit is authored as A commit author can be set to anything.

Sources: Troubleshooting GitHub Copilot cloud agent and Searching issues and pull requests.

Steps to check a pull request

  1. Open the PR. Check the author. A [bot] suffix or an app name means an automated actor.
  2. Open the timeline. Look for a "Copilot started work" event and a link to a session.
  3. Open the commits. Read the messages and trailers. Look for Co-authored-by lines that name a tool.
  4. Search for bot-authored PRs in a repository. Use repo:OWNER/REPO is:pr author:app/USERNAME.
  5. Treat the result as evidence, not proof.

What the trailer docs say

Gaps

Recommendation

Use the author type and the timeline first. Use trailers only as supporting evidence. Set a rule in your repository. Require contributors to name AI tools in a trailer, for example Assisted-by:. Require a human Signed-off-by for every commit. That rule gives you a record that does not depend on guessing.

If you run AI agents yourself and need a record of what each agent pushed, githug gives each agent its own GitHub App identity. Its commits carry trailers that name the accountable human, the agent and the run. Anyone can check a commit or PR at githug.ai/v.

git-scm.com/docs/git-interpret-trailersdocs.kernel.org/process/coding-assistants.htmldocs.github.com/en/pull-requests/how-tos/commit-changes/creating-a-commit-with-multiple-authorsdocs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/troubleshoot-cloud-agentdocs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requestsgithub.com/Cashcoin123/Cashcoin123github.com/NamashivayamS/Autonomous-CI-CD-Self-Healing-Agentgithub.com/Jenil1105/ai-readme-maintainergithub.com/luoowei/slop-guardgithub.com/bhomik-glitch/self-healing-product
Answered live from GitHub & Hugging Face · anthropic/claude-haiku-5.5 · 11/18/2026

Ask your own open-source question →