Sub topic 12
TDMRep and ai.txt
This chapter assumes you understand HTTP headers, robots.txt, Markdown, and the difference between a web crawler and an AI model. It focuses on two proposed ways to express content-use preferences: TDMRep and ai.txt.
TDMRep: reserving text-and-data-mining rights
TDMRep is short for Text and Data Mining Reservation Protocol. It gives a website a machine-readable way to say that text and data mining requires permission or is reserved.
A site can send the signal in an HTTP response header:
HTTP/1.1 200 OK
Content-Type: text/html
TDM-Reservation: 1The 1 indicates that the publisher reserves the relevant text-and-data-mining rights. A site can also provide a policy URL when the protocol or implementation supports one. That policy can explain licensing terms, contact details, or allowed uses.
TDMRep addresses a different question from robots.txt:
robots.txtcommunicates whether a crawler should fetch a URL.- TDMRep communicates a publisher's position about text and data mining of the content.
- Authentication, a firewall, or an access-control rule determines whether a request succeeds.
A compliant consumer may read the reservation and choose not to collect or mine the content. An unknown or non-compliant consumer can ignore it. The signal therefore does not technically prevent copying, and its legal effect depends on the jurisdiction, the publisher's rights, and the applicable license or contract.
ai.txt: a proposed AI-use policy file
ai.txt generally refers to a proposed, site-level file that describes how AI systems may use a publisher's content. Depending on the proposal, the file may express permissions, restrictions, licensing information, or contact details.
This name is less stable than robots.txt. Different projects may define different fields and meanings, and broad adoption is not guaranteed. Before publishing an ai.txt, check:
- Who maintains the specification?
- Which crawlers, search systems, or model providers read it?
- What syntax and policy values are defined?
- Is there evidence from server logs or public implementation documents that consumers use it?
Do not assume that an ai.txt file has a standard meaning merely because it has a familiar filename. A crawler that does not implement the same proposal will treat it as an ordinary, unused file.
How the signals fit together
A publisher can use several layers because they express different intentions:
| Mechanism | Main purpose | Does it block a request? |
|---|---|---|
| `robots.txt` | Crawler access preference | No, not by itself |
| TDMRep | Text-and-data-mining reservation | No |
| `ai.txt` proposal | AI-use policy or licensing information | No |
| Authentication or WAF rule | Technical access control | Yes, when configured |
A common mistake is to publish one of these files and conclude that AI systems cannot use the content. These mechanisms are signals or policies. They become enforceable only when a consumer agrees to honor them, or when separate technical and legal controls provide enforcement.
Choosing between them
Use TDMRep when you need a recognized way to state a text-and-data-mining reservation and your legal or licensing team has defined what that reservation means. Consider an ai.txt proposal only when its target consumers and policy vocabulary are clear.
For a hard block, use authentication, signed URLs, rate limits, bot verification, or WAF rules. Keep measuring access logs so you can distinguish a published preference from behavior that crawlers actually follow.
Exercise
Your site publishes TDM-Reservation: 1, but an unrecognized bot continues downloading pages. What conclusion is justified?
Show answer
The bot does not honor the signal, or it may not be a compliant consumer. TDMRep states a usage preference but does not technically block the download.