The legal framework governing the ownership, protection, and permissible use of original works of authorship, currently undergoing massive disruption due to the training and output of Generative AI models.
The laws that decide who owns a creative work (like text, art, or code) and who gets to use it. Right now, there is a massive legal battle over whether AI companies can use copyrighted human work to train their models, and whether the AI’s output can be copyrighted at all.
Generative AI challenges traditional IP law on two distinct fronts:
robots.txt “TDM-reservation” (Text and Data Mining) are emerging, allowing creators to explicitly block their content from being scraped by AI crawlers.A chef using a cookbook. If a chef reads a cookbook to learn techniques and creates a brand new dish, that’s “Fair Use” (training). If the chef photocopies the cookbook and sells it, or exactly replicates a signature dish and claims they invented it, that’s copyright infringement.
# Conceptual: Checking for TDM (Text and Data Mining) opt-out in robots.txt
# AI scrapers should check this before ingesting content for model training.
import urllib.request
import re
def check_tdm_permission(domain):
"""
Checks if a domain explicitly allows or denies AI training on its content.
"""
try:
url = f"https://{domain}/robots.txt"
with urllib.request.urlopen(url) as response:
content = response.read().decode('utf-8')
# Look for the emerging TDM-reservation standard
if re.search(r'Allow:\s*.*-bot\s*\(tdm-reservation:\s*0\)', content, re.IGNORECASE):
return "Permission Granted: Content may be used for AI training."
elif re.search(r'Allow:\s*.*-bot\s*\(tdm-reservation:\s*1\)', content, re.IGNORECASE):
return "Permission Denied: Content is opt-out of AI training."
else:
return "No explicit TDM instruction found. Proceed with caution."
except Exception:
return "Could not retrieve robots.txt."
print(check_tdm_permission("example-news-site.com"))