Coding agents

Trae

Trae is a bot operated by ByteDance that pulls documentation and examples while an AI writes code. Trae is an AI-powered coding agent developed by ByteDance that can understand codebases, fetch web content, and generate code. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

ByteDanceClaim onlyrobots.txt:No policy

Live check

Verify an IP that claimed to be Trae

No operator check exists for Trae. This still shows what the address really is.

Reference

Trae at a glance

Reference data for the Trae crawler
User agentTrae

Token only: match on the substring.

OperatorByteDance
PurposeCoding agents
Respects robots.txtNo policy
Verification methodClaim onlyNone published, user agent only

No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof.

Crawl patternNot published
Robots.txt tokensTrae
Operator documentationNone published

Trae is an AI-powered coding agent developed by ByteDance that can understand codebases, fetch web content, and generate code.

robots.txt

Allow or block Trae

Paste one at the root of your domain. Rules are per token.

Block Trae
User-agent: Trae
Disallow: /
Allow Trae
User-agent: Trae
Allow: /
Allow, except the pages you never want quoted
User-agent: Trae
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

Edit the Disallow paths to match your own URLs.

What blocking actually costs you

Blocking Trae mainly affects developers reading your documentation through an AI tool. Most sites want that traffic.

Build a file for every crawler

FAQ

Trae questions

What is Trae?

Trae is a bot operated by ByteDance that pulls documentation and examples while an AI writes code. Trae is an AI-powered coding agent developed by ByteDance that can understand codebases, fetch web content, and generate code. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

Does Trae respect robots.txt?

Not documented. No operator statement says whether Trae reads robots.txt, so add the rule but verify in your logs that the requests actually stop.

How do I verify a request really came from Trae?

You cannot, at least not from the request itself. No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof. Compare the source IP against hosting and datacenter ranges instead, and rate limit anything that behaves like a crawler.

How do I block Trae?

Add the Trae token to robots.txt with Disallow: /. If the crawler ignores robots.txt, match the user agent at your CDN or reverse proxy and return 403 there instead.

Will blocking Trae hurt my search rankings?

Blocking Trae mainly affects developers reading your documentation through an AI tool. Most sites want that traffic.

    Trae (ByteDance): User Agent, IP Verification & robots.txt | IPScanner