Open your browser and add /llms.txt or /agents.md to your store's primary domain right now. If you run on Shopify, a live plain-text file is already there. Store owners keep getting pitched paid apps to generate a Shopify llms.txt file from scratch. Those pitches omit a basic fact. Shopify manages both endpoints natively on every storefront.
What Shopify llms.txt and Storefront agents.md Already Do
Shopify's theme documentation confirms that Shopify manages /agents.md automatically for every store (Shopify Dev: agents.md.liquid). Shopify calls /agents.md the canonical, agent-facing description of a storefront. Alongside it, Shopify manages /llms.txt by mirroring /agents.md. Its docs state that the managed file is all stores typically need (Shopify Dev: llms.txt.liquid).
Clear up a common naming mix-up first. The public file at yourstore.com/agents.md describes an online store to shopping assistants. Keep it strictly separate from uppercase AGENTS.md files inside Git repositories. Developers use repository AGENTS.md files to instruct coding tools. Public storefront /agents.md files exist for commerce discovery.
Know how Shopify resolves a Shopify llms.txt request too. /llms.txt is never an HTTP redirect. Shopify runs a documented 3-step lookup on your bare primary domain, without locale folders or Shopify Markets prefixes:
- First check. If
templates/llms.txt.liquidexists in your active theme, Shopify renders it. - Second check. Otherwise, if
templates/agents.md.liquidexists, Shopify renders that template. - Default fallback. When neither custom template exists, Shopify serves its managed default.
Compare Managed Defaults Against Custom Liquid Overrides
Shopify shipped custom Liquid templates for these paths on May 28, 2026 (Shopify Changelog). Creating templates/agents.md.liquid controls /agents.md and acts as the default for /llms.txt and /llms-full.txt. Creating templates/llms.txt.liquid controls /llms.txt alone.
Replacement carries a real technical risk. A custom template overwrites the Shopify-managed file completely. Pasting static prose without outputting Shopify's agents Liquid object erases dynamic protocol links. Shopify advises keeping Universal Commerce Protocol (UCP) discovery at /.well-known/ucp and MCP endpoints discoverable through that agents object. Read our guide on Universal Commerce Protocol for online stores before editing theme code.
| File or Path | Default Behavior on Shopify | Custom Override File | Key Caution for Merchants |
|---|---|---|---|
/agents.md | Managed by Shopify as the canonical agent-facing store description. | templates/agents.md.liquid | Replaces managed output; keep UCP (/.well-known/ucp) and MCP endpoints exposed. |
/llms.txt | Managed by Shopify via 3-step lookup on the bare primary domain. | templates/llms.txt.liquid | Served at root domain only, without locale or Markets subfolder prefixes. |
Repo AGENTS.md | Used inside software repositories to instruct coding agents. | Edited in Git repository. | Never copy developer repo rules onto your public storefront URL. |
There are no additional requirements to appear in AI Overviews or AI Mode, nor other special optimizations necessary, including no need to create new machine-readable files, AI text files, or markup.
What Google Says About AI Text Files and Ranking Claims
Question any vendor claiming that a custom Shopify llms.txt file raises rankings or sales. Google Search Central states plainly that its AI features need no special AI text file (Google Search Central). Eligibility never guarantees display either.
Treat your Shopify llms.txt file as clean discovery plumbing. Leaving Shopify's managed file untouched already exposes your store's standard agent endpoints. Only add templates/agents.md.liquid when you want to append verified store policies while keeping the {{ agents }} Liquid output intact:
{% comment %} templates/agents.md.liquid {% endcomment %}
{{ agents }}
Store Policies:
- Returns: 30-day unused returns on standard items
- UCP discovery: /.well-known/ucpCheck /agents.md and /llms.txt in a browser after every theme deploy. Verify that /.well-known/ucp still appears. Review your Shopify checkout readiness for AI agents at the same time.

Fix Product Page Facts So Shoppers and Agents See One Truth
An index file only points an assistant to your catalog. Next, the assistant reads your product pages and structured data. A tidy Shopify llms.txt file cannot rescue vague listings. Keep buyer-relevant facts such as material, size, and availability complete and consistent on every product page.
Audit your catalog where product data lives. Start with your best-selling products. Check every required field against our walkthrough on product structured data for AI shopping agents. Verify variant prices and stock states too. Then test live assistant answers using our guide to track AI recommendations for a Shopify store.
Measure your baseline AI Readiness Score before touching theme files. That scan takes less than two minutes. On Arbling, agents and shoppers see the same facts as the product pages, so both see one truth (Arbling). Run a free scan to inspect what assistants can read on your store right now.
Frequently Asked Questions About Storefront AI Files
Frequently asked questions
No. Shopify hosts both /agents.md and /llms.txt automatically on every store. Shopify's documentation states that the managed file is all typical stores need. Skip paid generator apps.
Shopify serves /llms.txt strictly at your bare primary domain. Locale prefixes and Shopify Markets subfolders are not used for this file. Always check the root domain URL.
No source supports that claim. Google Search Central states that no special AI text file is needed, and eligibility never guarantees display. Focus on complete product facts instead.
Delete templates/llms.txt.liquid and templates/agents.md.liquid in your theme editor. Shopify's 3-step lookup immediately falls back to the managed default file. Refresh both URLs to confirm.