---
title: "AI2Bot User Agent: What It Does & How to Block It | Justin Hà"
description: "AI2Bot is Ai2's bot that collects public web pages that may be used to train AI models. See its user agent, robots.txt rules and SEO impact."
url: "https://justinha.info.vn/bots/ai-crawlers/ai2bot/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[AI Training Crawlers](https://justinha.info.vn/bots/ai-crawlers/)

# AI2Bot *user agent*

Operated by [Ai2](https://justinha.info.vn/bots/company/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 rankings | A training-only usage preference is separate from Search crawling; check whether this token has additional roles. |
| --- | --- |
| Effect on AI visibility | 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. |
| Follows robots.txt | Yes |
| Recommendation | Your choice |

## How to decide whether to allow AI2Bot

Start with the operator documentation linked in this profile. [Check the source](https://allenai.org/crawler).

- **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](https://justinha.info.vn/ai-log-file-analyzer-tool/), 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

What is the AI2Bot user agent?

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

Does AI2Bot respect robots.txt?

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

Will blocking AI2Bot hurt my SEO?

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.

How do I block AI2Bot in robots.txt?

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.

How can I verify a request really comes from AI2Bot?

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.

How do I see if AI2Bot visits my website?

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](https://allenai.org/crawler). Content updated November 12, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[AI2Bot-DeepResearchEval Ai2 AI assistant](https://justinha.info.vn/bots/ai-assistants/ai2bot-deepresearcheval/)   [Ai2Bot-Dolma Ai2 AI training](https://justinha.info.vn/bots/ai-crawlers/ai2bot-dolma/)   [Amazonbot Amazon AI trainingSearch index](https://justinha.info.vn/bots/ai-crawlers/amazonbot/)   [anthropic-ai Anthropic AI training](https://justinha.info.vn/bots/ai-crawlers/anthropic-ai/)   [ApifyWebsiteContentCrawler Apify Product feature](https://justinha.info.vn/bots/ai-crawlers/apifywebsitecontentcrawler/)   [Applebot-Extended Apple AI training](https://justinha.info.vn/bots/ai-crawlers/applebot-extended/)

## 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.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
