Directional engineering analysis comparing Apache License 2.0 and GNU Affero GPL v3.0 only across dependency linking, patent terms, and redistribution obligations.
Apache-2.0 is compatible with AGPL-3.0-only (resulting work is AGPL-3.0-only)
GPLv3 §7 and AGPLv3 §7 explicitly permit Apache-2.0's patent termination and notice clauses. The combined work must be distributed under AGPL-3.0-only.
Preserve Apache-2.0 LICENSE and NOTICE files for the Apache-2.0 dependency.
Mark any modifications made to Apache-2.0 files clearly.
Distribute the combined work under AGPL-3.0-only terms.
AGPL-3.0-only network copyleft conflicts with Apache-2.0
AGPL-3.0-only requires full source disclosure even for SaaS/network interaction (§13) and propagates across combined works, which is incompatible with keeping a project under Apache-2.0.
Do not link AGPL-3.0-only dependencies into a Apache-2.0 service or package.
Isolate as a separate network service or upgrade the entire combined application to AGPL-3.0-only.
Side-by-Side SPDX License Obligations
Attribute
Apache-2.0
AGPL-3.0-only
Full Name
Apache License 2.0
GNU Affero GPL v3.0 only
OSI Approved
Yes
Yes
Copyleft Scope
None (Permissive + Patent)
Strong + Network (§13)
Patent Terms
Explicit grant + patent retaliation
Explicit grant + anti-Tivoization
Key Rule
Permissive license with explicit patent grant, patent retaliation clause, and NOTICE preservation requirement.
Strong copyleft extending source-code disclosure duties to network/SaaS users interacting with modified versions remotely (§13).
Interactive Compatibility Explorer
Informational engineering matrix based on SPDX / FSF / OSI guidance — not formal legal advice. Consult qualified counsel for commercial license exceptions.
Apache-2.0 is compatible with AGPL-3.0-only (resulting work is AGPL-3.0-only)
GPLv3 §7 and AGPLv3 §7 explicitly permit Apache-2.0's patent termination and notice clauses. The combined work must be distributed under AGPL-3.0-only.
Engineering Obligations & Actions
Preserve Apache-2.0 LICENSE and NOTICE files for the Apache-2.0 dependency.
Mark any modifications made to Apache-2.0 files clearly.
Distribute the combined work under AGPL-3.0-only terms.
Can a AGPL-3.0-only project use a Apache-2.0 dependency?
COMPATIBLE: GPLv3 §7 and AGPLv3 §7 explicitly permit Apache-2.0's patent termination and notice clauses. The combined work must be distributed under AGPL-3.0-only.
Can a Apache-2.0 project use a AGPL-3.0-only dependency?
INCOMPATIBLE: AGPL-3.0-only requires full source disclosure even for SaaS/network interaction (§13) and propagates across combined works, which is incompatible with keeping a project under Apache-2.0.
Is this matrix formal legal advice?
No. This is an informational engineering compatibility matrix based on SPDX, FSF, and OSI licensing guidance. Consult qualified legal counsel for binding commercial or dual-licensing reviews.