OpenCode-User
The user agent of the webfetch tool in OpenCode, an open source coding agent. The tool fetches one URL when the agent, working for a person, asks for it.
In short. OpenCode-User is the user agent that the webfetch tool in OpenCode sends. OpenCode is an open source coding agent that runs on each user's machine. OpenCode's webfetch code contains no robots.txt check, so a Disallow rule does not stop these fetches. If a Cloudflare challenge blocks a fetch, the code tries again with the user agent opencode. The OpenCode documentation names no user agent.
On this page 8 sections
Facts
- Documentation
- Reported. Anomaly has not documented this crawler, so each fact below is graded by its evidence.
- Operator
- AAnomaly
- Purpose
- The user agent of the webfetch tool in OpenCode, an open source coding agent. The tool fetches one URL when the agent, working for a person, asks for it.
- robots.txt token
OpenCode-UserA reported name. Anomaly has not confirmed it.- Obeys robots.txt
- No
- User agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; OpenCode-User/1.0; +https://opencode.ai- IP addresses
- Not published by Anomaly.
- If you block it
- No effect from robots.txt. The webfetch code in OpenCode requests the URL directly and contains no robots.txt check. A firewall rule that matches the user agent is the control that works.
Does your site block OpenCode-User? The robots.txt checker shows the rule that decides it.
The evidence
- Confirmed:
OpenCode's documentation says the webfetch tool retrieves one HTTP or HTTPS URL as markdown, text or HTML.1OpenCode documentation
- Confirmed:
OpenCode's webfetch source code sets the user agent to the OpenCode-User/1.0 string.2OpenCode on GitHub
- Confirmed:
The webfetch source code requests the URL directly. It contains no robots.txt check.2OpenCode on GitHub
Read in the source code on Dec 2, 2026.
- Confirmed:
If a Cloudflare challenge answers with status 403, the webfetch code tries the request again with the user agent opencode.2OpenCode on GitHub
- Observed:
OpenCode-User made 1 request to our site, with the user agent in the OpenCode source code.
Seen on promptlyfound.com in the 7 days to Dec 2, 2026.
Confirmed by the platformObserved in data
#What happens if I block OpenCode-User?
OpenCode-User fetches a page when an OpenCode agent asks for it. OpenCode is an open source coding agent from Anomaly. It works on the user's own machine.3 OpenCode's tools documentation says the webfetch tool retrieves one HTTP or HTTPS URL as markdown, text or HTML.1 The user can allow or deny the tool for each URL with a permission rule.
The documentation does not name a user agent. The webfetch source code does: it sends "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; OpenCode-User/1.0; +https://opencode.ai".2 The same code requests the URL directly and contains no robots.txt check. So a robots.txt rule does not stop these fetches.
#How do I block OpenCode-User in robots.txt?
You cannot block it with robots.txt, because the webfetch code does not read the file. To refuse these fetches, add a server or firewall rule that matches "OpenCode-User" in the user agent.
The code has a fallback. If a Cloudflare challenge answers with status 403, it tries the request again with the plain user agent "opencode".2 A firewall rule that matches only "OpenCode-User" does not catch that second request.
#How do I check that a request is from OpenCode-User?
You cannot verify an OpenCode-User request. OpenCode publishes no IP list and does not sign the requests. Each user runs the tool on their own machine, so any client can send the name. Treat OpenCode-User in your logs as a claim.
Check OpenCode-User on your site
The crawler directory lists all 266 bots. 58 crawl for search, 42 fetch pages for a user, 25 collect training data, 12 do more than one job, 8 check ad pages and 5 are control tokens that send no requests. The other 116 are SEO, data, archive, link preview and tool bots.
Questions
Should I block OpenCode-User?
OpenCode-User is a fetcher that loads a page when a user asks an AI assistant from Anomaly. No effect from robots.txt. The webfetch code in OpenCode requests the URL directly and contains no robots.txt check. A firewall rule that matches the user agent is the control that works.
Does OpenCode-User obey robots.txt?
No. A robots.txt rule does not stop OpenCode-User. To block it, use a firewall or CDN rule.
How do I verify OpenCode-User?
Anomaly publishes no way to verify OpenCode-User. The user agent alone is not proof, because any client can copy it.
About this page
Researched and reviewed by Promptly Found. Verified Dec 2, 2026. Next review due Jan 2027.
Cite this page
Promptly Found. (2026, December 2). OpenCode-User https://promptlyfound.com/crawlers/opencode-user
Revisions 1
- First published as a reported profile. OpenCode names this user agent in its source code, not in its documentation.