---
id: 8573
lang: en
title: "AI in software development: how an agent rewrote someone else's code and its license"
published_at: "2026-05-02 16:40:20"
source_name: "Habr AI"
source_url: "https://habr.com/ru/companies/beeline_cloud/articles/1019600/?utm_campaign=1019600&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/8573"
categories: ["llm"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# AI in software development: how an agent rewrote someone else's code and its license

> **Краткая суть (BLUF):** 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.

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.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/companies/beeline_cloud/articles/1019600/?utm_campaign=1019600&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/8573
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
