Open-source licence
An open-source licence is a legal licence that lets anyone use, study, change and share software for any purpose, on terms that meet the Open Source Definition.
Software is protected by copyright by default, so nobody may copy or change it without permission. An open-source licence is that permission, given in advance to everyone. Whether a licence counts as open source is judged against the Open Source Definition, maintained by the Open Source Initiative (OSI) and derived from the Debian Free Software Guidelines. Its ten criteria include free redistribution, access to source code, the right to make and share modified versions, and two that often matter for AI: no discrimination against any person or group, and no restriction on fields of use.
Licences fall into two broad families. Permissive licences such as MIT, BSD and Apache 2.0 ask for little more than keeping the copyright notice and accepting there is no warranty; Apache 2.0, published in 2004, also grants patent rights. Copyleft licences such as the GNU General Public License require anyone who distributes a modified version to release it under the same terms, with source code. The Affero GPL extends that duty to software offered over a network.
AI has tested the definition. On July 20, 2023 the OSI said Meta's licence for Llama 2 was not open source, because it restricted commercial use for some users and barred certain uses through an acceptable use policy, conflicting with the criteria on persons, groups and fields of use. Many models described as open are better called open-weight: the trained parameters can be downloaded, but under terms that do not meet the definition.
To settle what open source means for AI systems, the OSI released the Open Source AI Definition 1.0 on October 28, 2024 in Raleigh, North Carolina. It requires the complete code used to train and run the system, the model parameters, and enough information about the training data that a skilled person could build a substantially equivalent system, all under OSI-approved terms.
In practice, the word open in a press release proves nothing. Read the licence itself: look for limits on user numbers, banned uses, restrictions on particular industries, and whether training code and data information are included. Some projects use source-available licences instead, which publish code without granting open-source rights; Elastic, for example, moved from Apache 2.0 to the Server Side Public License and its own Elastic License in 2021, then added the open-source AGPL as an option in 2024.
It must meet the Open Source Definition maintained by the Open Source Initiative. In short, anyone must be free to use, study, modify and redistribute the software for any purpose, with access to the source code, and without the licence singling out people, groups or fields of use. The Open Source Initiative says no. In July 2023 it stated that Meta's Llama 2 licence fails the Open Source Definition because it restricts commercial use for some users and limits certain uses. The weights can be downloaded, which makes Llama open-weight rather than open source. Permissive licences, such as MIT and Apache 2.0, let you reuse the code in almost any way, including in closed products, as long as you keep the notices. Copyleft licences, such as the GPL, require that modified versions you distribute are released under the same licence, with source code. It is the Open Source Initiative's standard for AI systems, released as version 1.0 in October 2024. It requires the training and running code, the model parameters and sufficiently detailed information about the training data, all available under OSI-approved terms.Common questions
What makes a licence open source?
Is Llama open source?
What is the difference between permissive and copyleft licences?
What is the Open Source AI Definition?
Search for "Open Source Definition", "OSI approved licenses" or "Open Source AI Definition", and for the name of a model plus "license terms". The most reliable sources are the Open Source Initiative's own site, the Free Software Foundation, the licence texts themselves and lawyers' analyses of specific licences. Be sceptical when a company calls its own model open source without naming an OSI-approved licence.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.