The Death of the Text Spec
Why HTML is replacing Markdown in the age of AI agents
The era of the thousand-line Markdown file is ending. For years, Markdown has been the standard for technical documentation and planning because it is easy for both humans and machines to parse. But as AI agents like Claude Code begin to handle more complex, multi-stage engineering tasks, Markdown is proving to be too flat. It lacks the density and interactivity required to manage the sheer volume of information an agent generates. When a plan spans thousands of lines of text, a human engineer stops reading and starts skimming. This is where the connection breaks. The engineer loses sight of the logic, and the agent drifts from the intended goal.
The HTML Advantage
Anthropic engineers are finding a better way: HTML. By using HTML as the primary format for planning and communication, they are turning static specs into living artifacts. HTML allows for scrollable sections, visual mockups, and interactive elements that make information much easier to digest. Instead of a wall of text, an engineer receives a dashboard. This isn't just about aesthetics; it is about information density. HTML allows an agent to present a plan that includes code snippets, visual representations of a UI, and data tables in a way that a human can actually engage with. It makes the planning phase a visual experience rather than a reading chore.
99% of your AI-generated tokens should go to planning and interfaces, not production code.
This shift represents a massive reallocation of compute. In the old model, we used tokens to write the final code. In the new model, the vast majority of tokens are spent on the 'meta-work': the dashboards, the custom interfaces, and the interactive plans that ensure the human stays in the loop. We are building 'micro-software' on top of our main software. If a specific part of a plan is too complex to read, the engineer can ask the agent to build a throwaway UI just to edit that one section. This tool exists for ten minutes, solves the problem, and is then discarded. It is a highly efficient way to manage complexity without being constrained by rigid templates.
- Brainstorming via visual mockups rather than text lists
- Using interactive HTML tables to edit complex data rules
- Maintaining living design systems that travel within the repo
- Generating status updates that are actually readable by managers
The goal is to make the work legible enough that you actually want to participate in it. When the interface is rich, the human remains a director rather than a mere spectator. This is the future of the developer experience: moving away from the terminal and toward a high-fidelity command centre where the agent does the typing, but the human manages the vision through interactive, visual feedback loops.
Rich, interactive interfaces are more effective than plain text for managing the complexity of AI-driven workflows.