A theme can serve custom content at three agent-discovery routes: /agents.md (the canonical one), /llms.txt, and /llms-full.txt. You control each by adding a template: templates/agents.md.liquid.
Shopify generates all three by default. Add the agents.md template and /llms.txt and /llms-full.txt fall back to it, so one file can drive all three.
The agents object gives you the store's identity and its agentic endpoints: agents.store_name, agents.store_url, agents.ucp_discovery_url, agents.mcp_endpoint_url.
# {{ agents.store_name }}
> What the store sells. Full store: {{ agents.store_url }}
- UCP discovery: {{ agents.ucp_discovery_url }}
- MCP endpoint: {{ agents.mcp_endpoint_url }}
This file is Markdown, not HTML, it's what an AI agent fetches, not a page a shopper sees. The preview shows the raw file the way an agent would read it.