BotBeat
...
← Back

> ▌

AnthropicAnthropic
OPEN SOURCEAnthropic2026-03-04

Anthropic's Claude Used to Rewrite Chardet Library from LGPL to MIT License

Key Takeaways

  • ▸Chardet library maintainers used Claude AI to rewrite the entire codebase to change from LGPL to MIT license
  • ▸This approach offers a potential solution for open-source projects wanting to change licenses without obtaining permission from all historical contributors
  • ▸The move raises important questions about AI-generated code, copyright law, and the originality of AI rewrites in the context of open-source licensing
Source:
Hacker Newshttps://chaos.social/@Foxboron/116170859737134271↗

Summary

According to reports from the open-source community, the maintainers of chardet, a popular character encoding detection library, have used Anthropic's Claude AI assistant to rewrite the entire codebase to change its license from LGPL (Lesser General Public License) to the more permissive MIT license. This approach represents a novel use case for large language models in open-source software maintenance, where AI is employed not just for code generation but for wholesale license migration projects.

The LGPL to MIT license change is significant in the open-source world, as MIT is considered more permissive and business-friendly, allowing proprietary software to incorporate the code without the copyleft requirements of LGPL. Using an AI to perform this rewrite addresses a common challenge in open-source projects: changing licenses typically requires either obtaining permission from all contributors or rewriting the code entirely to avoid copyright issues.

This development raises interesting questions about AI-generated code, copyright, and licensing. While the practical outcome achieves the goal of relicensing, it also opens discussions about whether AI-generated rewrites constitute sufficiently original work to sidestep existing copyright claims, and whether this approach could become a standard practice for projects seeking to change licenses. The chardet project's decision may set a precedent for other open-source maintainers facing similar licensing constraints.

  • MIT licensing is more permissive than LGPL, making the code easier to incorporate into proprietary software products
Large Language Models (LLMs)Machine LearningLegalOpen Source

More from Anthropic

AnthropicAnthropic
RESEARCH

Inside Claude Code's Dynamic System Prompt Architecture: Anthropic's Complex Context Engineering Revealed

2026-04-05
AnthropicAnthropic
POLICY & REGULATION

Anthropic Explores AI's Role in Autonomous Weapons Policy with Pentagon Discussion

2026-04-05
AnthropicAnthropic
POLICY & REGULATION

Security Researcher Exposes Critical Infrastructure After Following Claude's Configuration Advice Without Authentication

2026-04-05

Comments

Suggested

GitHubGitHub
PRODUCT LAUNCH

GitHub Launches Squad: Open Source Multi-Agent AI Framework to Simplify Complex Workflows

2026-04-05
Sweden Polytechnic InstituteSweden Polytechnic Institute
RESEARCH

Research Reveals Brevity Constraints Can Improve LLM Accuracy by Up to 26.3%

2026-04-05
Research CommunityResearch Community
RESEARCH

TELeR: New Taxonomy Framework for Standardizing LLM Prompt Benchmarking on Complex Tasks

2026-04-05
← Back to news
© 2026 BotBeat
AboutPrivacy PolicyTerms of ServiceContact Us