AI shopping guide

Shopify’s agents.md, llms.txt and sitemap_agentic_discovery.xml

What you’ll need

  • The store’s web address (yours, a client’s or a prospect’s)

  • Your store’s robots.txt (optional, open yourstore.com/robots.txt and copy it)

  • Access to your Shopify admin (for the checks only you can see: Settings › Policies and Sales channels › Agentic)

    How to get this: Access to your Shopify admin
    1. Sign in at admin.shopify.com with the account you use for your store.
    2. If you are staff rather than the owner, ask the owner for the permissions you need in Settings › Users.

    Step-by-step guide (opens in a new tab)

Check my store’s readiness

What each URL is

  • /agents.md: the agent-facing description of the store, with the store name and URL, sitemap link, store policies and discovery endpoints such as the store’s Universal Commerce Protocol (UCP) profile.
  • /llms.txt and /llms-full.txt: alternate URLs that mirror /agents.md unless your theme says otherwise.
  • /.well-known/ucp: the store’s UCP profile in JSON, which lists the protocol version, the shopping services and capabilities such as checkout.
  • /sitemap_agentic_discovery.xml: a small sitemap, listed in /sitemap.xml, that points to /agents.md.

Customize them (optional)

Shopify’s default is enough for most stores. To change one, add a Liquid template in Online Store › Themes › … › Edit code: templates/agents.md.liquid controls /agents.md and is the fallback for the other two; templates/llms.txt.liquid and templates/llms-full.txt.liquid control only their own URL. A path with no template falls back to agents.md.liquid, then to Shopify’s generated default. Once you add a template, keeping its content current is up to you.

What they don’t do

  • They don’t send product data. Shopify Catalog is the product feed for agentic channels.
  • They don’t make a product eligible. Catalog’s requirements decide that.
  • They don’t answer shopper questions on their own. Agents use your Knowledge base (Sales channels › Agentic) for shipping, returns and other store facts.

More guides