Shopify stores now serve three agent-discovery files by default, with no app and no theme change: /agents.md, /llms.txt and /llms-full.txt. I checked what they say for our store, FurniFindUSA, a home-furnishings shop on a Dawn theme, and then decided which one to override.
What Shopify generates
By default all three URLs serve the same document. On our store /agents.md is 5,758 bytes, and /llms-full.txt is identical except for one line, which tells the reader it's a mirror of /agents.md.
The generated file is about agents that shop:
- the Shop skill, with personalized discovery and accelerated checkout;
- the store's Universal Commerce Protocol profile at
/.well-known/ucp, and an MCP endpoint at/api/ucp/mcp; - rules for agents: get the buyer's authorization before paying, identify agent traffic with Web Bot Auth, back off on
429; - where to read public pages (
/sitemap.xml,/products/{handle},/collections/{handle}); - links to the four policy pages, and a paragraph about Shopify.
That's useful for an agent that will place an order. It's less useful for the more common case, an assistant answering a shopper's question: does this store ship to Canada? What about Hawaii? How long do returns last? The generated file links to the shipping policy but doesn't state any of that, and it lists nothing about what the store sells.
Which template wins
You override the files with theme templates. The lookup order for /llms.txt, from Shopify's docs:
-
templates/llms.txt.liquid, if present -
templates/agents.md.liquid, if present - the Shopify-generated default
/llms-full.txt works the same way with llms-full.txt.liquid. agents.md.liquid controls /agents.md, and it's also the fallback for the other two.
So you have a real choice:
- Override
agents.md.liquidand you replace the whole thing, including the UCP and checkout instructions Shopify keeps current for you. - Override only
llms.txt.liquidand the agent-commerce document stays Shopify's, while/llms.txtbecomes yours.
We did the second. /agents.md and /llms-full.txt are still the generated ones, and /llms.txt is ours, about 13 KB: a summary, then shipping and delivery, returns, payment, customer support, shop by room, popular categories, shop by size and material, shop by price, the buying guides, and notes for AI assistants.
Shopify's docs recommend the opposite for most stores, and they have a point: once you add the template, keeping it current is your job.
The catch: the template can't read your store
These templates render in a restricted Liquid context. Only the request object and an agents object (store name, store URL, the UCP and MCP URLs, the sitemap) are available. shop, collections, articles and the other globals aren't injected.
So you can't loop over your collections or blog posts to build the list. Everything in our /llms.txt beyond those few agents values is hand-written, and that's where the maintenance risk comes from: rename a collection or retire a guide and the file keeps pointing at the old URL.
What we do about it:
- Link to policy pages; don't paraphrase them. Every section that states a policy ends with a link to the full policy.
- Tell assistants not to quote prices. The notes section says prices change often and sends shoppers to the product page.
- Check the links. Every URL in the file should return 200. A link checker run against
/llms.txtcatches renamed collections before an assistant does.
Root files Shopify answers before your theme does
While I was at it, I checked the other files tools look for at the root. The results for our store:
| Path | Status | Body |
|---|---|---|
/robots.txt | 200 | Shopify's robots file (customizable with robots.txt.liquid) |
/sitemap.xml | 200 | Shopify's sitemap index |
/agents.md, /llms.txt, /llms-full.txt | 200 | text/markdown |
/.well-known/ucp | 200 | JSON |
/favicon.ico | 404 | empty |
/favicon.png, /apple-touch-icon.png | 404 | empty, typed image/png |
/ads.txt, /humans.txt | 404 | empty, typed text/plain |
/manifest.json | 404 | empty, typed application/json |
/favicon.svg | 404 | the full theme 404 page, typed image/svg+xml |
Two things surprised me.
/favicon.ico can't be redirected. We added a URL redirect in the Shopify admin from /favicon.ico to the PNG favicon on the CDN. It saved without complaint and changed nothing: the path still returned an empty 404, as far as we can tell because Shopify answers that path before it looks at store redirects. Our DNS isn't behind a proxy, so an edge rule wasn't an option either. Browsers don't mind, since they use the <link rel="icon"> in the page head. Some directory submission checks do fetch /favicon.ico directly: one rejected another of our sites for that 404.
Some 404s come back typed by extension. An unknown .png, .txt or .json path gets an empty 404 with a matching content type. An unknown .svg gets the whole HTML 404 page (about 475 KB on our theme) labelled image/svg+xml. That's harmless for browsers. It can confuse a crawler or monitoring script that trusts Content-Type before checking the status code, so check the status first.
Checklist for a Shopify store
- Read your
/agents.md. It's live already, whether or not you knew. - Decide if shoppers' questions (shipping regions, returns, what you sell) need answers that the generated file doesn't give. If they do, override
/llms.txtonly, and leave/agents.mdto Shopify. - Remember the template can't read your catalogue. Keep it short enough to maintain, link instead of paraphrasing, and run a link checker on it.
- Don't count on fixing
/favicon.icowith a store redirect.
Our version is at furnifindusa.com/llms.txt, next to Shopify's at /agents.md.
