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. You can set up Agent Analytics to see when Code visits your website.

Category

AI Coding Agent
Fetches documentation and other resources to help build software
Do you operate this agent? Contact us to suggest an update.
Example User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.143.1 Chrome/150.0.7871.250 Electron/43.7.7 Safari/537.36
Operated By GitHub
Source Official Website
Triggered By User action
Used for AI Model Training Not expected
Affects AI Chat & Search Visibility Possibly
Expected To Follow Robots.txt Yes

Why Is Code Visiting My Website?

A developer is working with a product or technology you document. Code retrieved your documentation, API reference, or examples because they were relevant to the code being written.

Should I Block Code?

Allow Code if developers rely on your documentation or technical content. Blocking it can make your product harder to build with but does not affect traditional search rankings. For context, 8% of the top websites we track currently have robots.txt rules for Code.

How Do I Block Code Using Robots.txt?

Add this rule to your robots.txt file to block Code from accessing your website, or use Automatic Robots.txt to block all AI coding agents at once. You can customize which pages are blocked by swapping out / for a different path.

User-agent: Code # https://knownagents.com/agents/code
Disallow: /

Insights for Code

As of November 9, 2026, this data reflects agent visits measured across thousands of websites using Agent Analytics, combined with daily scans of the top 1000 websites and their robots.txt files.

Robots.txt Compliance

Not enough activity

Country of Origin

Not enough activity

Robots.txt Blocked Percentage

8%
8% of top websites are blocking Code
Learn How →

Top Visited Website Categories

Hobbies and Leisure
Computers and Electronics
Internet and Telecom
Finance
Business and Industrial

Robots.txt Blocking Trend

8% of top websites block Code in their robots.txts.

Code Traffic

0.0001% of all website traffic is coming from Code.

Frequently Asked Questions

What Traffic Patterns Should I Expect From Code?

Code typically makes several requests within seconds. A single developer leaves quiet gaps, while overlapping sessions can produce steady traffic. Activity comes in short, targeted sessions rather than broad site-wide crawls.


Does Code Follow Robots.txt Rules?

Code is expected to follow robots.txt rules, so a disallow rule is the appropriate first step if you want to block it. Automatic Robots.txt can add and maintain that rule, while Agent Analytics lets you verify whether Code respects it.


Is Code Used for AI Model Training?

Not ordinarily. Code is not categorized as an AI training scraper or data provider, so AI model training is not its expected purpose.


Does Blocking Code Affect AI Search or Citations?

Blocking Code can keep your documentation out of answers it gives developers. It does not directly affect general AI search indexes or traditional search rankings.


Does Code Access Private Content?

Not unless a developer explicitly provides credentials. Code otherwise reads only public documentation, references, and code examples.


How Can I Verify a Request From Code?

Agent Analytics tracks Code visits in real time. You can also check your server logs for requests whose user-agent string contains "Code". Look for clustered requests across documentation, API reference, and code example pages. Because Code does not publish a verification method, any client can claim its identity and a log match is only a clue.