architecture3 min read

Introducing Markdown for Agents by Cloudflare

13 similar posts
  • Markdown for Agents
  • Workers AI
  • Cloudflare Radar

AI Summary

Cloudflare introduces Markdown for Agents, a feature that automatically converts HTML pages into Markdown when requested by AI crawlers and agents via the Accept: text/markdown header. This approach reduces token usage by up to 80%, optimizes AI processing, and incorporates content signal policies.

Key Takeaways

  • Translates HTML to Markdown at the edge via Cloudflare's network.
  • Uses the standard Accept: text/markdown HTTP header for content negotiation.
  • Includes an x-markdown-tokens header to help agents manage context windows and chunking strategies.

Why it matters

As AI agents and crawlers increasingly consume web data, serving lightweight Markdown instead of bloated HTML drastically reduces token consumption, latency, and processing costs for developers and infrastructure providers.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.