HTML vs Markdown for AI Agents Debate
2 videos · score: 4,782 · first seen Jun 14, 2026
The debate over whether AI agents should output HTML instead of Markdown, sparked by an Anthropic employee's viral post and endorsed by Andrej Karpathy, has creators like Theo arguing HTML enables richer agent-generated visuals and interactivity, while Matthew Berman calls it a conspiracy for Anthropic to profit from the 10x increase in token usage, gaining traction as developers grapple with the practical and ethical implications of format choices in AI agent outputs.

Stop letting your agents write Markdown.
Thor and Andrej Karpathy advocate for a shift from Markdown to HTML as the preferred output format for AI agents, citing its ability to support richer visualizations and interactivity, as outlined in Thor's articles 'The Unreasonable Effectiveness of HTML' and 'HTML is the new Markdown'

Turns out, HTML is King
An Anthropic employee's viral post urging use of HTML over Markdown for AI agent interfaces—reposted by Andrej Karpathy—is framed by a critic as a conspiracy to boost Anthropic's token consumption by 10x.