What is Code?
Code (GitHub Copilot) is an AI coding agent that can autonomously plan, build, and execute development tasks, functioning as a collaborative AI pair programmer. Agent Analytics can track when it visits your website.
Category
Expected Behavior
Code shows up while a developer is coding against something you publish, pulling docs, API references, and examples in quick runs of several pages within a few seconds. With many developers using it at once, those runs overlap into steady traffic rather than the quiet gaps a single user would leave. Either way, requests concentrate almost entirely on technical content.
Overview
| Operated By | GitHub |
| Expected To Follow Robots.txt | Yes |
| Insights Last Updated | July 6, 2026 |
Robots.txt Blocked Percentage
Country of Origin
Robots.txt Blocking Trend
As of July 6, 2026, 0% of top websites block Code in their robots.txt files.
Overall AI Coding Agent Traffic
As of July 6, 2026, 0.0% of all web traffic came from AI coding agents.
Top Visited Website Categories
This data reflects agent visits measured across thousands of websites using Agent Analytics, combined with daily scans of the world's top 1000 websites and their robots.txt files.
Code's User Agent
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.126.0 Chrome/148.0.7778.97 Electron/42.2.0 Safari/537.36 |
Access other known user agents and IP addresses using the Enterprise API.
How To Block Code
Add this rule to your robots.txt file to block Code from accessing your entire website. You can customize which pages are blocked by swapping out / for a different path.
User-agent: Code # https://knownagents.com/agents/code
Disallow: /
Frequently Asked Questions
Should I Block Code?
Allow it if you publish documentation or technical content. Code fetches docs and code examples at the moment a developer needs them, so blocking it makes your product harder to build with. Search rankings are unaffected either way. Almost none of the top websites we track have robots.txt rules for Code right now.
Does Code Respect Robots.txt?
Yes. Code is expected to honor robots.txt rules, so a disallow rule is the right first move. Automatic Robots.txt adds and maintains that rule for you, and Agent Analytics confirms Code actually honors it.
Does Code Access Private Content?
Not on its own. Code reads public documentation, references, and code examples. It can only reach private resources if the developer using it supplies credentials on purpose.
Why Is Code Visiting My Website?
A developer somewhere is building against something you document. Code pulled your docs, API reference, or examples because they were relevant to the code being written at that moment.
How Can I Tell if Code Is Visiting My Website?
Agent Analytics tracks Code visits in real time alongside every other known AI agent, crawler, and scraper. You can also check your server logs for requests whose user agent string contains "Code". Look for bursts of requests to your documentation and reference pages. Keep in mind that Code doesn't publish a verification method, so any client can claim its user agent string and a log match is a hint rather than proof.