My First Open Source AI Generated Library
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
An expert-published, fully AI-written Python library on PyPI shows that Claude Code can now produce genuinely good, tested, packaged code under expert supervision.
Armin Ronacher, a well-known Python programmer, had the Claude AI system write almost all of a new software library called sloppy-xml-py. The AI wrote about 1,100 lines of code, plus the documentation, tests, packaging, publishing setup and even a logo. The library reads the slightly broken XML text that AI chatbots often produce. It works well enough that it is now publicly available, though the project was an experiment rather than a replacement for human programmers.
Flask creator Armin Ronacher used Claude and Claude Code to build, test, package and publish a Python library called sloppy-xml-py with almost no manual coding, proving a skilled expert supervising AI can ship production-quality open source in days. The gain goes to experts who can verify and steer the work; teams hoping to replace engineers wholesale gain nothing, since the quality came from Ronacher's control. It is on PyPI today.
sloppy-xml-py is a lax XML parser, ~1,100 lines of Python, written almost entirely by Claude Code from Armin Ronacher's design, including CI configuration, PyPI publishing, tests, README, changelog and a theme-aware SVG logo. It exists because LLMs emit malformed XML that strict parsers reject. Willison argues the code meets his quality bar because the expert stayed in full control; the article includes no benchmark figures or performance data.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
sloppy-xml-py Claude Claude Code PyPI Python Ladybird Datasette
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
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.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.