Every store comes with a default agents.md that's served at /agents.md , and/llms.txt and /llms-full.txt also point to it by default. By adding a dedicated template to your theme, you can now return different content for each path.
agents.md built in from the start, and /agents.md is where it's served.templates/ directory, placing a dedicated template lets you return different content for each/agents.md / /llms.txt / /llms-full.txt path.
All three paths simply returned the Shopify-generated agents.md content, with no way to tailor it per store.
In your theme, add a .liquid template to serve custom content per path. Paths without a template fall back to the default.
/agents.mdA descriptor file for AI agents.By default, its content also serves as the content for the other two paths(the canonical path).
/llms.txtAn index-style file for LLMs. By default it mirrors agents.md .
/llms-full.txtA full-version file for LLMs. By default it mirrors agents.md .
agents.md)). Just add a template to the paths you want to serve differently.agents.md template, and if that's missing too, the Shopify auto-generated default, falling back in that order.| Template | Path it controls | Notes |
|---|---|---|
templates/agents.md.liquid |
/agents.md |
Base Also serves as the default for the other two paths |
templates/llms.txt.liquid |
/llms.txt only |
Specific to this path |
templates/llms-full.txt.liquid |
/llms-full.txt only |
Specific to this path |
| (no template) | The matching path | Falls back in order: agents.md template → Shopify default |
Go to Online Store > Themes > Edit code.
For the path you want to serve differently, .liquid create the template.
Access each path and confirm that the intended content is returned.
Every store comes with a default agents.md provided, /agents.md already served at/llms.txt / /llms-full.txt also returns the same content by default.
Control is handled by the templates/ file under .liquid file. Everything is done by editing the theme's code—no extra apps required.
agents.md.liquid Control all three paths with a single file, or manage each .liquid individually. Place one only on the paths you want to differentiate.
Dedicated template → agents.md template → Shopify default, in that order. Actually access each path to check that the default isn't being served unintentionally.
The original article only explains the paths, template names, and fallback order. Check the updated documentation for things like Liquid variable constraints, the delivery format (MIME), and caching and preview behavior, and verify with the real URLs before pushing to production.
agents.md so your brand's support contact paths, handling guidelines, and policies aren't conveyed accurately.agents.md.liquid Add a single file and rewrite the store description, contact details, and usage guide to your brand's specifications. Covers all three paths at once.agents.md This template also serves as the default for the other two paths, so setting it up first delivers the best cost-performance./llms.txt(a lightweight, table-of-contents-like version) and /llms-full.txt(the detailed full text) should differ in granularity, but by default they end up with identical content.llms.txt.liquid a summary index inllms-full.txt.liquid Write the detailed version in it and optimize it per path.agents.md Independent from the default. You can also place just one and leave the rest to the default.agents.md.liquid(and the llms files too if needed) into the theme, and deploy it for every new build./agents.md /llms.txt /llms-full.txt in the theme's .liquid template,can now be served differently per path.