AI Training Crawlers

Meta-ExternalAgent user agent

Key Takeaways

  • Meta-ExternalAgent is Meta's crawler for use cases such as training AI models and improving products by indexing content directly.
  • Meta-ExternalAgent uses the operator-documented robots.txt token meta-externalagent.
  • Meta-ExternalAgent has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.

Operated by Meta

AI trainingOfficial docs Your choice

Meta-ExternalAgent is Meta's crawler for use cases such as training AI models and improving products by indexing content directly.

What identifies Meta-ExternalAgent?

Identifiermeta-externalagent
Identity typeOperator-documented crawler or fetcher
Evidence for this identityOperator documentation linked below
robots.txt policyYes
Recorded User-Agent samplemeta-externalagent/1.1

What is Meta-ExternalAgent?

Meta-ExternalAgent collects public web pages for Meta, including for training foundation AI models such as Llama.

It is separate from FacebookExternalHit, so blocking it does not break link previews on Facebook, Instagram or WhatsApp.

Meta-ExternalAgent is Meta's crawler for use cases such as training AI models and improving products by indexing content directly. Source.

For Meta-ExternalAgent, distinguish a crawl preference in robots.txt from server enforcement and removal of an already indexed page.

Should you block Meta-ExternalAgent?

Choose whether to allow Meta-ExternalAgent 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

When does Meta-ExternalAgent visit your site?

Meta-ExternalAgent visits on Meta's own crawl schedule, not because a person asked Meta AI a question. A live visit for a user's question comes from Meta-ExternalFetcher. Pages shown in Meta AI search are collected by Meta-WebIndexer.

Meta does not publish how often Meta-ExternalAgent returns to a website.

The server access log shows the real pattern for your site: count requests that carry the meta-externalagent token per day and per URL.

Why did Meta create Meta-ExternalAgent?

Meta uses Meta-ExternalAgent for use cases such as training foundation AI models and improving products by indexing content directly.

Meta keeps training separate from search, so a website can refuse Meta-ExternalAgent and still allow Meta-WebIndexer to keep appearing in Meta AI answers.

What Meta-ExternalAgent means for GEO

AI products use web content in two ways: they learn from it when a model is trained, and they retrieve it live when they answer a question. Meta-ExternalAgent controls only the first path.

What changesIf you allow itIf you block it
Future model trainingPublic pages can become part of the data Meta uses to train its models.Meta is asked not to use the site's content for training.
What Meta AI knows about your brand without searchingModels can learn the brand, products and terminology directly from your pages.Models learn about the brand only from other websites that mention it.
Citations and links in Meta AI answersNo change: citations depend on Meta-WebIndexer.No change while Meta-WebIndexer stays allowed.
Pages a user asks Meta AI to openNo change: these visits use Meta-ExternalFetcher.No change: these visits use Meta-ExternalFetcher.
Google and Bing rankingsNo effect.No effect.

Meta-ExternalAgent vs other Meta bots

Meta runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.

BotJobrobots.txtIf you block it
Meta-ExternalAgentAI trainingYesA 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.
Meta-WebIndexerAI searchYesRestricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed.
Meta-ExternalFetcherAI assistantNot for user-requested fetchesA blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions.
FacebookExternalHitLink previewYesBlocking may affect future previews. Existing caches, metadata errors and image access can also affect the result.
Meta-ExternalAdsAdsYesBlocking may interrupt a dependent feature. Test the specific service instead of assuming a universal AI effect.
FacebookBotAI trainingYesA 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.

Should your type of site allow Meta-ExternalAgent?

News sites and publishersBlocking Meta-ExternalAgent keeps articles out of future training, which suits content with licensing value. Keep Meta-WebIndexer allowed if Meta AI should still cite the articles.
E-commerceAllow Meta-ExternalAgent if Meta AI should know the brand, product range and store policies. Block cart, checkout and account paths instead of the whole site.
SaaS and B2BAllow. Documentation, comparison and pricing pages that models learn from help Meta AI describe the product correctly.
Local businesses and servicesAllow. A small site gains little from blocking, and training data is one way models learn its services and service area.
Paywalled or licensed contentBlock Meta-ExternalAgent for those sections and keep them behind a login, because robots.txt only asks well-behaved bots to stay away.

Common mistakes with Meta-ExternalAgent

  • Blocking Meta-ExternalAgent to leave Meta AI search. Search uses Meta-WebIndexer; block that token instead if the goal is to leave Meta AI search.
  • Blocking every Meta bot with one broad rule while trying to stop only Meta-ExternalAgent. Write a separate robots.txt group for each token.
  • Assuming robots.txt works backwards. The rule tells Meta-ExternalAgent what it may crawl next; it is not described as removing data collected earlier.
  • Trusting the user agent alone: rate-limit unusual volume instead of trusting the name, because no IP list is published.

How do you block or allow Meta-ExternalAgent?

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 meta-externalagent is matched case-insensitively.

robots.txt: block

# Block Meta-ExternalAgent
User-agent: meta-externalagent
Disallow: /

robots.txt: allow

# Allow Meta-ExternalAgent
User-agent: meta-externalagent
Allow: /

robots.txt: partial

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

Nginx

# Nginx: return 403 to Meta-ExternalAgent
if ($http_user_agent ~* "(meta\-externalagent)") {
    return 403;
}

Apache

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

Cloudflare WAF

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

How can you verify Meta-ExternalAgent traffic?

No IP list or reverse-DNS method for Meta-ExternalAgent 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 Meta-ExternalAgent in server logs?

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

grep -iF -- 'meta-externalagent' 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 Meta-ExternalAgent use?

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

meta-externalagent/1.1

Meta-ExternalAgent FAQ

No. Meta-ExternalAgent collects training data. Meta AI search results come from Meta-WebIndexer, which follows its own robots.txt rule.

No. Meta-ExternalAgent crawls on Meta's schedule. Meta-ExternalFetcher visits a page only when a Meta AI user's request needs it.

Meta-ExternalAgent identifies itself with the robots.txt token "meta-externalagent". A typical request header reads: meta-externalagent/1.1

Meta states that Meta-ExternalAgent 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: meta-externalagent" 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. Meta verification is not established by the links recorded for Meta-ExternalAgent. Anyone can send the same user-agent string; investigate source addresses and request behavior before trusting it.

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

Sources: Meta 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