November 26, 2026

Open-Source Licenses Explained: MIT vs Apache 2.0 vs GPL vs AGPL

Thick stack of legal pages beside a single sheet on a desk with a laptop showing code

169 words. That is the entire MIT License as published in the SPDX license list, copyright line included. The GNU GPL version 3 runs 5,209 words before its “END OF TERMS AND CONDITIONS” line, roughly thirty times longer, and the two licenses are both called “open source.” The length gap is a fair map of the obligation gap. One license asks for a notice. The other asks for the source code, the install keys and a patent promise, and in its AGPL form, it follows the software onto a web server.

Video: The Linux Experiment on YouTube

The word counts above were computed in Python from the plain-text license files published by the SPDX project (MIT, Apache-2.0, GPL-2.0, GPL-3.0, AGPL-3.0), counting the terms only and stopping at the end-of-terms marker where one exists. Everything else comes from the license texts, a court order, and law-firm and Conservancy accounts of the cases that have tested them.

The four licenses side by side

Two permissive, two copyleft, and the line between them is what happens when code is shared onward

MIT Apache 2.0 GPLv3 AGPLv3
Dated (no version date) January 2004 29 June 2007 19 November 2007
Words in the terms 169 1,408 5,209 5,174
Mentions of “patent” 0 7 29 25
Mentions of “network” 0 0 8 13
Core condition Keep the notice Keep notices, mark changes, pass on NOTICE file Share source of the whole work under GPL when distributing Same, plus source for remote network users of modified versions
Express patent grant No Yes, with termination on suit Yes Yes
Copyleft No No Yes Yes, extended to network use

The counts are from the SPDX texts. The conditions are paraphrased from the license texts quoted in the sections below. GPLv2, dated June 1991, belongs in the copyleft column too and comes up where it differs.

Permissive licenses let anyone take the code, change it, close it up and sell it, so long as a short list of notice rules is followed. Copyleft licenses allow the same freedom, plus one condition with teeth: when the modified program is passed on, it goes out under the same license with its source. It works like a well easement that runs with the land. Whoever buys the lot next inherits the duty to let the neighbors draw water.

Records room with bound deed books and one volume open under a green reading lamp

MIT: one condition and a disclaimer

The shortest popular license asks for one thing, and people still skip it

The MIT License grants broad rights to use, copy, modify and sell, and its only condition is that “the above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software” (OSI copy of the MIT License). Everything after that is the warranty disclaimer, which starts with “THE SOFTWARE IS PROVIDED “AS IS”” in capital letters, the legal equivalent of a sign on a used-car lot.

The license never says the word patent. Whether MIT’s broad grant carries an implied patent license is a question the text itself does not answer. Apache 2.0 answers it in writing.

Apache 2.0: the patent clause and the NOTICE file

A patent license that switches off for anyone who sues over the code

Apache 2.0 is permissive like MIT, but it spells things out. Section 3 has each contributor grant “a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license” covering claims that are “necessarily infringed by their Contribution(s)” (Apache License 2.0). The exception is the clause people mean by “the patent clause.” If a licensee starts patent litigation claiming the work infringes, “any patent licenses granted to You under this License for that Work shall terminate” as of the filing date.

Section 4 adds the paperwork. Recipients must get a copy of the license, modified files must carry “prominent notices” saying they were changed, and redistributions must keep “all copyright, patent, trademark, and attribution notices.” If the original ships a NOTICE text file, its attribution notices have to travel with the redistribution. Section 6 withholds trademark rights: the license “does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor,” beyond describing where the work came from.

Data center aisle with server racks, overhead cable trays and blue lighting

GPL and AGPL: copyleft, and the network loophole

The GPL is triggered by handing over copies; the AGPL is triggered by letting people use it remotely

GPLv2’s central rule, section 2(b), requires that any work distributed that contains or derives from the program be “licensed as a whole at no charge to all third parties under the terms of this License” (GPL-2.0 text, SPDX). Section 3 requires the corresponding source when binaries are distributed. The same license carves out “mere aggregation,” so a GPL program sitting next to unrelated software on the same disk does not pull that software under the GPL.

GPLv3 keeps the structure and tightens it. Section 5(c): “You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy.” Section 11 adds an express patent grant: “Each contributor grants you a non-exclusive, worldwide, royalty-free patent license” (GPLv3, OSI copy). For consumer devices, called User Products, it requires Installation Information, meaning the “methods, procedures, authorization keys, or other information required to install and execute modified versions.” And section 8 gives violators a way back: a license ended by a violation is reinstated once the violation stops, with fixed cure windows.

GPLv3 still leaves one opening. It defines its trigger, conveying, and excludes one case outright: “Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.” A company can modify GPL code, run it on its own servers for millions of users, and never hand anyone a copy. The AGPL preamble names that exact situation, noting that the GPL “permits making a modified version and letting the public access it on a server without ever releasing its source code” (AGPLv3, OSI copy). Section 13 closes it: a modified version “must prominently offer all users interacting with it remotely through a computer network” the corresponding source. The OSI approved the AGPLv3 on March 3, 2008, per the same page.

What courts have actually done with these licenses

Three cases, three different questions, and the newest one is still open

Date Case What was decided
Aug 13, 2008 Jacobsen v. Katzer, U.S. Court of Appeals for the Federal Circuit An open-source license’s attribution and change-notice requirements were treated as license conditions, so ignoring them can be copyright infringement (Crowell & Moring summary)
Apr 25, 2017 Artifex Software v. Hancom, N.D. Cal. Motion to dismiss denied; Artifex’s claim that the GPL was a breached contract was allowed to proceed (Wilson Sonsini summary)
Sept 12, 2017 Artifex v. Hancom Hancom’s partial summary judgment motion on the contract claim denied (court order, govinfo)
Oct 2021 Software Freedom Conservancy v. Vizio, Orange County Superior Court Filed as “a third-party beneficiary of GPLv2,” a consumer-side claim rather than a copyright holder’s (SFC case page)
Dec 23, 2025 SFC v. Vizio Vizio’s motion for summary adjudication granted: the GPLv2 language “does not impose an obligation to allow users to reinstall the software” on the TVs (DLA Piper, Jan 5, 2026)
Jan 2026 SFC v. Vizio Trial set for January 12 was pulled from the calendar; no new date at the time (SFC blog, Jan 26, 2026)
Feb 2026 SFC v. Vizio The judge ruled the case must go to trial because “factual disputes remain for a jury to resolve”; trial scheduled for August 2026 (Baker Botts, May 2026)

The Jacobsen case involved the Artistic License, not one of the four licenses in this post. Its reasoning matters for all of them, because the alert’s summary of the holding is that “the information requirements are conditions of the license, not mere contractual covenants.” In Artifex, the September order quotes a translation of Hancom’s own website, which Hancom did not dispute, saying its product “complies with GPL 3.0,” and notes that Hancom conceded, for purposes of that motion, that it had breached the GPL. Neither ruling was a final judgment on the merits.

Vizio is the one to watch. The December 2025 ruling cut away the reinstallation question, and the DLA Piper alert points out that the holding covers GPLv2 and LGPLv2.1 only, since GPLv3 expressly requires installation information for User Products. The question left for a jury is whether a buyer of a TV, not the author of the code, can enforce the license at all. A May 2026 report put the start of the jury trial at August 10, 2026, in Orange County Superior Court (PPC Land), and the Conservancy’s case page still lists the case as ongoing, with no verdict posted.

Empty wood-paneled courtroom with a file box on the counsel table and light from tall windows

Where people get burned

The obligations hide in the second sentence, the NOTICE file and the word “network”

  • Running modified AGPL code as a service. The GPL’s distribution trigger never fires for a web app. The AGPL’s section 13 does, for users “interacting with it remotely.” Teams that treat AGPL like GPL learn the difference after launch.
  • Combining Apache 2.0 code with GPLv2-only code. The Apache Software Foundation reports that the FSF has never considered the two compatible, citing the “patent termination and indemnification provisions,” and says the FSF considers Apache 2.0 “compatible with version 3 of the GPL” (ASF on GPL compatibility). The same page says “GPLv3 software cannot be included in Apache projects.”
  • Dropping the notice. MIT asks for almost nothing, and copying a function without its notice still fails that one condition. Jacobsen is the case people cite when attribution requirements are treated as conditions rather than favors.
  • Forgetting the NOTICE file. Apache 2.0’s section 4(d) makes its attribution notices part of every redistribution. A container image or app bundle that strips docs folders can strip the NOTICE file with them.
  • Suing over a patent while shipping the code. Under Apache 2.0’s section 3, filing a patent suit claiming the work infringes ends the patent license that came with it.
  • Reading GPLv2 as if it were GPLv3. The Vizio ruling on installation information is about GPLv2. A device maker shipping GPLv3 code faces the User Products language directly.

These issues also run under the newer “open weights” AI licenses, which often borrow open-source vocabulary while adding use restrictions; x9m8 has gone through two of them, for Meta’s Muse Spark and Kimi K3.1 Pro.

The case that the license text is not the whole story

A condition matters only as much as someone’s ability to enforce it

The strongest objection to reading licenses closely is practical. Copyleft obligations are enforced by copyright holders, and most authors of small projects will never sue anyone. The cases above span eighteen years, and the most consequential consumer-side question, in Vizio, went into 2026 without a trial date and took until August just to reach a jury calendar. For a small company choosing between MIT and Apache, the real-world difference may never surface.

That argument cuts both ways. If a TV buyer can enforce the GPL as a third-party beneficiary, the pool of possible plaintiffs grows from a handful of authors to everyone who bought the product, and the DLA Piper alert recommends keeping a current inventory of open-source components for exactly that reason. The license text is a contract or a set of conditions, depending on the court and the claim. Either way, it is the only document in the room that both sides accepted, one by publishing the code and the other by using it.

Time is the other weight on the scale. A permissive license choice made in an afternoon is permanent for every copy already shipped. A copyleft choice binds every downstream user who keeps the code alive. Questions about who owns AI-generated code now sit on top of all of this, since a license can only grant rights someone holds. Which license is on the most important dependency in the project open on the desk right now, and has anyone read past its first paragraph?

For informational purposes only — consult a licensed attorney or financial advisor.

Sources

  • MIT License, Open Source Initiative: https://opensource.org/license/mit
  • Apache License 2.0: https://www.apache.org/licenses/LICENSE-2.0
  • GNU GPL v3, Open Source Initiative: https://opensource.org/license/gpl-3-0
  • GNU AGPL v3, Open Source Initiative: https://opensource.org/license/agpl-v3
  • SPDX license texts: https://raw.githubusercontent.com/spdx/license-list-data/main/text/MIT.txt ; https://raw.githubusercontent.com/spdx/license-list-data/main/text/Apache-2.0.txt ; https://raw.githubusercontent.com/spdx/license-list-data/main/text/GPL-2.0-only.txt ; https://raw.githubusercontent.com/spdx/license-list-data/main/text/GPL-3.0-only.txt ; https://raw.githubusercontent.com/spdx/license-list-data/main/text/AGPL-3.0-only.txt
  • Apache Software Foundation, GPL compatibility: https://www.apache.org/licenses/GPL-compatibility.html
  • Crowell & Moring, Jacobsen v. Katzer alert (Aug 14, 2008): https://www.crowell.com/en/insights/client-alerts/in-rare-copyright-decision-federal-circuit-affirms-enforceability-of-open-source-license-conditions
  • Wilson Sonsini, Artifex v. Hancom alert (May 19, 2017): https://www.wsgr.com/en/insights/court-ruling-supports-contractual-and-statutory-enforcement-of-open-source-software-licenses.html
  • Artifex Software v. Hancom, order of Sept 12, 2017 (govinfo): https://govinfo.gov/content/pkg/USCOURTS-cand-3_16-cv-06982/pdf/USCOURTS-cand-3_16-cv-06982-2.pdf
  • Software Freedom Conservancy, Vizio case page: https://sfconservancy.org/vizio/
  • Software Freedom Conservancy, “Delay in start of Vizio trial” (Jan 26, 2026): https://sfconservancy.org/blog/2026/jan/26/delay-in-start-of-vizio-trial
  • DLA Piper, SFC v. Vizio ruling alert (Jan 5, 2026): https://www.dlapiper.com/insights/publications/2026/01/sfc-v-vizio-ruling-on-general-public-license-compliance-key-takeaways
  • Baker Botts, “When Consumers Enforce Open Source: The SFC v. Vizio Case” (May 2026): https://www.bakerbotts.com/thought-leadership/publications/2026/may/when-consumers-enforce-open-source
  • PPC Land, “The Vizio open source trial that could shake the smart TV ad industry” (May 27, 2026): https://ppc.land/the-vizio-open-source-trial-that-could-shake-the-smart-tv-ad-industry/

487 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *