Anthropic Engineer Advocates HTML Over Markdown for Agents

Thariq Shihipar, engineering lead for the Claude Code team at Anthropic, published a post titled "Using Claude Code: The Unreasonable Effectiveness of HTML," arguing that HTML's visual and interactive features improve human-agent communication compared with default Markdown outputs, InfoQ reports. Shihipar posted a short thread including the line "HTML is the new markdown," and supplied 20 self-contained .html examples, according to Towards AI and Simon Willison's coverage. Towards AI's author tested the 20 examples and reported HTML prevailed in 17 of 20 head-to-head trials. The post and examples generated viral discussion: LevelUp reported 4.4 million views in 16 hours, and Digg aggregated platform metrics showing engagement totals in the millions. Reporting highlights proponents pointing to SVG charts, interactive widgets, and in-page navigation, while critics raise security and token-cost concerns.
What happened
Thariq Shihipar, engineering lead for the Claude Code team at Anthropic, published a post titled "Using Claude Code: The Unreasonable Effectiveness of HTML," arguing that HTML outputs improve human-agent workflows compared with plain Markdown, InfoQ reports. Shihipar tweeted the phrase "HTML is the new markdown" and released a companion set of 20 self-contained .html examples, Simon Willison and Towards AI document. Towards AI's author ran comparative tests on those examples and reported HTML won 17 of 20 head-to-head cases. The thread and examples drew viral attention; LevelUp reported 4.4 million views in 16 hours, and Digg aggregated platform engagement metrics in the millions.
Technical details
Editorial analysis - technical context
Public coverage highlights three technical reasons proponents prefer HTML for agent outputs: richer visualizations (SVG charts, color-coded callouts), interactive components (collapsible sections, widgets), and navigation aids (in-page anchors, structured document layout), as summarized by Binance and other outlets. Binance's coverage frames this shift as partly enabled by much larger model context windows (reporting Claude operating in the 200K to 1M token era), which reduces the historical token-cost penalty for verbose markup. Those capabilities make a single-file HTML artifact act as both a readable human document and a structured workspace for iterative agent loops.
Context and significance
The debate exposes a broader tooling tradeoff that practitioners encountered as models moved from short-context text assistants to long-context, agentic systems. HTML emphasizes presentation and interactivity, which can lower cognitive load during long reviews or multi-step specifications. Opposing coverage highlights potential downsides: LevelUp and Digg note community concerns about security, injection risks, and the potential for interactive outputs to hide model errors or hallucinations behind UI affordances. The conversation overlaps with existing efforts to make agent outputs more verifiable and inspectable, such as structured logs, reproducible artifacts, and signed outputs.
What to watch
For practitioners
Monitor three signals that will indicate whether HTML becomes a standard part of agent engineering toolchains:
- •emergence of sanitized rendering libraries and enterprise-safe HTML viewers that address injection risk
- •integration patterns that export interactive HTML artifacts into versioned repositories or observability systems
- •reproducibility benchmarks comparing verification overhead for HTML-based artifacts versus plain-text formats. Observers should also track whether other agent platforms publish example libraries or best-practice prompt patterns similar to Shihipar's 20 examples
Closing note
Editorial analysis
The debate is primarily about human-agent ergonomics rather than model architecture. Public reporting documents both clear productivity gains in readable, interactive outputs and practical concerns about security and verification. The examples and viral reaction make this a useful case study for teams building long, agent-driven workflows, but adoption at scale will hinge on tooling for safe rendering, artifact provenance, and testable outputs.
Key Points
- 1Thariq Shihipar published 20 .html examples arguing HTML beats Markdown for agent outputs, generating broad developer attention and testing.
- 2HTML's visual and interactive affordances reduce cognitive load in long agentic workflows, enabled by much larger model context windows.
- 3Adoption depends on tooling: sanitized renderers, provenance for interactive artifacts, and reproducible verification workflows.
Scoring Rationale
An Anthropic engineer's widely shared blog post advocating HTML over Markdown for agent outputs, generating substantial developer discussion and 4.4 million views. Practically useful to agentic workflow practitioners but is an individual opinion and engineering observation rather than a model release, open-source tool launch, or platform change - placing it at the upper end of the solid range.
Sources
Primary source and supporting public references used for this report.
View 5 more sources
- Using Claude Code: The Unreasonable Effectiveness of ...simonwillison.net
- Anthropic's Thariq Stopped Writing Markdown — His 20 ...pub.towardsai.net
- Anthropic Engineer: HTML is the Best Output Format for Claude Code, Not Markdownbinance.com
- Anthropic’s engineer just told you to stop using markdown. Here’s what’s actually going on. | by | Jun, 2026levelup.gitconnected.com
- Anthropic engineer Thariq Shihipar switches to Claude-generated HTMLdigg.com
Practice interview problems based on real data
1,625 SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems


