AI Reimplementation of chardet Library Raises Copyleft Licensing Questions

What Happened with chardet
Dan Blanchard, maintainer of the chardet Python library used by roughly 130 million projects monthly, released version 7.0 with significant changes. The new version is 48 times faster than its predecessor, supports multiple cores, and was redesigned from the ground up. Anthropic's Claude is listed as a contributor to this release.
The license changed from LGPL to MIT. Blanchard's approach involved feeding only the API and test suite to Claude, asking it to reimplement the library from scratch without directly looking at existing source code. JPlag analysis shows the resulting code shares less than 1.3% similarity with any prior version.
The Licensing Dispute
Mark Pilgrim, the library's original author, objected via GitHub issue, arguing that the LGPL requires modifications to be distributed under the same license. Pilgrim contends that a reimplementation produced with ample exposure to the original codebase cannot pass as a clean-room effort.
Two prominent open source figures weighed in with opposing views. Armin Ronacher, creator of Flask, welcomed the relicensing, stating he considers "the GPL to run against that spirit by restricting what can be done with it." Salvatore Sanfilippo (antirez), creator of Redis, published a broader defense of AI reimplementation based on copyright law and GNU project history.
The Core Question: Legal vs Legitimate
The article argues that both Ronacher and Sanfilippo evade the central question: does legal mean legitimate? The author notes that while AI-assisted reimplementation occupies the same legal ground as historical reimplementations (like GNU reimplementing UNIX), there's a crucial directional difference.
When GNU reimplemented UNIX, the vector ran from proprietary to free software, expanding the commons. In the chardet case, software protected by a copyleft license (LGPL) has been reimplemented under a permissive license (MIT) that carries no obligation for derivative works to share their source code. The author argues this removes the fencing that protected the commons, since derivative works built on chardet 7.0 are under no obligation to share their source code.
The article clarifies that the GPL doesn't prohibit keeping source code private or privately modifying GPL software. Its conditions are triggered only by distribution: if you distribute modified code or offer it as a networked service, you must make the source available under the same terms. This creates a condition placed on sharing rather than a restriction on sharing.
📖 Read the full source: HN AI Agents
👀 See Also

Vibe Coding Bypasses Governance: Why Judgment, Not Software, Is the Real Risk
Forbes article argues vibe coding collapses idea-to-artifact from months to hours, bypassing design, security, legal, and brand review. Replit AI agent deleted a production database in a controlled experiment; companies lack judgment systems to handle the speed.

OpenClaw Early User Reports Telegram Issues, Agent Profile Hardcoding, and Session Reset Problems
A user's first three days with OpenClaw revealed several practical challenges: Telegram responses disappearing, agent profiles hardcoded to 'messaging' in source code, and Wacli becoming unavailable after session resets. The user ran micro tests on Docker, connected Telegram and Wacli, and set up a heartbeat.

Adaptive Inference Routing Proposal for AI Query Efficiency
A proposal submitted to Anthropic in April 2026 outlines a five-step system for routing queries to appropriate AI models based on complexity scoring, using simple signals like character count and sentence count before any model inference occurs.

Navigating the OpenClaw 2026.2.6-3 and OpenRouter Integration Issue
Users of OpenClaw 2026.2.6-3 paired with OpenRouter face persistent '401 User not found' errors. Join the community discussion as they explore solutions and share troubleshooting tips.