Who owns AI-generated software? Code, licences and intellectual property


An app built with Lovable, Replit or other AI tools may work perfectly while ownership of its components remains unclear. Before selling, licensing or transferring it to a company, distinguish generated code, human contributions, third-party libraries and contractual terms.

Source code versus ownership

Access to a repository or source code does not, by itself, establish ownership of every commercial exploitation right. Distinguish original code, human contributions, third-party components, databases and interface assets.

Software copyright in Italy and the EU

Software can qualify for copyright protection when the legal conditions are met. EU law protects the expression of a computer program, not automatically the underlying ideas and principles. AI-generated output requires assessment of human creative contribution and legal uncertainty.

AI platform terms

Lovable, Replit, Cursor and other tools have terms that may change over time. Before commercial launch, review output rights, prompt confidentiality, data use, liability limits and technical dependencies.

Open-source and third-party components

Open-source does not mean condition-free. Some licences require attribution, source availability or specific redistribution conditions. Review the components actually used and how the product is distributed.

Example: founder, AI and external libraries

A founder builds a SaaS with an AI assistant, integrates an open-source library and hires a freelancer to develop checkout. Repository access does not automatically establish rights over every component: review the library licence, AI tool terms and freelancer agreement. Any copyright protection of AI output must be assessed in light of human creative contribution.

Contributors and external developers

Where several people contribute, agreements should address ownership of deliverables, repository access, licences and data handling. Rights should not be assumed to transfer merely because the founder pays for development.

Preparing for investment

Investors and buyers will want evidence that the company holds the rights needed to exploit its product. A register of components, licences and assignments can support due diligence and reduce transaction risk.

General information by Studio Ruga. Application of the rules requires review of the specific facts and contracts.

Related insights

Massimo Ruga

Dottore Commercialista e Revisore Legale

Chartered Accountant and Statutory Auditor