AI Training Crawlers

AI2Bot user agent

Operated by Ai2

AI trainingOfficial docs Your choice

AI2Bot is the crawler of Ai2 (Allen Institute for AI), which collects web content to train open language models.

What identifies AI2Bot?

  • AI2Bot is operated by Ai2 and collects public web pages that may be used to train AI models.
  • The robots.txt token for AI2Bot is AI2Bot.
  • A training-only usage preference is separate from Search crawling; check whether this token has additional roles.
  • AI2Bot robots.txt support: Yes.
  • Recommendation for Generative Engine Optimization (GEO): Your choice.

What is AI2Bot?

AI2Bot gathers public pages for Ai2’s open research models and datasets.

Ai2 publishes its user agent so sites can filter or reject it.

Should you block AI2Bot?

Choose whether to allow AI2Bot based on its documented purpose, the service you use and the load it places on your website.

Effect on search rankingsA training-only usage preference is separate from Search crawling; check whether this token has additional roles.
Effect on AI visibilityA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.
Follows robots.txtYes
RecommendationYour choice

How to decide whether to allow AI2Bot

Start with the operator documentation linked in this profile. Check the source.

  • AI training: Decide which public material you are willing to make available for training. Review search access separately, and do not assume that blocking reverses previous collection.
  • Access policy: Check the paths and hosts covered by the published or reported policy. A robots.txt rule is not an access control.
  • What to check in logs: Look for AI2Bot, then compare the paths, response codes and request volume before and after your change. Use the token as a starting point in logs. This profile does not list an IP range or reverse DNS method, so the user agent alone is insufficient to verify the operator.

How do you block or allow AI2Bot?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token AI2Bot is matched case-insensitively.

robots.txt: block

# Block AI2Bot
User-agent: AI2Bot
Disallow: /

robots.txt: allow

# Allow AI2Bot
User-agent: AI2Bot
Allow: /

robots.txt: partial

# Keep AI2Bot out of private areas only
User-agent: AI2Bot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /

Nginx

# Nginx: return 403 to AI2Bot
if ($http_user_agent ~* "(AI2Bot)") {
    return 403;
}

Apache

# Apache .htaccess: return 403 to AI2Bot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (AI2Bot) [NC]
RewriteRule .* - [F,L]

Cloudflare WAF

# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "AI2Bot")

How can you verify AI2Bot traffic?

No IP list or reverse-DNS method for AI2Bot is linked in this profile. The header alone cannot authenticate the sender. Anyone can send the same string. Rate-limit unusual volume instead of trusting the name.

How do you find AI2Bot in server logs?

Search the web server access log for the literal identifier. The command below counts candidate AI2Bot requests per URL on Nginx or Apache.

grep -iF -- 'AI2Bot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.

What user-agent string does AI2Bot use?

A user-agent sample recorded in the cited source for AI2Bot. Version numbers such as Chrome/W.X.Y.Z change over time, so match the token, not the whole string.

Mozilla/5.0 (compatible) AI2Bot (+https://www.allenai.org/crawler)

AI2Bot FAQ

AI2Bot identifies itself with the robots.txt token "AI2Bot". A typical request header reads: Mozilla/5.0 (compatible) AI2Bot (+https://www.allenai.org/crawler)

Ai2 states that AI2Bot follows robots.txt rules. Check the documented scope and any exceptions on this profile.

A training-only usage preference is separate from Search crawling; check whether this token has additional roles. A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: AI2Bot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

Not reliably. Ai2 verification is not established by the links recorded for AI2Bot. Anyone can send the same user-agent string; investigate source addresses and request behavior before trusting it.

Search your server access log for "AI2Bot", for example with: grep -i "AI2Bot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: Ai2 crawler documentation. Content updated by Justin Hà.

See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp