Choosing a software license is one of the earliest business and architectural decisions a developer-tool startup or maintainer makes, yet it is often treated as a one-click checkbox during repository creation. Once contributors submit pull requests under an initial license, changing terms later can require explicit re-licensing consent from every copyright holder unless a Contributor License Agreement (CLA) was in place from day one.
If you build libraries, self-hosted platforms, or developer infrastructure—much like the tools highlighted in our guides on open-source alternatives to proprietary APIs and containerization with Docker—your license directly shapes enterprise adoption, community contributions, and how you defend a managed cloud offering. Understanding the mechanical differences between MIT, Apache 2.0, AGPLv3, and Business Source License 1.1 (BUSL-1.1) prevents painful strategy reversals down the road.
Open Source vs Source-Available: Why the Distinction Matters
Not every repository with public source code on GitHub is open source. Under the Open Source Initiative (OSI) definition, an OSI-approved open-source license guarantees that anyone can freely use, inspect, modify, and redistribute the software for any purpose—including commercial hosting—without discriminating against specific fields of endeavor or business models.
Source-available licenses, by contrast, publish readable source code while restricting specific commercial uses such as offering a competing hosted service. Both models can build viable businesses, but conflating them triggers immediate friction with developer communities and enterprise legal teams. Enterprise procurement checklists often allow OSI-approved permissive licenses automatically while routing copyleft or source-available terms through manual legal review.
Permissive Licenses: MIT vs Apache 2.0 and Patent Grants
When your primary goal is maximum developer adoption—especially for SDKs, CLI tools, web frameworks, and client libraries—permissive licenses dominate because downstream teams can embed them into proprietary products with minimal compliance overhead.
MIT License
The MIT License is famous for its brevity: users may copy, modify, merge, publish, distribute, sublicense, and sell copies of the software as long as the copyright notice and permission notice remain intact. Its simplicity makes it frictionless for small packages, though it does not spell out explicit patent licensing or patent retaliation clauses.
Apache License 2.0
For infrastructure projects, commercial startups, and multi-company ecosystems, the Apache License, Version 2.0 adds crucial legal clarity over MIT. Released in January 2004, Apache 2.0 includes an explicit copyright grant, an explicit patent grant from contributors covering their contributions, and a patent litigation termination clause: if a user sues over patent infringement alleging the work infringes, their patent license under Apache 2.0 terminates automatically. It also standardizes preservation of NOTICE attribution files and documentation of modified files.
- Choose MIT for lightweight libraries, starter kits, and utilities where brevity and universal compatibility matter most.
- Choose Apache 2.0 for foundational runtimes, databases, or commercial-backed tools where enterprise legal teams expect explicit patent grants and contributor protections.
Network Copyleft: How AGPLv3 Closes the Cloud SaaS Loophole
Traditional copyleft licenses such as GPLv3 require anyone distributing modified binaries to share the corresponding source code. However, cloud providers quickly discovered a structural gap: if you modify GPL software and run it exclusively on your own servers to deliver a hosted SaaS API, you never distribute binaries to end users—so copyleft obligations never trigger.
The GNU Affero General Public License v3.0 (AGPLv3) closes that gap explicitly. Section 13 of AGPLv3 requires that if you modify the software and users interact with it remotely over a computer network, you must provide those users with a prominent opportunity to receive the Corresponding Source of the modified version. For developer-tool companies building open-core databases, analytics backends, or self-hosted platforms, AGPLv3 remains OSI-approved open source while creating strong incentives for large cloud vendors either to contribute improvements back or purchase a commercial enterprise license.

The tradeoff with AGPLv3 is adoption friction inside conservative enterprises. Some corporate legal departments maintain blanket bans on AGPL dependencies in internal stacks out of concern that exposing an internal tool to external partners could trigger source-disclosure obligations. Knowing your target buyer’s legal posture before choosing AGPLv3 is essential.
Business Source License (BUSL-1.1): Additional Use Grants and Change Dates
To balance public code visibility with protection against managed-hosting competitors, several commercial infrastructure vendors adopt the Business Source License 1.1. Importantly, the SPDX specification for BUSL-1.1 states explicitly that Business Source License 1.1 is not an Open Source license.
Instead, BUSL-1.1 is a parameterized source-available license built around three core fields:
- Additional Use Grant: Defines what production or commercial usage is permitted free of charge (for instance, internal company deployments or non-competing hosted apps) versus restricted competing cloud services.
- Change Date: Sets a concrete future date—commonly three or four years after a specific release—when restrictions expire for that version.
- Change License: Names the OSI-approved open-source license (often Apache 2.0 or GPLv2+) that automatically governs the code once the Change Date passes.
Because BUSL-1.1 eventually converts older releases to genuine open source on the Change Date, vendors pitch it as delayed open source rather than permanent lock-in. Still, you should never label a BUSL-1.1 product as “open source” in documentation or marketing—doing so alienates developers and violates OSI terminology standards.
| License | OSI Approved | Patent Grant | Network SaaS Copyleft | Competing Cloud Restriction |
|---|---|---|---|---|
| MIT | Yes | No explicit grant | No | No |
| Apache 2.0 | Yes | Yes + retaliation clause | No | No |
| AGPLv3 | Yes | Yes (via GPLv3 terms) | Yes (Section 13) | No (requires source sharing) |
| BUSL-1.1 | No (source-available) | Depends on Change License | No (uses Additional Use Grant) | Yes until Change Date |
Dual Licensing and Contributor Agreements (CLA vs DCO)
Whichever license you pick, governance determines whether your commercialization strategy survives real-world growth. Projects that sell proprietary enterprise editions alongside an AGPLv3 core often use a Contributor License Agreement (CLA) so maintainers retain the legal right to distribute contributor patches under commercial terms without tracking down dozens of past authors. Conversely, permissive communities often prefer a Developer Certificate of Origin (DCO) via signed Git commits (git commit -s), keeping contribution friction low while preserving a clear chain of authorship.
Automating SPDX License Compliance in Developer Repositories
Regardless of which license model fits your commercialization strategy, sloppy metadata causes legal delays during enterprise due diligence and M&A audits. Every repository should declare an unambiguous SPDX license identifier in its package manifest, include the canonical LICENSE text at the repository root, and separate proprietary enterprise modules cleanly from open-licensed core packages.
json{
"name": "@awesomedev/metering-sdk",
"version": "1.4.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/awesomedev/metering-sdk.git"
},
"scripts": {
"license:check": "license-checker --onlyAllow 'MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC' --production"
},
"dependencies": {
"undici": "^6.21.0"
}
}
In a monorepo that combines an Apache 2.0 core with commercial plugins or BUSL-1.1 server extensions, enforce directory-level LICENSE files and run automated SPDX checks in CI so an accidentally imported AGPL dependency never slips into a permissively licensed SDK bundle. Clear boundaries at the package level let developers adopt your open tooling quickly while giving enterprise buyers a predictable upgrade path.
Image credits: Featured developer conference session photo by Raimond Spekking (CC BY-SA 4.0), via Wikimedia Commons. Inline GitLab merge request screenshot by GitLab, Inc. (MIT), via Wikimedia Commons.