Training

Meta-ExternalAgent

Crawls the web for use cases such as training AI models and improving Meta products.

Training: Collects content to train AI models. Block it if you don't want your content to become training data.

Company
Meta · website
User-agent contains
Meta-ExternalAgent
robots.txt token
meta-externalagent · Respects robots.txt
Official IP ranges
Not published
Documentation
Official docs
Sources
developers.facebook.com
Added · verified
2026-12-02 · 2026-12-02

Block Meta-ExternalAgent

robots.txt
User-agent: meta-externalagent
Disallow: /
nginx (in the http block, then: if ($ai_bot) { return 403; })
map $http_user_agent $ai_bot {
    default 0;
    "~*Meta-ExternalAgent" 1;
}
Apache / .htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (Meta-ExternalAgent) [NC]
    RewriteRule .* - [F,L]
</IfModule>
Cloudflare WAF expression
(lower(http.user_agent) contains "meta-externalagent")

Want to block more bots at once? Use the generator.

Example user-agent

meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)

Other Meta bots

Something wrong or out of date? Edit this bot on GitHub or report a change.