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.

Overview

Operated By Anomaly
Source Official Website
Expected To Follow Robots.txt Yes
Insights Last Updated August 11, 2026

Do you operate this agent? Contact us to suggest an update.

Category

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

Expected Behavior

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.

opencode's User Agent

User Agent opencode-smartfetch/1.0

How To Block opencode With Robots.txt

Add this rule to your robots.txt file to block opencode from accessing your entire 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: /

Global Statistics for opencode

As of August 11, 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 Blocked Percentage

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

Country of Origin

United States
opencode normally visits From the United States

Robots.txt Blocking Trend

0% of top websites block opencode in their robots.txt files.

Overall AI Coding Agent Traffic

0.0% of all web traffic came from AI coding agents.

Frequently Asked Questions

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. Almost none of the top websites we track currently have robots.txt rules for opencode.


Does opencode Follow Robots.txt Rules?

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


Does opencode Access Private Content?

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


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.


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