AI in software development: how an agent rewrote someone else's code and its license
The chardet saga has opened a new front in the debate over AI in open source. The maintainer rewrote the project with an AI agent, released it under a different license, and declared it a clean from-scratch implementation. Critics say the move undermines copyleft. Supporters call it a legitimate clean room rewrite and point to mass forking and protection against supply chain attacks.
AI-processed from Habr AI; edited by Hamidun News
The chardet saga has become one of the biggest conflicts in open source after an AI agent rewrote the popular project and its maintainer switched the license from LGPL to MIT.
Who rewrote chardet with AI, and why?
Dan Blanchard, who has maintained chardet for more than 12 years, rewrote the project with an AI agent in early March. His goal was practical: make the code faster.
Why did the developer use an AI agent to rewrite chardet?
The goal was practical: speed up the code and gain the ability to switch the license from LGPL to MIT/0BSD for freer distribution.
How did the AI agent change chardet?
Maintainer Dan Blanchard used an AI agent to rewrite the library from scratch, and the new code runs faster.
Why did the license change spark a dispute?
The developer switched the license from LGPL to MIT, arguing that the AI-rewritten project is a new product rather than a modification of the original library.
- Nov 2, 2026DeepSeek open-sources Super-agent prototype: p95 task completion time of 15.7 minutes vs. 29.5
- Nov 2, 2026Bun creator uses Claude Code to port 750K lines from Zig to Rust in 11 days
- Nov 2, 2026Microsoft releases 4B model Mage-VL-Cowork, which solves 66.0% of OSWorld-Verified tasks
- Nov 2, 2026Meta's Muse assistant keeps dossiers on loved ones and gets root on Ubuntu by default
Key Questions Answered
Who rewrote chardet with AI, and why?
Dan Blanchard, who has maintained chardet for more than 12 years, rewrote the project with an AI agent in early March. His goal was practical: make the code faster.
Why did the developer use an AI agent to rewrite chardet?
The goal was practical: speed up the code and gain the ability to switch the license from LGPL to MIT/0BSD for freer distribution.
How did the AI agent change chardet?
Maintainer Dan Blanchard used an AI agent to rewrite the library from scratch, and the new code runs faster.
Why did the license change spark a dispute?
The developer switched the license from LGPL to MIT, arguing that the AI-rewritten project is a new product rather than a modification of the original library.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.