llms.txt and agents.txt: The Two Files Deciding If AI Engines Quote You

    llms.txt and agents.txt: The Two Files Deciding If AI Engines Quote You

    April 20, 2026

    #llms-txt
    #agents-txt
    #technical-geo

    TL;DR: llms.txt and agents.txt are the new robots.txt for the AI era. They are simple text files you add to your website to give specific instructions to AI crawlers (like those from Google AI Overviews, Perplexity, and ChatGPT). Not having them is like leaving your front door open for some visitors while being invisible to others—you have no control over how AI models use, or more importantly, ignore your content.

    What's the relationship between robots.txt, llms.txt, and agents.txt?

    Think of it as an evolution of control. For decades, robots.txt was the simple doorman for your website, telling search engine crawlers like Googlebot which pages to look at and which to ignore. It worked reliably for a world of blue links. But AI crawlers, or "agents," are a different beast. They don’t just index content for a search result; they ingest it, learn from it, and use it to generate entirely new answers.

    This created a need for more granular controls. llms.txt emerged as an early proposal to give site owners a way to manage AI-specific crawlers, while the more recent agents.txt standard (backed by major AI players) offers a more formal, structured way to do the same. Many in the industry expect agents.txt to become the dominant standard, but for now, implementing both is a smart, belt-and-suspenders approach.

    File Primary Target Key Directives Adoption Status
    robots.txt Traditional Search Crawlers (Googlebot, Bingbot) Disallow, Allow, Sitemap Universal Standard (Since 1994)
    llms.txt Early AI/LLM Crawlers Disallow, Allow Informal/Early Standard
    agents.txt Modern AI Agents (ChatGPT, Google, etc.) User-Agent, Allow, Disallow, Crawl-Delay Emerging Formal Standard
    None All crawlers None (Implied full access) Default for ~99% of SMB sites

    Why robots.txt Isn't Enough for the Age of AI Answers

    Here’s the hard truth: relying on your old robots.txt file to manage AI visibility is a losing strategy. AI companies argue that their crawlers are different from traditional search bots and thus may not be bound by the same rules. Some AI crawlers may honor robots.txt, but many don't, or they apply their own interpretation.

    This is the critical point: Without an llms.txt or agents.txt file, you are ceding all control. You can't tell AI models which parts of your site represent your core expertise, which case studies to prioritize, or which outdated blog posts to ignore. You are letting them guess.

    This leads to two bad outcomes:

    • Invisibility: The AI crawler, seeing no specific instructions, may under-index your site or ignore it altogether in favor of competitors who provide clearer signals.
    • Misrepresentation: The model might train on irrelevant content from your site—like a job posting from 2018 or an old, deprecated pricing page—and present it as fact to a potential customer.

    How to Create Your First llms.txt and agents.txt Files

    This isn't complex. These are plain text files you upload to the root directory of your website (e.g., yourcompany.com/llms.txt). Most companies don't need complex rules. The goal is simply to signal to AI engines that you are aware of them and are actively managing your content for generative AI.

    Example: A Simple, Permissive Configuration

    Here’s what a basic "welcome" policy looks like. You’re telling all AI agents they have access, which is often the best starting point unless you have specific private directories.

    For agents.txt, you would create a file with content like this:

    # Welcome all AI Agents, but please stay out of our admin areas
    User-Agent: *
    Disallow: /admin/

    Even this simple act sends a powerful signal. It tells AI engines you’re a sophisticated operator who understands this new ecosystem.

    Control Over AI Crawlers by Method
    No Files
    5%
    robots.txt Only
    25%
    agents.txt Added
    65%
    agents.txt + Schema
    90%
    Estimated level of control over how LLMs interpret and use your site content.

    The ROI of 15 Minutes: A Huge, Temporary Advantage

    Currently, almost no SMBs are using llms.txt or agents.txt. This presents a massive, short-term opportunity. By being one of the first in your niche to adopt these standards, you send an immediate trust and authority signal to the AI models that are actively crawling the web and forming their "opinions" about who the experts are.

    This isn't just theory. When an AI like Perplexity or Google's AI Overview needs to answer a question like, "Who is the best corporate law firm for startups in Austin?", it looks for sources that appear credible and technically savvy. Having files that explicitly guide AI crawlers is a strong signal. Platforms focused on Generative Engine Optimization (GEO), like our own GeoNexo, automate the creation and management of these files and other key signals like structured data.

    The 15 minutes it takes your developer to create and upload these files could be the highest-ROI activity you do all quarter. You are laying the tracks for AI-driven traffic and discovery for years to come.

    Frequently Asked Questions

    Can't I just block all AI crawlers in robots.txt?+

    You could, but it's a terrible idea. This would make you completely invisible in the fastest-growing channel for information discovery. It's like pulling your business off of Google Maps because you don't want people driving by. The better strategy is to engage and control the narrative, not hide.

    Will Google penalize me for not having an llms.txt or agents.txt file?+

    No, there is currently no "penalty." However, you are missing a significant opportunity. While a competitor with these files is actively guiding AI, you are leaving your visibility to chance. It's not a penalty, it’s a self-inflicted disadvantage.

    Is this the same as Schema.org structured data?+

    No, but they work together. agents.txt tells crawlers where they can and can’t go. Schema.org structured data (in JSON-LD format) explains what your content is about once they get there. A winning GEO strategy uses both: agents.txt for access control and Schema for content context.

    Where exactly do I upload these files?+

    They must be placed in the top-level or "root" directory of your website. The final URLs should be https://www.yourdomain.com/llms.txt and https://www.yourdomain.com/agents.txt. They should not be buried in a sub-folder.