Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Anthropic logo next to a blocked license symbol, with a Claude AI chat interface showing a red error message denying…

Anthropic Blocks Claude from Outputting GPL, Apache, 7 Other Licenses

Anthropic blocks Claude from outputting 8 copyleft licenses including GPL and Apache 2.0, while allowing MIT and BSD. A Reddit user documented the behavior on Sonnet 4.6.

·1d ago·3 min read··17 views·AI-Generated·Report error
Share:
Source: reddit.comvia reddit_anthropicSingle Source
Which open-source licenses does Anthropic block Claude from outputting?

Anthropic hard-blocks Claude from reproducing 8 copyleft licenses including GPL-3, AGPL-3, Apache 2.0, and SSPL, while allowing MIT and BSD licenses. A Reddit user confirmed the behavior on Sonnet 4.6 with Medium reasoning.

TL;DR

Claude refuses to output GPL, AGPL, Apache 2.0 licenses. · Permissive licenses MIT, BSD, Unlicense pass through. · Move shields Anthropic from copyleft legal exposure.

Anthropic hard-blocks Claude from outputting eight copyleft licenses including GPL-3 and Apache 2.0. A Reddit user documented the behavior on Sonnet 4.6, revealing a policy that lets MIT and BSD licenses pass freely.

Key facts

  • 8 copyleft licenses blocked: MPL-2.0, LGPL-2.1, EPL-2.0, GPL-3, AGPL-3, Apache 2.0, SSPL, BSL.
  • 5 permissive licenses not blocked: MIT, BSD-2, BSD-3, Unlicense, WTFPL.
  • Tested on Claude Sonnet 4.6 with Medium reasoning.
  • Reddit user shared 12 share links confirming each test result.
  • Anthropic has not publicly commented on the filter.

A Reddit user discovered that Anthropic's Claude refuses to reproduce the full text of eight major open-source licenses, while permissively licensing ones like MIT and BSD pass through without issue. According to the Reddit post, the user tested Claude Sonnet 4.6 with Medium reasoning using a prompt that explicitly asked for verbatim output of each license.

The blocked licenses are: MPL-2.0, LGPL-2.1, EPL-2.0, GPL-3, AGPL-3, Apache 2.0, SSPL, and BSL. The unblocked licenses: WTFPL, MIT, Unlicense, BSD-2, and BSD-3. The user shared share links for each test, showing Claude refusing to reproduce the text with messages like "I'm not able to reproduce the full license text verbatim."

Key Takeaways

  • Anthropic blocks Claude from outputting 8 copyleft licenses including GPL and Apache 2.0, while allowing MIT and BSD.
  • A Reddit user documented the behavior on Sonnet 4.6.

Why Anthropic Draws the Line

The blocked licenses all contain copyleft provisions that restrict commercial use or require derivative works to carry the same license. Apache 2.0, despite being more permissive than GPL, includes a patent grant clause that could create legal exposure. SSPL and BSL are explicitly designed to prevent cloud providers from offering the software as a service without paying.

Anthropic's filter appears to be a risk-avoidance measure: reproducing a copyleft license verbatim could be interpreted as Anthropic distributing that license, potentially binding the company or its users to its terms. Permissive licenses like MIT and BSD impose no such obligations, so they pass through.

The move mirrors similar content filters at OpenAI and Google, which also restrict certain license outputs. However, Anthropic's list is notably broader — including Apache 2.0, which is widely used in enterprise software.

Implications for Developers

For developers using Claude to generate license headers or boilerplate, this filter creates a practical hurdle. A prompt asking Claude to "add an Apache 2.0 license to this project" will fail unless the developer manually pastes the text. The user who discovered the block noted that Claude's system reminders are "overzealous regex triggers, not actually intelligent, context-aware reminders."

Anthropic has not publicly commented on the filter. The company's safety-focused posture, built on Constitutional AI, may extend to legal liability avoidance. [Anthropic's prior statements] emphasize responsible AI use, and blocking copyleft licenses fits that narrative.

What to Watch

Watch for Anthropic to clarify the policy in a blog post or changelog, especially as Claude Code adoption grows and developers encounter the block mid-workflow. If competitors like OpenAI or Google adjust their own license filters in response, expect a broader industry alignment on which licenses are safe to reproduce.


Source: reddit.com


Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from multiple verified sources, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

This is a textbook example of legal risk mitigation through content filtering. Anthropic's blocklist targets licenses that could create legal obligations for anyone reproducing them — the GPL family's 'share-alike' requirement, Apache 2.0's patent grant, SSPL's SaaS restriction. The permissive licenses carry no such baggage. What's notable is the inclusion of Apache 2.0, which is widely considered business-friendly. Its patent clause, while standard, creates a legal hook Anthropic apparently wants to avoid. This suggests Anthropic's legal team is being aggressive, not reactive. The filter's implementation — regex-based system reminders rather than context-aware reasoning — is telling. It means Claude doesn't understand why it's blocking; it just matches patterns. That's brittle and will likely cause false positives, especially with codebases that include Apache 2.0 headers. Compared to OpenAI, which blocks GPL but allows Apache 2.0, Anthropic is taking a harder line. This could frustrate developers who rely on Claude for open-source work, but it's consistent with Anthropic's safety-first brand. The real test will be whether the filter extends to Claude Code's autonomous mode, where license generation might occur mid-task without user prompting.
This story is part of
The AI Infrastructure War Shifts from Chips to Developer Tools
Nvidia's enterprise pivot and AWS's OpenAI bet collide with Cursor's quiet ascent
Compare side-by-side
Apache 2.0 vs GPL-3
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Products & Launches

View all