News |
shopify

Customize /llms.txt, /llms-full.txt and /agents.md

Source: Shopify Dev Changelog

Shopify Adds Template Customization for AI Agent Discovery Files

Shopify now allows merchants to customize three AI agent discovery files through theme templates. Stores automatically include a default agents.md file at /agents.md, with /llms.txt and /llms-full.txt pointing to the same content by default.

Developers can now create custom templates in the theme editor under Online Store > Themes > Edit code to serve different content for each path:

  • templates/agents.md.liquid controls /agents.md and serves as the fallback for other paths
  • templates/llms.txt.liquid controls /llms.txt only
  • templates/llms-full.txt.liquid controls /llms-full.txt only

When no custom template exists for a specific path, Shopify falls back to the default agents.md content.

Impact on App Development

This update matters for developers building AI integrations or tools that help merchants optimize their stores for AI agents and large language models. Apps that generate or manage store metadata can now target these specific endpoints to improve how AI systems discover and interact with Shopify stores.

The .txt and .md formats follow emerging conventions for AI agent discovery, similar to robots.txt for search engines. Developers working on SEO tools, content optimization apps, or AI-powered shopping assistants should consider how these files affect their products.

Implementation Considerations

Apps that modify theme files will need to account for these new template options. Developers should test how their apps interact with custom templates versus default content. The liquid template format allows dynamic content generation, enabling merchants to tailor AI agent information based on store data, product catalogs, or custom business logic.

Read the full announcement →

Stay in the loop

Get Shopify ecosystem news and positioning insights for app founders.