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. Agent Analytics can track when it visits your website.

Category

AI Coding Agent
Fetches documentation and other resources to help build software

Expected Behavior

opencode 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 Anomaly
Expected To Follow Robots.txt Yes
Insights Last Updated July 6, 2026

Robots.txt Blocked Percentage

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

Country of Origin

Hong Kong SAR China
opencode normally visits From Hong Kong SAR China

Robots.txt Blocking Trend

As of July 6, 2026, 1% of top websites block opencode 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

Computers and Electronics
Science
Finance
Business and Industrial
Arts and Entertainment
Track AI Coding Agents Visiting Your Website
Use Agent Analytics to get realtime visibility into visits from every crawler, scraper, and AI agent.

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.

opencode's User Agent

User Agent opencode

Access other known user agents and IP addresses using the Enterprise API.

How To Block opencode

Add this rule to your robots.txt file to block opencode from accessing your entire website. You can customize which pages are blocked by swapping out / for a different path.

User-agent: opencode # https://knownagents.com/agents/opencode
Disallow: /
Block Every AI Coding Agent
⚠️ Manually adding individual robots.txt rules is not scalable. Instead, use Automatic Robots.txt.

Frequently Asked Questions

Should I Block opencode?

Allow it if you publish documentation or technical content. opencode 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. For comparison, 1% of the top websites we track already have robots.txt rules for opencode.

Does opencode Respect Robots.txt?

Yes. opencode 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 opencode actually honors it.

Does opencode Access Private Content?

Not on its own. opencode reads public documentation, references, and code examples. It can only reach private resources if the developer using it supplies credentials on purpose.

Why Is opencode Visiting My Website?

A developer somewhere is building against something you document. opencode pulled your docs, API reference, or examples because they were relevant to the code being written at that moment.

How Can I Tell if opencode Is Visiting My Website?

Agent Analytics tracks opencode 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 "opencode". Look for bursts of requests to your documentation and reference pages. Keep in mind that opencode 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.

References