Meta-ExternalAgent

AI training crawler

Meta's crawler for uses such as training foundation AI models and improving products by indexing content directly, as Meta describes it in its crawler documentation.

OperatorMeta
TypeAI training crawler
Respects robots.txtYes (documented)
DocumentationOfficial operator documentation

What Meta documents about Meta-ExternalAgent

  • Meta says Meta-ExternalAgent crawls the web for uses such as training foundation AI models or improving products by indexing content directly.
  • Meta asks you to allow up to 24 hours for a robots.txt change to take effect, because its crawlers may cache robots.txt for up to 24 hours.
  • Meta says allowing a separate crawler, Meta-WebIndexer, which has its own robots.txt token, helps it cite and link to your content in Meta AI answers. Link previews come from FacebookExternalHit, which Meta says might bypass robots.txt during security or integrity checks.

Checked against the Meta documentation on 21 November 2026.

Meta-ExternalAgent and other Meta bots

Meta runs 2 bots and controls in this directory, each with its own robots.txt rule: Meta-ExternalAgent (AI training crawler), Meta-ExternalFetcher (AI assistant fetcher). Allowing or blocking one does not change the others.

BotTyperobots.txt tokenRespects robots.txt
Meta-ExternalAgentAI training crawlermeta-externalagentYes (documented)
Meta-ExternalFetcherAI assistant fetchermeta-externalfetcherPartially

Meta-ExternalAgent user-agent string

This is how Meta-ExternalAgent identifies itself in your server logs:

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

How to block Meta-ExternalAgent in robots.txt

Add this to the robots.txt file at the root of your site:

Block Meta-ExternalAgent

User-agent: meta-externalagent
Disallow: /

Explicitly allow Meta-ExternalAgent

User-agent: meta-externalagent
Allow: /

What blocking changes: Your content is excluded from Meta's AI training crawls. Link previews on Facebook/Instagram use a different crawler (facebookexternalhit) and are unaffected.

Want to decide for all AI bots at once? Use the AI robots.txt generator.

How to whitelist Meta-ExternalAgent

To whitelist Meta-ExternalAgent, add "User-agent: meta-externalagent" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then make sure your firewall, WAF or CDN does not challenge or rate limit requests with its user agent.

  1. In robots.txt, add a User-agent: meta-externalagent group with Allow: /, and check that no broader User-agent: * rule or other group disallows the paths you want crawled.
  2. In your firewall, WAF or CDN bot settings, make sure requests with the Meta-ExternalAgent user agent are not challenged or rate limited. Meta does not publish a machine-readable IP list for this bot, so match on the user agent and check the operator documentation.
  3. Check your server logs for Meta-ExternalAgent requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.

Other ai training crawlers

Is Meta sending you visitors?

Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.

See your AI traffic