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.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
- Dec 2, 2026OpenAI Opens Dots Agent to ChatGPT Plus Subscribers With 10,000+ Plugins
- Dec 2, 2026FSK Group Has Launched 395 AI Agents in Six Months, with a 97.7% Success Rate
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.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
