AGPL: Out of the Shadows

AGPL: Out of the Shadows

A while ago, I noted the slow but growing use in private business of GPL version 3. In the nearly 10 years since it was released, GPL3 has gained an uneasy acceptance in the technology industry, despite lingering concerns about its unusual patent terms and “Installation Information” requirements. 

What is “AGPL”?

The Corporate Counsel's Guide to OSS Policy ImplementationIf GPL3 is scary to private businesses, then AGPL is even scarier. Shortly after the release of GPL3, the FSF released Affero GPL 3, or AGPL. Among those participating in the community drafting process for GPL3, there were two philosophical camps: one held that GPL3 should incorporate new conditions to close the “SAAS loophole” in GPL2, and another held that it was best to avoid changing a licensing model that had become familiar after so long. In the end, the “don’t fix it” viewpoint prevailed, and GPL3’s copyleft conditions still turn on distribution (or “conveying” in the terms of the license). Using GPL software to provide SAAS, therefore, is not considered distribution (or “conveying”) under either version of GPL.

But, in a way, the other viewpoint also prevailed, in the time-honored model of open source: if you don’t like it, fork it. The alternative was called Affero GPL -- based on a prior and non-standard open source license written by Affero that spearheaded this new licensing condition. AGPL contains an additional clause that treats SAAS -- “Remote Network Interaction” -- like distribution, for purposes of invoking the copyleft conditions.

  1. [I]f you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network...an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software.

Changing the Rules

Why was that so scary? As they say, capital is a coward, and this new licensing model promised to impose new costs on users of AGPL software. Most companies, over the early 2000s, had developed internal controls for open source compliance. Those controls were developed as companies played catch-up to remedy a landscape of rampant non-compliance. The policies were often developed in a panic, at great expense and managerial angst.  

But most open source licenses impose no conditions on internal use of software. So, internal controls developed in the early 2000s usually relaxed -- or eliminated -- approvals and processes when the software was not distributed. These controls often treated SAAS use just like any other non-distributed use case, such as development, testing, or network monitoring. The scary element of AGPL was that most internal controls just weren’t set up to handle this new condition. So most companies looked into a long, dark tunnel of re-vamping their open source processes, cringed, and promptly put AGPL on their “never approved” list.

Ironically, this never should have happened. Relying entirely on absence of distribution for open source compliance is just not a good idea. In reality, suppliers of software often flip back-and-forth fluidly between on-premises distribution and SAAS.  An on-premises product can suddenly change into a SAAS product and vice versa, depending on the needs of customers. Some customers require local instances of software for regulatory or security reasons. Others want to avoid transmitting data across national borders. If a SAAS supplier has the opportunity to sell to such a customer, no one wants to be the unfortunate soul who has to tell the head of sales: no, we can't do that because on-premises deployment is distribution, and it breaks all of our open source compliance processes. So it's always best to develop compliance processes that treat SAAS as if it might someday be distributed.

Two Uses

Just as industry has warmed up to GPL3, it has slowly begun to accept AGPL3 code. The acceptance has centered around two loci: Mongo DB and dual licensing. 

Mongo DB was an early adopter of AGPL3, and it had two very important things going for it. First, Mongo DB pioneered the “NoSQL” database. It was cheap, scalable and effective, and caught on like wildfire. Second, Mongo published guidance for how to comply with the AGPL, without compromising the proprietary rights in applications that used it. Mongo provided Apache 2.0-licensed connectors to interface with applications, and stated that using them would firewall the licensing of applications -- almost like AGPL with a linking exception. Industry heaved a collective sigh of relief and changed its policies from “never use AGPL” to “never use AGPL except for Mongo DB.”

This is a great illustration of the "estoppel" technique of open source licensing. Because open source licenses are standardized and used by many licensors, no one licensor has the right to say what the licenses mean – at least vis-à-vis all the others. However, any licensor releasing code under GPL can provide interpretational guidance for its own software. In law this is called a estoppel, which is like a waiver, a statement made unilaterally by one party to its own detriment, inviting others to rely on it. For example, if I release some software under a license like GPL, and make a public statement that I never intend to enforce my conditions under GPL, it would be foolish for me to sue someone for violating GPL. The court would read my statement and conclude that it was not fair for me to invite the world to violate my rights and then sue them. Such interpretational guidance is not unusual in open source licensing; it allows licensors to use standard licenses in non-standard situations, tweaking them slightly to fit. 

The other use case for AGPL, perhaps ironically, was dual licensing. The dual licensing model was pioneered by MySQL, and consists of releasing software under a copyleft license, and offering an alternative proprietary license, for a fee, to those who did not want to comply with the copyleft conditions. Before 2008, the license of choice for the open source prong of dual licensing was GPL2. It imposed the most conditions of any standard open source license, so it had the most power to drive potential licensees toward proprietary license fees. But AGPL added a new and significant condition, so it is now the favorite for dual licensing. In other words, in dual licensing, the scariest license wins.

Enduring Questions

Unfortunately, the language of the additional network use condition in AGPL leaves some questions unanswered. The most common question is how far "down the stack" the condition reaches. Suppose you are using AGPL software as an operating system or language component to serve up an application. The user interacts with the application, but not with this infrastructure element. The copyleft condition says you must offer source code to “users interacting with it [i.e. the Program] remotely through a computer network.” That seems to mean that infrastructure elements will never trip this condition, because any user interaction would be too indirect. Ironically, one of the reasons given for "closing the loophole" in GPL was that companies who run massive server farms were not required by GPL to share their changes to the Linux kernel. But AGPL would never apply to the kernel, and even if it did, may not have required anyone to share kernel changes. (And most of those companies shared their changes anyway -- not because GPL made them, but because it was good business to share.)

Plato’s Cave

Not surprisingly, AGPL3 has been slower to propagate than GPL3; if GPL3 has gained acceptance slowly, AGPL3 has been tagging along behind like a younger sibling. But the license is not as scary as it seems. The network interaction provision only triggers source code offer requirements when you modify the Program. In fact, most open source software is used without modification from community versions. After all, most businesses use open source because it is already tried and tested, free of charge, and supported by the community. Modifying it only undercuts those advantages. So, particularly with killer apps like Mongo DB, many companies have become cautiously comfortable approving AGPL software for SAAS use. They still worry -- and probably rightly so -- that modifications could be made to the code after approval, and they lack internal controls to revisit license compliance when the modifications occur. 

Copyleft licenses are a lot like the shadow monsters of Plato’s cave. They are by nature complex creatures, and the technology industry needs time to absorb and understand them. The process of understanding them can feel, to technology managers, like looking into the sun. But over time, some of the shadows have fallen away. 

(Maybe some day we will even understand ODbL.)

0 Comments
Sorry we missed you! We close comments for older posts, but we still want to hear from you. Tweet @black_duck_sw to continue the discussion.
0 Comments

MORE BY THIS AUTHOR

Open Source and the Eradication of Viruses

| Mar 19, 2013

It’s cold and flu season, and what better time to try to eliminate the “viruses” from open source software licensing? Open source advocates can be pedantic about terminology, and flame wars about using the right words are tedious. Many in the technology world are put off by wars of words, because

| MORE >

Who’s Afraid of GPL3?

| Jan 25, 2013

It’s been almost six years since the release of GPL version 3. During the revision process, which lasted over two years and veered toward walk-away controversies more than once, hundreds of open source enthusiasts -- from the hackers to the fortune 100 -- contributed comments to a major drafting

| MORE >