Magento 2 llms.txt: a store AI assistants understand correctly
The module automatically builds /llms.txt and /llms-full.txt for every store view — a short map of the store for ChatGPT, Claude, Perplexity and AI agents: what the store sells, its categories, shipping and return terms.
TypeOpen-source Magento 2 module
StackPHP 8.1, Magento 2.4, Markdown, llms.txt
LicenseMIT
Year2026
Task and solution
Shoppers increasingly ask an AI assistant about a store instead of Google: "do they ship to Canada?", "what's the return policy?". Without guidance the AI guesses or takes the answer from other sites.
Search engines have sitemap.xml; AI assistants have the newer llms.txt standard. The goal was to generate it from Magento data automatically and keep it current with no manual work.
- /llms.txt — a short map: store summary, category tree, key pages, featured products
- /llms-full.txt — the same plus the full page text, converted from HTML and Page Builder to clean Markdown
- Separate settings per store view: title, summary, custom Markdown, category depth
- Products: hand-picked or bestsellers for a period, only ones that can actually be bought, with no prices
- Its own cache type, cleared when a category, page or product is saved or a sitemap is generated
- Extensible: a new section is one class and one di.xml entry
The module in numbers
2files per store view
0prices in the file — the product page stays the source of truth
24hours max before bestsellers refresh
Want the same result?
Tell me about your task or estimate the cost in the calculator.