Open a terminal and run this against almost any website:
curl -s -H "Accept: text/markdown" https://example.com/some-article
For most sites you get HTML back, with the navigation, the scripts and the cookie banner. For a growing number you get clean markdown, the same content with the packaging removed. The second kind is what an AI agent would rather read.
That behavior is what Cloudflare calls Markdown for Agents, announced in February. It's less new than it sounds, and that's the interesting part.
It's just content negotiation
HTTP has had a way for a client to say what format it prefers since the 1990s: the Accept header. A browser sends text/html. A client that sends text/markdown is asking for a different representation of the same URL. The server answers with Vary: Accept so caches know the response depends on it.
No new URLs, no separate "agent site". The same address serves two audiences. Cloudflare's version converts HTML to markdown at the edge, for HTML only and for responses up to 2 MB. The response also carries a token-count header, so an agent can see what it's about to spend. Coding agents such as Claude Code already send the header.
Why anyone cares
An agent reading a web page is paying, in tokens, for everything in it. Navigation menus, tracking scripts and footers burn the context window and add noise the model has to ignore. Markdown is the same text at a fraction of the size. Third-party writeups claim savings around 80%. Treat that figure as marketing until you measure it on your own pages, but the direction is obviously right.
Why this matters beyond saving tokens
Visibility. More and more discovery happens through assistants that read the web on your behalf. If your page is hard to read for a machine, you're less likely to be quoted, summarized or recommended. A decade ago the question was whether a crawler could parse your site. Now it's whether an agent can use it.
What I don't know
Whether this is good or bad for search ranking. Google hasn't said whether serving a different format by header counts as cloaking. The content is the same, so the argument that it shouldn't is strong, but nobody has confirmed it. If search traffic is your life, test on a small section first and watch.
Whether agents will honor it widely or fall back to scraping HTML regardless. The adoption I've seen is real but early.
What to do about it
If you're on Cloudflare, it's a setting on supported plans. If you're not, you can do it yourself: it's a small piece of middleware that checks the Accept header and returns a markdown version you already have. If your content starts life as markdown, as it does for many blogs, you're nearly there.
Three habits make a site easy for agents regardless of tooling: a clean, semantic HTML structure, an up-to-date sitemap, and a plain-text summary of what's on the site, which is the idea behind llms.txt.
In a few weeks I'll run an agent-readiness scanner on this blog and fix what it finds. The interesting part will be how short the list of changes turns out to be.