Skip to main content

How do I edit my agents.md file?

Customize the agents.md file that AI agents read to learn about your store, or reset it to Shopify's default.

Written by Julia

agents.md is a text file that AI agents and AI shopping assistants read to learn about your store and how they can browse and buy from it. Shopify serves it at https://<your-domain>/agents.md and creates a default version for every store. In TinySEO you can replace it with your own text.

The agents.md editor is available on every TinySEO plan.

How to edit agents.md

Step 1. In TinySEO, open Improve with AI and click Edit agents.md on the Modify agents.md file card.

Step 2. The Agents.md file content box shows your current file. If you haven't changed it yet, it shows the agents.md your store serves now. If your store is password protected, TinySEO shows a starter template instead.

Step 3. Edit the text. The file uses Markdown, so start headings with # and list items with -. Keep the sections about how agents browse and buy, and add what agents should know about your store, such as what you sell, shipping, returns and how to contact you.

Step 4. Click Save in the Shopify save bar. You see "File saved successfully".

Step 5. Click View agents.md at the top of the page to check the live file.

How to go back to Shopify's default

Click Reset agents.md file under the editor, then Reset to confirm. TinySEO removes your file from your theme and Shopify serves its default agents.md again. This can't be undone, so copy your text first if you may need it later.

The Reset agents.md file button only shows after you have saved your own version.

Good to know

  • It's saved in your live theme. TinySEO saves your file as a template in your published theme. If you publish another theme, the new theme doesn't have your file and Shopify serves the default again. Keep a copy of your text, then open Modify agents.md file, paste it and save again.

  • Your llms.txt files link to it. The llms.txt and llms-full.txt files TinySEO creates include a link to your agents.md file.

If you have any questions, contact us through the live chat and we will be happy to help.

Did this answer your question?