Can coding agents relicense open source through a “clean room” implementation of code?
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
If AI-generated rewrites can legitimately relicense LGPL code, maintainers' copyleft protections and commercial IP alike become enforceable only through litigation, not process.
The Python library chardet, originally released under a share-alike license called the LGPL, was rewritten by its maintainer and released as version 7.0.0 under the more permissive MIT license, using the Claude Code AI tool. The original creator, Mark Pilgrim, says this violates the LGPL because the maintainer knew the old code. The maintainer responds that JPlag plagiarism analysis shows only 1.29% similarity to the old code. Whether AI-assisted rewrites count as legally independent works is unresolved.
A chardet maintainer used Claude Code to rewrite the LGPL-licensed library from scratch and shipped it as MIT-licensed version 7.0.0, prompting a relicensing dispute with original creator Mark Pilgrim. JPlag found only 1.29% code similarity versus 80-93% between older releases. Willison expects AI-assisted reimplementation to threaten proprietary IP soon, likely producing well-funded litigation. Companies with valuable codebases face a new, untested legal exposure now that rewrites cost hours instead of months.
Dan Blanchard released chardet 7.0.0 as an MIT-licensed rewrite using a design document generated via the superpowers brainstorming skill, then Claude Code in an empty repository with instructions to avoid LGPL/GPL code; JPlag measured max similarity of 1.29% against 6.x and 0.64% against 1.1. Complications: the plan shows Claude referenced metadata/charsets.py, Blanchard maintained chardet for over a decade, and Claude was likely trained on chardet. Richard Fontana, a GPLv3 author, sees no LGPL violation basis. Blanchard denies it was a traditional clean-room process.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
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.