← All articles

Meta-ExternalAgent: What It Is, How to Block It, and Whether You Should

If you open your server logs and see meta-externalagent/1.1 hitting page after page, you are looking at one of Meta's AI crawlers. It is not the bot that builds link previews when someone shares your page on Facebook, and it is not the one that powers citations in Meta AI search. Knowing which Meta bot does what is the difference between a smart robots.txt rule and one that quietly costs you visibility.

This guide explains what Meta-ExternalAgent is, how it differs from Meta's other crawlers, how to block or allow it, and how to decide which option fits your site.

What Meta-ExternalAgent is

Meta publishes a page called "Meta Web Crawlers" in its developer documentation. According to that page, Meta-ExternalAgent is used for "training foundation AI models or improving products by indexing content directly."

In plain terms, it is Meta's AI training crawler. It belongs in the same category as OpenAI's GPTBot or Anthropic's ClaudeBot: a bot that collects public web content that may be used to build and improve AI models.

Meta documents two user agent strings for it:

meta-externalagent/1.1 (+[link to Meta's web crawlers documentation])
meta-externalagent/1.1

The first form includes a link back to Meta's crawler documentation, and that link can change as Meta reorganizes its docs. Match on the meta-externalagent token rather than the full string.

Meta's crawler family at a glance

Meta runs several crawlers, and each one has a different job. Blocking the wrong one can break things you care about.

Crawler What Meta says it does Respects robots.txt?
Meta-ExternalAgent Training foundation AI models or improving products by indexing content Yes, per Meta's docs
Meta-WebIndexer Improves Meta AI search result quality, helps Meta cite and link to your content Not listed as a bypass case
Meta-ExternalFetcher Fetches individual links at a user's request, supports agentic AI features May bypass robots.txt
Meta-ExternalAds Gathers web content for advertising and business products Not listed as a bypass case
FacebookExternalHit Builds previews (title, description, thumbnail) for links shared in Meta's apps May bypass it for security and integrity checks

The practical takeaway: Meta-ExternalAgent is the training bot, Meta-WebIndexer is the search and citation bot, and FacebookExternalHit is the link preview bot. You can treat them separately.

Should you block Meta-ExternalAgent?

There is no single right answer. It depends on what your content is worth to you and what you want from AI platforms.

Reasons to block it

  • Your content is your product. Publishers, course creators, research sites and paid newsletters often do not want their work used for model training without a deal.
  • Server load. Any aggressive crawler adds requests. If your logs show heavy Meta-ExternalAgent traffic on a small server, blocking it is a reasonable fix.
  • Consistency. If you already block GPTBot, ClaudeBot and Google-Extended for training, blocking Meta-ExternalAgent keeps your policy coherent.

Reasons to allow it

  • Brand presence in model knowledge. Models learn what your brand is, what you sell and how you describe it partly from public web content. Blocking training crawlers does not remove what was already collected, but it limits what gets picked up later.
  • Marketing content is meant to spread. Product pages, comparison pages and how-to guides exist to be read and repeated. Many SaaS and small business sites decide that being part of the training data is more upside than risk.
  • Low cost of allowing. If the bot is not causing load problems, allowing it costs you little.

A middle path many sites choose

Block the training crawler, but keep the search and preview crawlers open:

  • Block Meta-ExternalAgent (training)
  • Allow Meta-WebIndexer (Meta AI search citations and links)
  • Allow FacebookExternalHit (link previews when people share your pages)

This mirrors the approach many sites take with OpenAI: block GPTBot, allow OAI-SearchBot. You keep the chance to be cited and linked in AI answers while opting out of training.

How to block Meta-ExternalAgent in robots.txt

Meta's documentation says: "In order to block these crawlers, add a disallow for the relevant crawler to robots.txt."

Block it from the whole site

User-agent: meta-externalagent
Disallow: /

Block it from specific sections only

If you want your marketing pages available but your paid or premium content off limits:

User-agent: meta-externalagent
Disallow: /members/
Disallow: /courses/
Allow: /

Block training, keep search and previews

User-agent: meta-externalagent
Disallow: /

User-agent: meta-webindexer
Allow: /

User-agent: facebookexternalhit
Allow: /

A few things to keep in mind:

  1. Changes are not instant. Meta notes that its crawlers "may cache the contents of robots.txt for up to 24 hours." Give it a day before you judge whether the rule works.
  2. Robots.txt is per host. www.example.com and blog.example.com each need their own file.
  3. Do not block FacebookExternalHit by accident. A broad rule aimed at "all Meta bots" can break link previews on Facebook, Instagram, WhatsApp and Messenger. Your shared links will show up bare, with no image or title.

Meta-ExternalFetcher is a different case

Meta-ExternalFetcher fetches individual links when a user asks Meta AI to look at a page or complete a task. Meta's docs say this crawler "may bypass robots.txt rules" because those are "fetches that were requested by the user."

So a robots.txt disallow is not a reliable way to stop it. If you need to restrict it, you would have to do that at the server, CDN or firewall level by matching its user agent. For most sites this is not worth it: the fetch happens because a real person asked about your page, which is a sign of interest, not scraping.

How to verify that the traffic is really Meta

Anyone can put meta-externalagent in a user agent header. Before you make decisions from your logs, check that the traffic is genuine.

Meta's crawler page recommends adding either the user agent strings or the IP addresses to your allow list, and calls IP allowlisting the more secure option. In practice:

  1. Check the user agent. Look for the exact meta-externalagent/1.1 token.
  2. Check the IP. If your CDN or bot management tool labels traffic as a verified Meta crawler, trust that label over the header alone.
  3. Look at behavior. A real crawler that honors robots.txt should stop requesting disallowed paths after the cache window. If requests continue days later, you may be dealing with a spoofed bot, and a firewall rule is the better tool.

A simple workflow to decide and act

Here is a process you can finish in under an hour:

  1. Audit your logs. Pull a week of access logs and count requests by user agent. Note how much traffic comes from Meta-ExternalAgent, Meta-WebIndexer, FacebookExternalHit and other AI bots.
  2. Classify your content. Split your site into marketing pages (want reach), and protected or premium content (want control).
  3. Write your policy in one sentence. For example: "We allow AI search and preview crawlers everywhere, and block training crawlers from premium content."
  4. Update robots.txt for each host, using the examples above.
  5. Wait 24 hours, then recheck logs to confirm the rule is respected.
  6. Watch the outcome in AI answers. Blocking or allowing crawlers is only half the story. The other half is whether AI assistants actually mention and cite your brand when people ask about your category.

Crawler rules are an input. The output you care about is visibility: does your brand appear when someone asks ChatGPT, Gemini, Google AI Overviews or AI Mode for a recommendation in your space?

VibeSEO tracks exactly that. Its GEO features run daily checks of ChatGPT, Gemini, AI Overviews and AI Mode, show whether your brand is mentioned, which competitors appear alongside it, what AI says about you word for word, and which sources AI cites. If you work inside an AI assistant, the same data is available through the GEO MCP, so you can ask about your AI visibility from Claude or ChatGPT directly.

If you are still comparing options, see the roundup of AI visibility tools to see what each one covers.

Key takeaways

  • Meta-ExternalAgent is Meta's crawler for training AI models and improving products.
  • It respects robots.txt, so User-agent: meta-externalagent plus Disallow: / blocks it.
  • Meta-WebIndexer handles Meta AI search citations, and FacebookExternalHit builds link previews. Treat them separately.
  • Meta-ExternalFetcher acts on user requests and may bypass robots.txt.
  • Allow up to 24 hours for robots.txt changes to take effect, and verify traffic before acting on it.

Want to see whether AI assistants already mention your brand, and what they say? Start free with VibeSEO and get your first GEO preview.

Frequently asked questions

What is Meta-ExternalAgent?

Meta-ExternalAgent is a Meta web crawler that, according to Meta's documentation, is used for training foundation AI models or improving products by indexing content directly. Its user agent contains the token meta-externalagent/1.1.

How do I block Meta-ExternalAgent?

Add a rule to robots.txt: User-agent: meta-externalagent followed by Disallow: /. Meta says its crawlers may cache robots.txt for up to 24 hours, so allow a day for the change to take effect.

Will blocking Meta-ExternalAgent break Facebook link previews?

No. Link previews come from a separate crawler, FacebookExternalHit. As long as you do not block facebookexternalhit, shared links keep their title, description and image.

What is the difference between Meta-ExternalAgent and Meta-WebIndexer?

Meta-ExternalAgent is the training and product indexing crawler. Meta-WebIndexer crawls to improve Meta AI search results and helps Meta cite and link to your content in Meta AI responses. Many sites block the first and allow the second.

Does Meta-ExternalFetcher respect robots.txt?

Not always. Meta says Meta-ExternalFetcher may bypass robots.txt because it fetches individual links that a user requested. To restrict it you would need a server, CDN or firewall rule.