Skip to main content

GitHub Copilot Agent

recommended: allow
Operated by Microsoft / GitHub ai coding agent

GitHub Copilot coding agent — fetches documentation and code references from the web during agentic coding sessions.

How to identify it

User-agent contains any of:

  • Code/1.

Example user-agent string:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.115.0 Chrome/142.0.7444.265 Electron/39.8.5 Safari/537.36

robots.txt

Well-behaved crawlers honor robots.txt. To control GitHub Copilot Agent:

Allow full access

User-agent: Code/1.
Allow: /

Block entirely

User-agent: Code/1.
Disallow: /

Grey-area scrapers ignore robots.txt. Botscope enforces your policy at the edge or origin regardless — see how →

References

See GitHub Copilot Agent on your own site

Botscope shows every bot and AI agent hitting your site — and lets you allow, challenge, or block each one. Observe first, enforce when you're ready.

Start free — connect in minutes