llms.txt and agents.md are plain text files at fixed addresses on your site. AI assistants that read them learn what you sell and how to buy it, and the files give you control over what an agent finds when it does read them.
llms.txt does little for rankings, and Google says its Search does not use the file at all. The reason to care is who writes the file, and that depends on your platform. If you sell on Shopify, the platform already writes these files for you, with Shopify’s own priorities in them. On Magento, BigCommerce, Salesforce and commercetools, the file does not exist until you or a plugin creates it, and WooCommerce only added an llms.txt setup in version 11.4, so an agent often describes you from whatever it can scrape.
What is an llms.txt file?
A website is built for humans. It has menus, images, scripts and a lot of code that an AI has to wade through to work out what you sell. llms.txt is a short plain text note you leave at the front door of your site. It says, in simple terms, here is what we do, here is who we serve, and here are the pages worth reading first.
It lives at one fixed address, yourdomain.com/llms.txt, and it is written in Markdown, the same plain format used for README files. Jeremy Howard of Answer.AI proposed the idea in September 2024. Howard’s pitch: give language models a clean map instead of making them guess from your HTML.
Think of it like the table of contents at the front of a reference book. The book still has every chapter, and the contents page tells a reader in a hurry where to look. llms.txt does that for an AI.
In August 2026, Howard published a second version of the proposal. v2 adds a standard way to link each HTML page to a Markdown copy of itself, with a link tag or an HTTP header, and to point that copy back to llms.txt. A November 2026 update, v2.1, allows relative links and drops the old Optional section in favor of plain descriptive headings. For a store, that means a product page can offer an agent a clean text version without changing what shoppers see.
How an llms.txt file is different from robots.txt and your sitemap
People confuse llms.txt with robots.txt, but they do different jobs. A robots.txt tells crawlers which pages they may or may not crawl. It does not control indexing, so a page blocked in robots.txt can still end up indexed if other sites link to it. Your sitemap is more like a phone book. It lists every page so search engines can find them all.
An llms.txt is neither a directive nor a full list. It is a curated recommendation that highlights your best pages and explains, in one sentence, what each one is for.
| File | Where it lives | Its job | Who reads it |
|---|---|---|---|
| robots.txt | /robots.txt | Tells crawlers what they may crawl | Search and AI crawlers |
| Sitemap | /sitemap.xml | Lists every page you want found | Search engines |
| llms.txt | /llms.txt | Recommends your best pages, with one line on each | AI tools, when they look for it |
| agents.md | /agents.md | Tells an agent how to search, build a cart and check out | Shopping agents |
Four files at the root of your site, each with a different job.
What agents.md adds
The agents.md file is the more powerful cousin of llms.txt. Where llms.txt tells an AI what your store is about, agents.md tells it how to act inside the store. It describes how to search your catalog, how to build a cart, how to start a checkout, and the rule that a human has to approve the payment.
On Shopify, both files serve the same document by default.
Does llms.txt actually work? The honest consensus
According to Adobe Analytics, AI traffic to US retail sites rose 91 percent year over year on Cyber Monday 2026, and that traffic converted 72 percent better than non-AI traffic, up from 17 percent better on Cyber Monday a year earlier.

AI referrals converted 72% better than other traffic on Cyber Monday 2026.
So AI shoppers are worth having. Whether llms.txt helps you get them is a different question, and for getting cited in AI answers the evidence says no, or at least not yet. An SE Ranking study of about 300,000 domains found no link between having an llms.txt and how often AI tools cite a site. The major AI crawlers from OpenAI, Google and Anthropic barely fetch the file: in Ahrefs data for May 2026, 97 percent of llms.txt files got zero requests, and GPTBot, the largest AI fetcher, made under 5 percent of the requests.
In May 2026, Google published its AI optimization guide for generative AI features in Search. The advice is traditional SEO, unique and valuable content on crawlable pages, and it states that you do not need llms.txt or other AI text files, because Google Search does not use them. No major AI platform has confirmed it reads them either. So if an agency sells you llms.txt as a way to rank higher, push back.
Chrome is the one place Google checks the file. Lighthouse 13.3 added an experimental Agentic Browsing category with an llms.txt audit. A missing file scores as not applicable. A server error fails the audit, and so does a file with no H1 title, no links or almost no text, so a broken or bare file is what costs you there.
What you need to know is whether an AI agent can read what you sell and buy it for a customer. Off Shopify, that does not work until you or your platform set it up.
What Shopify serves on every store
In May 2026, with no merchant email, Shopify started serving llms.txt, agents.md and a set of agent discovery files on every store, and only documented how to customize them in a developer changelog on May 28. Your store has them too.
Google announced the Universal Commerce Protocol on January 11, 2026, built with Shopify. Shopify turned on its Agentic Storefronts feature by default for eligible merchants on March 24. Shopify exposes WebMCP tools on every Liquid storefront, on up-to-date Hydrogen storefronts and on eligible checkouts, in Chromium-based browsers, and the default agents.md tells agents how to use them.

UCP in January, Agentic Storefronts in March, the agent files in May, then WebMCP.
The file that needs to be right is agents.md, since that is what an AI agent reads to transact. If you want llms.txt to be a plain description rather than a copy of the agent instructions, override it separately, but do not leave agents.md as the default if you care what an AI agent tells a buyer about you.
What the default file says now
Open /agents.md on any Shopify store, such as Skullcandy, and you get the same document with the store name swapped in. On Allbirds, checked on December 1, 2026, the file covers six things:
- A Shop skill section, labeled “recommended”, that offers accelerated checkout with Shop Pay and the shopper’s saved details.
- A UCP section that tells agents to read the store’s /.well-known/ucp profile and connect to its MCP endpoint, or to use the WebMCP tools in the browser.
- Interaction rules: buyer authorization before any order, Web Bot Auth for agent traffic, back off on 429 responses, and use the buyer’s country and currency.
- A read-only browsing section that points to the sitemap, product pages and collections.
- A store policies section that links the privacy, terms, refund and shipping policies.
- A platform section that includes a link to start your own Shopify store.

The red boxes mark the Shop skill and the Shopify signup link.
The file invites the reader to start their own Shopify store, a link on your domain, paid for by your traffic.
It also labels the Shop skill “recommended” and says it “works across every Shopify store,” routing checkout through Shop Pay.
The description your store hands to an AI nudges it toward a cross-store shopping layer that Shopify controls. This is the ownership question, and in my opinion it is the real reason to act.
The rest of the file is useful, and you should keep it. The Web Bot Auth rule asks agents to identify their requests so the store can tell agent traffic apart and apply the right limits, and the WebMCP section tells browser agents to use the store’s own tools instead of scripting checkout forms.
How to override the default
You can replace these files. Drop a file at templates/llms.txt.liquid in your theme, just as robots.txt.liquid has worked for years, and your version replaces the default at /llms.txt.
agents.md works the same way through templates/agents.md.liquid, and Shopify also supports a third template, templates/llms-full.txt.liquid, for the /llms-full.txt path. By default all three paths serve the same agents.md content, so you only add templates for the paths you want to differ.
The fallback chain is documented too. If a path has no template of its own, it falls back to your agents.md template, then to the Shopify-generated default. Your custom file replaces the default completely, with no merge.
Keep the agentic commerce discovery links in your custom file. Shopify’s docs say to output the UCP and MCP discovery links through the agents Liquid object instead of hardcoding them, so they stay current when your commerce settings change. Strip them out and agents lose the documented path to your cart and checkout tools.
The template only gets the request and agents objects, so global objects such as shop and collections render blank. The override also lives in the theme, so switching themes drops it. Add both templates to your theme launch checklist.
We changed our own file in December 2026. sherocommerce.com does not sell online, so our agents.md now describes our services and how projects work, and tells agents there is no cart or checkout. For Memphis Drum Shop, a Shopify client, our team replaced the default llms.txt and llms-full.txt in October 2026 as part of an SEO project that also added product schema and AI crawler access.
What do live stores serve at /llms.txt?
I tested the same stores on Shopify and on other eCommerce platforms in June 2026 and again on December 1, 2026. The split has not moved. On Shopify storefronts the file is there and full of detail. On the non-Shopify stores I tested, there is still no llms.txt file.

Only the Shopify stores in the test serve llms.txt and agents.md, in June and again in December.
The case I expected to be a miss was Gymshark, which uses a headless front end on Shopify, and it turned out not to be one. Both gymshark.com/llms.txt and gymshark.com/agents.md return the Shopify default, because the apex domain redirects those paths to Gymshark’s Shopify checkout subdomain, us.checkout.gymshark.com.
The www host, served from their CDN, returns a 404. Check every host your store answers on. On a headless build, you need your own file only when your front end answers /llms.txt and /agents.md itself instead of passing them to Shopify.
Helly Hansen on Magento, Columbia on Salesforce, Berlin Packaging on BigCommerce, Daelmans on WooCommerce, and Bang and Olufsen on commercetools all came back empty. Helly Hansen, Daelmans and Bang and Olufsen return a plain 404. Berlin Packaging answers with a 200 status and a “not found” page, and Columbia returns its storefront shell. Either way, an agent gets nothing it can use.
The agentic commerce stack, in plain terms
llms.txt and agents.md describe the store. The protocols below decide whether an AI agent can find your products and buy them.

Each layer of agentic commerce has its own protocol, and WebMCP is the newest.
The Universal Commerce Protocol covers the full journey from finding a product to managing the order. It is no longer a Google and Shopify project: Amazon, Meta, Microsoft, Salesforce and Stripe joined its Tech Council in April 2026, alongside Google, Shopify, Etsy, Target and Wayfair.
OpenAI’s Agentic Commerce Protocol, built with Stripe, connects merchant catalogs and checkout to ChatGPT. In March 2026, OpenAI moved away from its standalone Instant Checkout and now sends shoppers to merchants’ own checkouts. Off Shopify, shoppers find and compare products in ChatGPT and complete the purchase on the merchant’s own site or app.
Underneath is AP2, the payment authorization protocol Google built with more than 60 organizations, including Mastercard, American Express and PayPal, and then handed to the FIDO Alliance in April 2026. Next to it is MCP, the open standard Anthropic created and donated to the Linux Foundation’s Agentic AI Foundation in December 2025, which connects agents to the catalogs and tools in the other layers.
The newest piece is WebMCP, a proposed web standard in a Chrome origin trial. It lets a page register tools, such as search or add to cart, that a browser agent calls directly instead of clicking through the page.
For Shopify merchants, the platform handles all of this. Shopify’s Help Center says ChatGPT checkout is on by default for eligible stores and uses UCP and WebMCP. Off Shopify, ChatGPT works with merchants through ACP and OpenAI’s own commerce integrations, while Google’s AI Mode and Gemini use UCP, so a store off Shopify needs to support both.
| Protocol | Who steers it | What it does | Where it shows up |
|---|---|---|---|
| UCP | Open standard with a ten-company Tech Council, including Google and Shopify | Full journey: discover, cart, checkout, order management | Google AI Mode, Gemini, Shopify agentic checkout |
| ACP | OpenAI with Stripe | Product feeds and agent checkout, with payment completed in the merchant’s checkout | ChatGPT |
| AP2 | FIDO Alliance, created by Google | Proves a human approved the spend | The payment layer under agent checkout |
| MCP | Agentic AI Foundation, part of the Linux Foundation | Connects agents to your catalog and tools | The transport under the stack |
| WebMCP | Proposed web standard, in a Chrome origin trial | Lets a page offer tools to browser agents | Shopify storefronts and checkout |
The five protocols, who steers each one, and where shoppers meet them.
How to structure the agentic commerce files, modeled on what Shopify built
I looked at what a live Shopify store serves, so you can copy what fits your platform and skip what you cannot operate. A standard storefront publishes four things in two layers.
First is the description layer, made up of /llms.txt and /agents.md at the root.
Second is the transaction layer, a /.well-known/ucp profile that declares the store supports the Universal Commerce Protocol, plus an MCP endpoint that an AI agent calls to search, build a cart and check out. Shopify also adds a small dedicated sitemap that points agents to agents.md.

The description layer, the transaction layer, and the sitemap Shopify adds.
Any website can build a similar description layer today. The transaction layer is automatic on Shopify and still a build or a platform feature everywhere else.
The description layer, which every platform can publish now
An llms.txt is a Markdown index: a title, a one-line summary, then short linked lists of your best collections or categories, your flagship products, and your policy pages.
agents.md is the instruction file. It states what you sell, points to the same key pages, and lists the rules an agent should follow: confirm with the human before buying, use live pricing, and do not invent claims. It also summarizes your delivery, returns and privacy terms. Keep both in plain language and short lines.
You do not have to write either by hand. Here is the prompt we use to generate both from a store’s own data. Paste it into Claude, ChatGPT, Gemini, Copilot or Perplexity, fill in the bracketed fields, and it returns both files. The line for your platform is in its section below.
The base prompt, for any AI tool
You are helping me create two files that AI shopping assistants and
agents read: llms.txt and agents.md. Use only the details I provide.
Do not invent products, policies, or claims. If a field is blank,
leave that part out.
MY STORE
- Brand: [BRAND]
- Homepage: [https://yourstore.com]
- What we sell, one sentence: [e.g. small batch dog treats made in the US]
- Who we serve: [e.g. owners who want clean ingredient treats]
- Top collections (name + URL, 3 to 8): [name] [url] ...
- Flagship products (name + URL, 3 to 8): [name] [url] ...
- Policy pages: Delivery [url] Returns [url] Privacy [url] Terms [url]
- Support / contact URL: [url]
- About URL: [url]
FILE 1, llms.txt, a Markdown index in this shape:
# [BRAND]
> one sentence on what we sell and who we serve
two to three sentence plain description
## Top collections (each line: - [name](url): one short line)
## Flagship products (each line: - [name](url): one short line)
## Policies (Delivery, Returns, Privacy, Terms links)
## Company (About, Contact links)
FILE 2, agents.md, agent instructions in this shape:
# Agent instructions for [BRAND]
one line: what we sell + homepage URL
## What we sell (2 to 3 sentences)
## Key pages (collections, products, policies, support links)
## Rules for agents (confirm with the human before buying; use the
live price and stock on the page; represent us
from our own pages, do not invent claims;
respect our terms of service)
## Store policies (Delivery, Returns, Privacy: one line each + link)
## Platform [PASTE THE LINE FOR YOUR PLATFORM, SEE BELOW]
Plain language, short lines, real URLs only. Output each file in its
own code block, llms.txt first, agents.md second.
How to build the /.well-known/ucp profile
The transaction layer starts with one file. You can see a live one on any Shopify store, such as the Allbirds profile. The /.well-known path is a long-standing web convention for site metadata, the same place a site already publishes files like security.txt. UCP uses /.well-known/ucp to declare that a store supports agentic commerce and to tell an AI agent where the buying endpoint is. On Shopify, it is generated for you. Here is a live one from a Shopify store, trimmed.
A live /.well-known/ucp profile, trimmed
GET https://yourstore.com/.well-known/ucp
Content-Type: application/json
{
"ucp": {
"version": "2026-08-25",
"supported_versions": {
"2026-04-08": "https://yourstore.com/.well-known/ucp/2026-04-08",
"2026-01-23": "https://yourstore.com/.well-known/ucp/2026-01-23"
},
"services": {
"dev.ucp.shopping": [
{
"version": "2026-08-25",
"transport": "mcp",
"endpoint": "https://yourstore.com/api/ucp/mcp",
"schema": "https://ucp.dev/2026-08-25/services/shopping/mcp.openrpc.json"
},
{
"version": "2026-08-25",
"transport": "embedded",
"schema": "https://ucp.dev/2026-08-25/services/shopping/embedded.openrpc.json"
}
]
},
"capabilities": {
"dev.ucp.shopping.catalog.search": [ ... ],
"dev.ucp.shopping.cart": [ ... ],
"dev.ucp.shopping.checkout": [ ... ],
"dev.ucp.shopping.order": [ ... ]
},
"payment_handlers": {
"com.google.pay": [ ... ],
"dev.shopify.card": [ ... ]
}
}
}
The version is the UCP spec date the store implements. supported_versions maps older versions to their own profile URLs, so an agent can negotiate which one to use. services lists how an agent connects: dev.ucp.shopping is the shopping service, the mcp transport points to the endpoint the agent calls to search, cart and check out, and the embedded transport covers checkout shown inside the agent’s own interface.
capabilities lists what the store supports, such as catalog search, carts, checkout, discounts and orders. payment_handlers lists the ways an agent can pay, here Google Pay and Shopify’s card handler.
Serving the profile is not the same as dropping a text file. You return a JSON document at the path /.well-known/ucp with the content type application/json.
On a host you control, like self-hosted Magento, WooCommerce on your own server or a custom app, create a /.well-known directory in your web root and serve the JSON there, or map a route to it. On SaaS without root access, such as Salesforce Commerce Cloud, or a headless front end that does not pass the path to Shopify, you need an app, a controller or an edge function to answer that path. BigCommerce is the exception: files you upload over WebDAV to content/.well-known are served at /.well-known.
The profile only points to the endpoint. That endpoint must be a working service, over MCP, REST or another UCP transport, that can search, build carts and check out against your live catalog. That is a real service, built against the UCP and MCP specs or bought from a vendor.
If the endpoint does not work, an agent that follows the profile gets an error instead of your products.
For a store off Shopify, the right move is to publish the description layer now and leave the UCP profile alone until you have a working endpoint, or until your platform provides one for you, as Shopify does.
The agentic discovery sitemap, copied from Shopify
Shopify also publishes /sitemap_agentic_discovery.xml, a standard sitemap whose only job is to list agents.md with a weekly change frequency. That is how the file gets found without cluttering your main sitemap.
Shopify does not reference these files in robots.txt at all. It relies on the well-known path and this dedicated sitemap, which is listed in the store’s main sitemap index. Shopify’s version lists agents.md only. The sample below adds llms.txt, which is optional.
sitemap_agentic_discovery.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://yourstore.com/agents.md</loc>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://yourstore.com/llms.txt</loc>
<changefreq>weekly</changefreq>
</url>
</urlset>
Off Shopify, swap in your domain, host it at the root, and list it in your sitemap index, so any agent that reads your sitemap finds the files.
On a platform where you cannot place a file at the root, serve it the same way you serve the other files, through a redirect or a route.
How to put your own agentic files in place by platform
The description layer is the same job everywhere: get clean llms.txt and agents.md files to load at the root. What changes is how you host them, and what each platform now offers for the transaction layer.
Here is the detail for seven platforms, with the one platform line to drop into the base prompt above.
Shopify
Shopify already writes both files on a standard storefront, and the default points agents to the Shop skill and a Shopify signup link. Replace it with a version that describes your store on your terms while keeping the discovery links intact.
The theme template override
- One, in Online Store > Themes, duplicate your live theme so you work on a copy.
- Two, edit the copy and add two files, templates/llms.txt.liquid and templates/agents.md.liquid.
- Three, paste your generated content, and output the UCP and MCP discovery links through the agents Liquid object instead of hardcoding them.
- Four, preview the copy, load /agents.md and /llms.txt on the preview to confirm, then publish.
The transaction layer keeps working on its own. The /.well-known/ucp profile and the MCP endpoint are served by the platform, so you do not rebuild them. You only need to keep their discovery links in the file when you override it.
Markets and languages
If you sell in several markets, note that Shopify serves agents.md only at your bare primary domain, with no locale or market version. The template can read only the store’s primary currency, through agents.currency, and has no market data, so state in the file which regions and currencies you sell in and tell agents to take live prices from the store’s UCP endpoint, or an agent may quote US pricing to a UK shopper.
Add to the base prompt, Shopify
## Platform Shopify. Agentic checkout over UCP and WebMCP is available through our platform endpoints. Leave a placeholder where the template outputs the UCP and MCP discovery links. Do not invent new endpoints.
WooCommerce
In WooCommerce you own the web root, which makes this the easiest platform to host your agentic files on. You can use a plugin or upload the files yourself.
AIOSEO, Yoast and Rank Math can each generate an llms.txt automatically from your published content. Turn it on, then edit the output, because the plugin cannot know which collections earn the revenue.
To do it by hand, upload both files over SFTP to the WordPress root, the folder that contains wp-config.php, with permissions 644. A real file in the root is served before WordPress routing ever sees the request.
From WooCommerce 11.4, the AI shopping setup under Settings > AI tools also configures an llms.txt and leaves an existing file in place, so read what it produces. The common failure is a 404 after upload. The cause is a security or caching plugin, or a CDN, intercepting the path. Add an exception for the two files.
For the transaction layer, WooCommerce 11.4 and later add an “Allow AI assistants to shop your store” setting under WooCommerce > Settings > AI tools, built on UCP, and third-party plugins add a UCP endpoint on older versions. Until one of those is live on your store, publish the description layer and stop there.
Add to the base prompt, WooCommerce
## Platform WooCommerce. Unless I tell you the AI tools setting is on, do not include any UCP, MCP, /.well-known/ucp, or /api endpoint in the file. Describe the store, its key pages, and its policies only.
Magento and Adobe Commerce
The web root is the pub directory. When self-hosted, place llms.txt and agents.md in pub with permissions 644 and confirm they load.
Adobe Commerce Cloud is trickier. The runtime filesystem is read-only and resets on every deploy, so a file you copy over SSH disappears at the next release.
Commit the files into your git repo under pub so they deploy with the build, then add a rule to .magento.app.yaml that allows the two files, as shown below. The default web config only serves an allowlist of file types, and .txt and .md are not on it.
Adobe Commerce Cloud, deploy-safe hosting
# Adobe Commerce Cloud: the runtime filesystem is read-only and resets
# on every deploy. Commit the files into your git repo so they deploy with
# the build and are served as static files from the web root:
# pub/llms.txt
# pub/agents.md
#
# The default web location only serves an allowlist of file types, so
# add a rule in .magento.app.yaml that lets the two files load. Keep your
# existing root, passthru and other rules in that location:
web:
locations:
"/":
rules:
^/(llms\.txt|agents\.md)$:
allow: true
When you list pages, exclude faceted navigation URLs. Magento is known for generating thousands of filtered links with no unique content, which makes your catalog look bloated and confuses an agent about what you sell.
If you would rather not hand-build the files, Adobe Commerce Marketplace has llms.txt modules that generate them. Adobe has announced UCP and ACP support for Adobe Commerce. Until that is live on your version, you have no UCP endpoint unless you build one.
Add to the base prompt, Adobe Commerce or Magento
## Platform Adobe Commerce or Magento. We do not have an agentic checkout endpoint. Do not include any UCP, MCP, /.well-known/ucp, or /api endpoint in the file. Describe the store, its key pages, and its policies only.
BigCommerce
BigCommerce does not let you write to the true root, so you host the files on a path you can write to and redirect the root path to it.
- First, upload llms.txt and agents.md over WebDAV to a web-accessible folder.
- Second, in Settings, 301 Redirects, add a redirect from /llms.txt to the hosted URL and from /agents.md to its URL.
- Third, load yourstore.com/llms.txt and confirm it resolves to plain text.
AI agents request the root path, and the redirect makes a file living in another folder answer at /llms.txt. If you would rather not touch WebDAV, an llms.txt app from the BigCommerce marketplace can generate and host the file.
On the transaction layer, Commerce, BigCommerce’s parent company, has UCP checkout in Google’s AI Mode and Gemini in early access. Check what your plan includes before you build anything yourself.
Add to the base prompt, BigCommerce
## Platform BigCommerce. We do not have an agentic checkout endpoint. Do not include any UCP, MCP, /.well-known/ucp, or /api endpoint in the file. Describe the store, its key pages, and its policies only.
Salesforce Commerce Cloud
SFCC has no public root filesystem. Every URL goes through a cartridge controller, so this is a developer job. The cleanest method is a small custom cartridge with a controller that returns the file as plain text.
A minimal SFRA controller
// cartridge/controllers/Llms.js (in a custom cartridge)
var server = require('server');
server.get('Txt', function (req, res, next) {
res.setContentType('text/plain; charset=utf-8');
res.print('# Your Brand\n> what you sell\n... your llms.txt content ...');
next();
});
module.exports = server.exports();
// Controller URLs are not at the root by default. Map /llms.txt to this
// controller with a 301 redirect or an SEO URL rule so agents reach it
// at the path they expect.
The alternative is to host the files as static content in the library and add a 301 redirect from /llms.txt and /agents.md. Either way, put the content past whoever owns disclosure before launch, because the file is public to anyone who asks, including competitors.
For the transaction layer, Salesforce made native UCP generally available in B2C Commerce 26.9, for en-US sites only so far, with checkout in Google’s AI Mode and Gemini first. ACP works through Stripe. Check your release and site locale with your Salesforce team before you build an endpoint.
Add to the base prompt, Salesforce Commerce Cloud
## Platform Salesforce Commerce Cloud. We do not have an agentic checkout endpoint. Do not include any UCP, MCP, /.well-known/ucp, or /api endpoint in the file. Describe the store, its key pages, and its policies only.
commercetools
commercetools is headless. The storefront is your own front end, whether custom or built on the commercetools Frontend add-on, so the files live in that front-end framework. The static path is fastest: drop llms.txt and agents.md in the public folder, and they go live in minutes. For a catalog that changes often, generate the file from your data so it never goes stale.
A Next.js route that generates llms.txt from your catalog
// app/llms.txt/route.ts (Next.js app router, generated daily)
import { getTopCategories } from "@/lib/catalog"; // your commercetools call
export async function GET() {
const cats = await getTopCategories();
const body =
"# Your Brand\n> what you sell and who you serve\n\n## Top collections\n" +
cats.map(c => "- [" + c.name + "](" + c.url + "): " + c.blurb).join("\n");
return new Response(body, {
headers: {
"Content-Type": "text/plain; charset=utf-8",
"Cache-Control": "public, max-age=86400" // refresh once a day
}
});
}
Because you own the front end and the API, commercetools is the platform where building a real UCP endpoint is most feasible. It is still a development project, but the option is open if agentic checkout becomes worth it for you.
Add to the base prompt, commercetools
## Platform commercetools, headless. We do not have an agentic checkout endpoint unless we build one in our storefront. Do not include a UCP or MCP endpoint unless I tell you we have one live.
Shopware
Of the platforms in this guide, Shopware is the one besides Shopify that now generates both files itself. In version 6.7.12 and later, it can serve /llms.txt, /agents.md and a /.well-known/ai-catalog.json file for each sales channel, built from Twig templates. You switch them on per sales channel in the Administration, and merchants can add notes or override content from the sales channel’s detail page.
For the transaction layer, Shopware’s own Agentic Commerce extension, still in beta, publishes a UCP profile at /.well-known/ucp per sales channel, with catalog, cart and checkout over MCP and other transports.
A theme or plugin can extend the default files by shipping a template at the same path, so your developer can add sections without replacing what Shopware writes. As on Shopify, read the default before you publish it, and replace any line that does not describe your store the way you would.
Add to the base prompt, Shopware
## Platform Shopware. The platform generates these files from templates. Write content I can paste into the sales channel notes or a template override. Do not include any UCP, MCP, or /api endpoint unless I tell you we have one live.
| Platform | Native file today | Where it is hosted | Transaction layer today |
|---|---|---|---|
| Shopify | Yes, generated | Theme Liquid override | Automatic: UCP, MCP and WebMCP |
| WooCommerce | Through SEO plugins | Plugin or SFTP to the root | UCP setting from 11.4, plugins before that |
| Magento and Adobe Commerce | Through Marketplace modules | pub directory or repo commit | UCP and ACP support announced by Adobe |
| BigCommerce | Through apps | WebDAV plus a 301 redirect | UCP checkout in early access |
| Salesforce Commerce Cloud | No | Cartridge controller or redirect | Native UCP since release 26.9, en-US sites |
| commercetools | No | Front-end static file or route | Build it yourself |
| Shopware | Yes, since 6.7.12 | Twig templates, per sales channel | UCP through Shopware’s Agentic Commerce extension (beta) |
Where each platform stands on the description and transaction layers.
What to put in the files, and what to leave out
Put these in
Lead with one plain sentence naming what you sell and who buys it, written for a model that has never heard of you. Then list your top five to ten collections by revenue, not by menu order, each with a sentence of context.
Add three to ten flagship products with enough detail to answer what this is and who it is for. Then link your returns, delivery and privacy pages, and your contact details.
Leave these out
Leave out faceted or filtered navigation URLs, cart, checkout and account pages, and expired sale pages. Leave out marketing language too. “Industry-leading” tells an AI tool nothing. “Waterproof trail running shoe, 200 grams, built for technical terrain” tells it all it needs to recommend you.

What belongs in your agentic files, and what to keep out.
The files also depend on your product data. llms.txt points an agent to your best pages, but the price, stock and variants an agent quotes come from your product pages, your feeds and, on Shopify, the UCP endpoint. Shero’s AI readiness report on 1,000 Shopify stores gave an average score of 42 out of 100, so fix your product data before you spend time on the files.
Tools, directories, and templates
You do not have to write these from scratch. Start from a directory, a generator or our starter kit.
See real files in the wild
Three directories let you read live files and copy good structure: llmstxt.cloud, llmstxt.site and llms-text.com. One caveat: the files listed skew toward developer tools and SaaS, with few eCommerce examples, so read them for format.
Generators and validators
For WordPress and WooCommerce, use the SEO plugins covered in the WooCommerce section. For other platforms, Firecrawl’s open-source create-llmstxt-py script maps your site and scrapes pages in batches to produce a draft.
Documentation platforms such as Mintlify, Fern and GitBook generate it automatically. One warning applies to all of them. A generator dumps URLs without judgment, so a high-value product page ends up next to a stale tag archive. Always edit the output.
To check the result, open Chrome DevTools (Chrome 150 or later), choose the Lighthouse tab and include the experimental Agentic Browsing category.
| Tool | Where it fits | What it does |
|---|---|---|
| AIOSEO, Yoast, Rank Math | WordPress and WooCommerce | Generate llms.txt from your published content |
| create-llmstxt-py | Any public site | Maps the site and drafts a file for you to edit |
| Mintlify, Fern, GitBook | Documentation sites | Generate the file with your docs |
| Lighthouse Agentic Browsing | Any site, in Chrome | Audits llms.txt and flags a file that errors or lacks a title and links |
Generators draft the file, and Lighthouse checks it.
Our starter kit and AI prompts
We built a starter kit in Google Sheets so you do not start from a blank page. It has a glossary, a platform overview, hosting steps for all seven platforms, the include and leave-out lists, the base AI prompt with a line for each platform, and a checklist to track the work. Copy the kit, then work through the checklist.
What to do next
Five steps, in order.
- One, confirm your AI crawlers are not blocked in robots.txt.
- Two, read your files, llms.txt and agents.md, and see what your platform is saying about you.
- Three, clean your product data, because clean titles and accurate inventory are what agents use to recommend you.
- Four, write a custom agents.md.liquid template if Shopify’s default file is misrepresenting you, or publish your own files on any other platform.
- Five, make sure your sitemap index lists an agentic discovery sitemap (Shopify adds /sitemap_agentic_discovery.xml automatically), so any agent that reads your sitemap finds the file.

The five steps, in the order to do them.
Conclusion: how the 2026 prediction held up
In June 2026, I predicted that by the end of the year, serving llms.txt and agents.md would be standard on every major platform, the way robots.txt and sitemaps are. That was half right. Shopify and Shopware generate both files. WooCommerce, Magento and BigCommerce get them through plugins, modules and apps. Salesforce and BigCommerce’s parent company put their effort into UCP, the transaction layer, rather than the files, and commercetools leaves it to your front end.
My prediction for 2027 is narrower. The transaction layer will count for more than the files. By the end of 2027, I expect Adobe Commerce, BigCommerce, Salesforce and WooCommerce to publish a UCP profile for their stores by default, the way Shopify does today.
On Shopify, read your /agents.md and override it through the theme if it does not say what you want. Everywhere else, publish the description layer and check what your platform offers for UCP before you build an endpoint.
Send us your store URL for an agents.md review and we will reply with the changes we would make to your llms.txt and agents.md.