What is opencode?

OpenCode is an open-source AI coding agent that helps developers write code from the terminal, IDE, or desktop, supporting multiple LLM providers and local models. You can set up Agent Analytics to see when opencode 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 AppleWebKit/537.36 (KHTML, like Gecko); compatible; OpenCode-User/1.0; +https://opencode.ai
Operated By Anomaly
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 opencode Visiting My Website?

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

Should I Block opencode?

Allow opencode 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 opencode.

How Do I Block opencode Using Robots.txt?

Add this rule to your robots.txt file to block opencode 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: opencode # https://knownagents.com/agents/opencode
Disallow: /

Insights for opencode

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

United States
opencode traffic often comes from the United States

Robots.txt Blocked Percentage

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

Top Visited Website Categories

Computers and Electronics
Internet and Telecom
Business and Industrial
Finance
Jobs and Education

Robots.txt Blocking Trend

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

opencode Traffic

0.0024% of all website traffic is coming from opencode.

Frequently Asked Questions

What Traffic Patterns Should I Expect From opencode?

opencode 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 opencode Follow Robots.txt Rules?

opencode 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 opencode respects it.


Is opencode Used for AI Model Training?

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


Does Blocking opencode Affect AI Search or Citations?

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


Does opencode Access Private Content?

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


How Can I Verify a Request From opencode?

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