-
Home
-
User Agent Directory
- AI2Bot
AI2Bot
What is AI2Bot?
AI2Bot is the web crawler operated by the Allen Institute for AI (AI2), a non-profit research institute. The bot crawls web content to support AI research projects including Semantic Scholar, a free academic search engine, and the training of OLMo, AI2's open-source language model. The crawler respects robots.txt directives and is used for legitimate research purposes. AI2 is committed to responsible AI development and provides clear documentation about its crawling practices.
User Agent String
Mozilla/5.0 (compatible) AI2Bot (+https://www.allenai.org/crawler)
How to Control AI2Bot
Block Completely
To prevent AI2Bot from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify AI2Bot
Verify requests originate from Allen Institute IP ranges
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect AI2Bot in your application:
Basic Pattern
/AI2Bot/i
Strict Pattern
/^Mozilla/5\.0 \(compatible\) AI2Bot \(\+https\://www\.allenai\.org/crawler\)$/
Flexible Pattern
/AI2Bot[\s\/]?[\d\.]*?/i
Vendor Match
/.*Allen Institute for AI.*AI2Bot/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Limit Access | Protect pricing and inventory data from AI training |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Selective | Allow for public docs, block for internal docs |
| Corporate Site | Limit | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
AI2Bot
Robots.txt Name
AI2Bot
Category
ai
Respects robots.txt
Yes