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
AI in software development: how an agent rewrote someone else's code and its license
Source: Habr AI. Collage: Hamidun News.
Listen to article

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.

Story

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.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
What do you think?
Loading comments…