
80% of Claude Code is AI-Generated—But Who Owns It?
LLM, AI Agents & AI Infrastructure Specialist

LLM, AI Agents & AI Infrastructure Specialist
Anthropic's Claude Code generates 80% of its own codebase, raising unresolved legal questions about intellectual property ownership. Current laws struggle to address whether rights belong to developers, companies, or AI creators, leaving businesses exposed to compliance and ownership risks.
Anthropic's Claude Code, a leading AI coding assistant, is at the center of a critical legal and ethical debate: who owns the rights to AI-generated code? With reports revealing that up to 80% of Claude Code's own codebase is created by the AI itself, the issue challenges traditional intellectual property (IP) frameworks. This lack of legal clarity has significant implications for developers, companies, and policymakers as they navigate the complexities of AI-driven innovation.
Copyright law, designed in an era of human authorship, is ill-equipped to address the intricacies of AI-generated works. Globally, there are no unified regulations to determine ownership of code created by AI. Key issues include:
This legal ambiguity leads to a gray area where ownership disputes, compliance risks, and dependency on AI vendors can become significant hurdles.
Anthropic has yet to provide clear ownership guidelines for code generated by Claude Code. Boris Cherny, one of the company's lead engineers, confirmed that 80% of Claude Code’s codebase is AI-generated, describing it as a "human-AI partnership." However, Anthropic's terms of service are vague, particularly regarding:
While the company does not explicitly claim ownership, its lack of clarity creates legal risks for developers and businesses using Claude Code.
Developers face unique challenges:
For companies, the stakes are even higher:
As AI tools like Claude Code become more autonomous, policymakers are racing to keep up. Both the U.S. and the EU are exploring frameworks to address AI-generated IP, but progress is slow. Proposed solutions include:
The lack of legal clarity is already impacting innovation, as businesses hesitate to adopt AI tools without assurance of IP protection. Proactive measures and active engagement in regulatory discussions are essential for navigating this emerging landscape.
Ownership is unclear as current laws do not address AI-generated works. It could belong to the developer, their employer, or Anthropic, depending on the context and terms of service.
Legal risks include ownership disputes, compliance issues with copyright laws, and potential dependency on Anthropic for legal interpretations.
Developers can document prompts, iterations, and revisions to establish a clear chain of authorship and review terms of service for ownership and usage rights.
💡 Dica Pro: To reduce legal uncertainty, developers should use metadata tagging tools that document every interaction with the AI, including prompts, versions, and revisions. This can serve as evidence in potential ownership disputes.