JustHTML is a fascinating example of vibe engineering in action
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
JustHTML is a usable pure-Python HTML5 parser today, and its development is a concrete case study that expert-directed AI agents can produce production-quality libraries.
A Swedish developer, Emil Stenström, released JustHTML, a free Python library for reading and extracting data from web pages. It passes all 9,200+ tests from the official browser-industry test suite, a strict quality bar. What makes it notable is that he built it over several months using AI coding assistants that wrote most of the code, while he made the design decisions. Willison argues this shows how experienced programmers should work with AI.
JustHTML is a free, open-source Python HTML parser that competes with the inconsistently maintained html5lib by passing all 9,200+ official conformance tests at just 3,000 lines of code. Its real significance for decision-makers is the process: one experienced engineer, using VS Code Agent mode with models like Claude Sonnet 3.7, Gemini 3 Pro and Claude Opus, delivered a production-grade library in months of off-hours work. Teams ignoring agent-assisted development are losing that productivity gap.
JustHTML is a pure-Python HTML5 parser (no C extensions, Pyodide-compatible) passing all 9,200+ html5lib-tests and achieving 100% test coverage in ~3,000 implementation lines plus ~11,000 test lines. Stenstrom wired the html5lib conformance suite into an agentic loop from the start, designed the TagHandler API himself, then rewrote from scratch as a port of Servo's html5ever, using a custom profiler, benchmarks and fuzzer with Gemini 3 Pro to outperform existing pure-Python parsers.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
JustHTML Emil Stenström html5lib html5ever Servo VS Code Pyodide
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
A self-hosted file manager fork with OIDC, LDAP, and real-time search
FileBrowser Quantum lets teams manage multiple storage sources with enterprise authentication and real-time search without complex setup, saving admin time and reducing security risk.
An open-source screen recorder that lets AI agents watch videos and see your screen
Enables AI agents to view and analyze screen content, cutting time spent crafting bug reports and improving debugging accuracy.
A Go implementation of MCP for connecting LLM apps to tools and data
Go developers can expose LLM tools without writing MCP plumbing, saving time on integration.
An open-source Canva alternative you can self-host, with video export
Self-hosted design tools let teams avoid subscription fees and keep data on their own servers, while adding video export unlocks new content formats for social media creators.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.