What is “Markdown for Agents” by Cloudfare

Share it with your friends and colleagues

Reading Time: < 1 minute

Will we eventually design two versions of the internet?

  • One for humans.
  • One optimised for AI agents.

AI agents read the web differently from humans.

And that’s the reason Cloudflare just introduced “Markdown for Agents.”

When an AI agent requests a webpage, Cloudflare can now automatically convert the page from HTML to Markdown before sending it.

Why does this matter?

Because to an AI Agent, HTML is mostly noise.

A typical webpage contains:

– <div> tags

– scripts

– styling

– layout elements

Humans need those. AI agents don’t.

But AI Agents still have to read every one of those tokens.

And tokens = cost.

How Markdown for Agents works?

If an AI agent sends this header in the request:

Accept: text/markdown

Cloudflare’s edge network:

– Fetches the original HTML

– Converts it to Markdown in real time

– Sends the simplified version back

No changes required to the website.

Just flip a switch.

Cloudflare also adds a header showing token count, so agents can decide:

– whether the document fits in context

– whether it needs chunking

We’re entering a phase where websites aren’t just built for humans anymore.

They’re also built for:

– AI agents

– AI search

– workflows

HTML was designed for browsers.

Markdown might become the default interface for AI.

Learn AI Agents through entertaining web series, and not lecture-style video

Like us, if you also hate learning through lectures then we invite you to watch our engaging educational web series.

You can explore the courses here: https://www.tisdoms.com/

If you have questions, feedback, or disagree with something in this article, I’d love to hear your perspective. Connect with me on LinkedIn:
https://www.linkedin.com/in/nikhileshtayal/

Common questions about the programs are answered here:
https://www.tisdoms.com/faqs-tisdoms-an-edu-tain-tech-platform-to-learn-ai/

Share it with your friends and colleagues

Nikhilesh Tayal

Nikhilesh Tayal

Articles: 17