Why Your agents.md Goes Stale (and How to Keep It Current)
Canonical: https://joinagentready.com/blog/why-agents-md-goes-stale
By Dylan Hunt June 13th, 2026 AI discovery files
You did the work. You customized your agents.md so it describes your brand instead of Shopify's generic default, pasted it into your theme, and moved on. Six weeks later it's quietly wrong. This is the failure mode nobody warns you about, and it's worth understanding because it's structural, not a mistake you made.
A custom agents.md is a snapshot, not a feed
The moment you write or paste a custom agents.md, you freeze your store as it was that day: those products, those collections, that return policy, those prices. The file is a photograph, not a live mirror.
Your store, meanwhile, never stops moving. You launch a flagship product, retire a seasonal collection, rewrite shipping, run out of a best-seller. None of that touches the file. There's no mechanism in a hand-written or pasted file that notices your catalog changed and updates itself. So the gap between "what the file says" and "what your store is" widens a little every week.
This is the normal fate of any hand-maintained machine-readable data, and we wrote about the same drift for structured data and llms.txt. agents.md is no different, except the stakes are higher because agents transact on it.
Why a stale file is worse than a missing one
A missing agents.md falls back to Shopify's generic default: bland, but not wrong. A stale custom file is worse, because agents quote it confidently. They have no way to know your "current" file is three months old. So when it lists a product you discontinued, an agent recommends it. When it shows a 14-day return window you've since extended to 30, the agent tells a shopper the wrong policy. When it features last winter's collection in June, you look asleep.
The whole value of a custom file is that it's accurate and specific. Stale, it's specific and wrong, which is the one combination you don't want when a machine is repeating it to buyers.
Caching hides the problem
There's a second, sneakier reason your file can look out of date: Shopify caches the rendered agents.md. The file is served at your domain root and cached aggressively, so even after you update the template, the old version can keep serving for a while. Editing your catalog won't bust that cache; re-saving the agents.md.liquid template will. If you've updated the file and still see the old content, give it a minute, and confirm you actually changed the template, not just your store.
This is why "I updated my store but /agents.md didn't change" is almost always one of two things: you changed the store but not the file, or you changed the file but you're seeing a cached copy. Knowing which saves a lot of confusion.
How to actually keep it current
Three options, in increasing order of "set and forget":
- Manual discipline. Refresh the file whenever you'd update your homepage. Works if you're rigorous; most stores aren't, which is exactly how files go stale.
- Regenerate on demand. Use a tool that rebuilds the file from your live store whenever you ask, so a refresh is a copy and a paste, not a rewrite. Removes the "rewrite it by hand" friction but you still have to remember.
- Drift detection. A tool watches your store, notices when your catalog, policies, or collections have moved away from what's live in the file, and flags you with exactly what changed plus the updated file to paste. This removes the remembering, which is the part that actually fails.
True automatic writing to your theme would be option four, but on Shopify an app can't write to your theme without a special access grant the platform gates carefully, so it isn't generally available. Drift detection is the closest practical thing, and it's the difference between a file that stays current and one that rots.
Where AgentReady fits
AgentReady does options two and three. It regenerates your agents.md from your live catalog, collections, policies, reviews and best-sellers, and it watches for drift, when your store moves away from what you last pasted, it flags you with what changed and hands you the updated file. You paste it over the old one. The file stays a current snapshot instead of an aging one. (For how the file itself is structured, see the agents.md pillar; for what a good one contains, the checklist.)
The free AI-readiness checker fetches your live file and tells you whether it's Distinctive, Generic-default, or Missing, the quickest way to catch a file that's drifted back toward useless.
Run the checker to see how current your agents.md is today.
Quick answers
Frequently asked questions
Why does my agents.md get out of date?
Because it's a snapshot. The moment you write or paste a custom agents.md, it freezes your catalog, collections, policies and prices as they were that day. Your store keeps moving (new products, retired collections, a revised return policy), but the file doesn't update itself. Unless something regenerates it, it slowly drifts away from your actual store.
My agents.md isn't updating after I changed my store. Why?
Two reasons. First, a hand-written or pasted file only changes when you change it, so editing your catalog doesn't touch it. Second, Shopify caches the rendered file, so even after you update the template you may see the old version for a little while. Re-save the template and give the cache a minute; if it still shows old content, the file itself wasn't updated.
How often should I update my agents.md?
Whenever your store changes in a way an agent would care about: new flagship products, a new or removed collection, a price or policy change, new locations. There's no fixed cadence, but a good rule is to refresh it whenever you'd update your homepage. A tool that watches for drift removes the guesswork by telling you exactly when it's needed.
Does a stale agents.md hurt me?
Yes, more than a missing one in some cases. Agents quote the file confidently. If it lists products you no longer sell, an old return window, or last season's collection, the agent passes that wrong information to shoppers. A stale file actively misinforms; a current one is the whole point.
How do I keep agents.md current automatically?
On Shopify, an app can't write to your theme without a special grant, so true auto-update isn't generally available yet. The practical approach is drift detection: a tool watches your store, regenerates the file when something material changes, and flags you to copy and paste the updated version. AgentReady does this, and the free AI-readiness checker shows whether your live file has drifted.
Dylan Hunt
Author
Builds Shopify catalog readability and AI answer visibility at AgentReady and Caffeine and Commerce.
Check your storefront’s public data
Get a free report on the product markup and discovery files the checker finds in under a minute.
Run free audit View on the App Store
Comments
Every comment here comes from a verified email. Write yours, confirm from your inbox, and it's live.
Loading comments…
Written by Dylan Hunt, Founder, AgentReady. AgentReady audits Shopify structured data and checks approved changes on the live storefront. See plans.
One product, plus research
The product, and the research behind it
-
Schema for AI
For Shopify today
Make your Shopify catalog easier for AI to understand.
From $9/mo
-
AI Answers
Research preview, not for sale
See what AI says. Improve the source. Compare what changed.
Free guide
The Shopify Functions Playbook
25 real things you can build with Functions, with the plan requirements and limits stated plainly. Emailed to you, readable immediately.
More in AI discovery files