Trae

browser-automation Trae\/

ByteDance's AI coding agent

About this crawler

Trae is a web crawler identified by the regular-expression pattern Trae\/ in the User-Agent request header. It is categorised as browser-automation. Use the regex above to detect, log, allow, or block Trae traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

0.13%
latest snapshot
2026-06-04
matched key: Trae
2026-06-032026-06-040.15%

Technical details

Name
Trae
Pattern
Trae\/
Tags
browser-automation
Reference
https://www.trae.ai/
Added
2026/04/26
rDNS suffixes
.bytedance.com, .tiktokv.com
Instances
1 known sample(s)

rDNS verification (FCrDNS)

Verify a request is genuinely Trae with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.

Sample User-Agent strings

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Trae/1.107.1 Chrome/142.0.7444.235 Electron/39.2.7 Safari/537.36

Block this crawler

robots.txt — disallow Trae:

User-agent: Trae Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} Trae\/ [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "Trae\\/") { return 403; }
← back to all crawlers