A
argbe.tech - news1min read
Cloudflare’s Markdown for Agents Defines an Agent-Indexable Request Pattern
Cloudflare introduced Markdown for Agents, converting HTML pages into semantic Markdown when requested by clients. The company reports large token-count savings that can make agent ingestion and citation workflows more efficient.
Cloudflare introduced Markdown for Agents, a network-side HTML-to-Markdown response mode designed for agentic indexing that it reports can cut token overhead by about 80%.
- Clients opt in by sending
Accept: text/markdown, triggering real-time conversion of HTML into Markdown on Cloudflare’s network. - In one measured example, a typical blog post dropped from 16,180 tokens in HTML to 3,150 tokens in Markdown.
- Responses include an
x-markdown-tokensheader to expose an estimated token count for the generated Markdown. - The format shift is especially pronounced for structure: Markdown headings were estimated at ~3 tokens versus ~12–15 tokens for comparable HTML tags.
- AI agents such as Claude Code and OpenCode already request structured content using the
Accept: text/markdownheader.