Commercializing AI-Generated Code: Copyright, Licenses, and What You Must Check
The article examines whether AI-generated code can be used commercially, explaining that while AI accelerates coding, developers retain responsibility for verifying license compliance of generated and third-party code, understanding copyright boundaries (ideas vs. expression), reviewing platform terms (e.g., Anthropic), and auditing dependencies before client delivery.
Reading font

AI-Generated Code and Commercial Use: The Core Question
The article opens with a reference to Jakub T. Jankiewicz's blog post arguing that because models train on open-source code, all AI-generated code should be open source. The author notes this is a personal advocacy, not a universal legal requirement. The immediate reaction: code may be AI-generated, but the thought process, business rules, and design decisions remain human contributions.
My Work Isn't Just a Prompt
Using an enterprise contract management tool as an example, the author illustrates that even with an agent producing pages and APIs quickly, significant human effort remains: clarifying contract classification, version retention, access control, approval and archiving workflows; verifying the design with business stakeholders; documenting data structures and interfaces; handling exceptions; and iterating based on trial feedback. The author emphasizes that the bulk of code coming from a model does not reduce human contribution to zero.
If the customer is willing to pay, they are buying not just tens of thousands of lines of code, but a working, maintainable solution. Changing the development tool does not make that investment free.
Having Ideas Doesn't Mean You Own Copyright
The U.S. Copyright Office distinguishes between ideas and expression. "Build a contract management tool" is an idea; the specific design documents and creative modifications may be protectable expression. Copyright does not protect ideas, systems, or methods of operation. The Copyright Office's 2025 AI Report Part 2 states that creative arrangement or modification of generated content may earn protection, but merely providing prompts is insufficient. Even if design documents are protected, the code generated from them must be assessed separately. This is the U.S. position; there is no universal algorithm for how many lines a human must change to secure copyright.
The author warns against jumping to the conclusion that because some generated content lacks copyright, the source must be published. Commercial use and source disclosure are governed by other conditions.
Platform Says Output Is Yours, But Check Further
Anthropic's Commercial Terms (as of 2026-11-22) assign output ownership to the customer between the parties, to the extent permitted by law, and Anthropic transfers any rights it may have. However, this agreement only governs the relationship with the platform. If the output incorporates someone else's protected code, the platform cannot authorize that third-party code. A contract clause saying "output belongs to user" does not create copyright where none existed. The same terms include IP indemnification, liability caps, and exceptions; the applicable agreement depends on the specific product and plan.
The author separates three distinct questions:
Who owns the output between me and the platform?
What copyright protection exists for my creative contributions?
What third-party licenses apply to code included in the output?
Your Product May Carry Others' Code
Continuing the contract tool example: the business logic and design are original, but the agent pulls in a ready-made component and a code snippet from the web. The product's original design does not negate the need to verify the provenance and license of each incorporated piece.
MIT License: Permits use, modification, and sale of copies, provided copyright and license notices are retained in copies or substantial portions.
GPL: GNU's FAQ explicitly allows commercial use, but distribution and combination trigger corresponding license and source-code obligations.
AGPLv3 Section 13: If a modified program supports remote network interaction, it must offer users interacting with it an opportunity to receive the corresponding source code. "I only provide an online service" is not a blanket exemption.
The exact source-code disclosure requirements depend on the specific license and the actual manner of modification and combination. One cannot simply see a license name and declare the entire product must be open-sourced.
The author also cautions against assuming that having an agent rename variables or rewrite in another language erases original licensing obligations. AI rewriting does not automatically wash away prior rights and license issues. Conversely, functional similarity alone does not constitute copying; the specific content must be examined.
What I'll Verify Before Handoff
The author continues to use AI but adds a pre-delivery checklist:
Trace the source and usage terms of every new dependency and externally copied code snippet; keep records instead of relying on chat history later.
Use agents to assist with this audit, complemented by dependency scanning and code-origin checks. Note that copied source code may not appear in dependency manifests; a clean scan does not prove all code is original.
For ambiguous portions, verify, replace, or obtain proper authorization. Do not accept an agent's memorized license name and a claim of "commercial use allowed" as sufficient for the client.
Retain records of requirements, design decisions, and modification history to demonstrate human contribution. These records support copyright claims but do not substitute for third-party licenses.
Code can be delegated to AI; human thought and investment should not be erased. If someone demands full product disclosure solely because AI was used, the author disagrees. But before selling to a client, the developer must know whose code is inside and what conditions were agreed to.
References
Jakub T. Jankiewicz: All AI-generated code should be Open Source (author's advocacy, not legal requirement) – https://jakub.jankiewicz.org/blog/ai-code-open-source/ U.S. Copyright Office: What Does Copyright Protect? (idea/expression distinction) – https://www.copyright.gov/help/faq/faq-protect.html U.S. Copyright Office: Copyright Office Releases Part 2 of Artificial Intelligence Report (2025-01-29) – https://www.copyright.gov/newsnet/2025/1060.html Anthropic: Commercial Terms of Service (output rights, IP claims, exceptions; verified 2026-11-22) – https://www.anthropic.com/legal/commercial-terms Open Source Initiative: The MIT License – https://opensource.org/license/mit GNU: GNU Licenses FAQ (commercial use, distribution, source obligations) – https://www.gnu.org/licenses/gpl-faq.html GNU: GNU Affero General Public License v3 , Section 13 (remote network interaction) –
https://www.gnu.org/licenses/agpl-3.0.en.html#section13About this article
For attribution, corrections or content rights, contact