Licensing decision record
Status: open. No decision is recorded here. This document lays out options, trade-offs and a recommendation so the maintainer can decide.
Status: open. No decision is recorded here. This document lays out options, trade-offs and a recommendation so the maintainer can decide. It is not legal advice; get a lawyer's review before changing the license of published code.
Current state
- Payload Bay, the website and the Runner are licensed
AGPL-3.0-onlywith the unmodified license text. - Independent applications that only exchange webhooks with Payload Bay are not covered by the license (see the README license section).
- Contributions are accepted under the same license (inbound equals outbound). There is no contributor license agreement (CLA) and no relicensing grant.
- The brand assets and name have no separate trademark policy.
- Dependency, font and vendored-skill notices keep their original licenses.
Goals to weigh
- Keep the project open source so self-hosters can trust and audit it.
- Discourage a third party from offering a closed hosted clone.
- Keep adoption friction low for people who run it internally or integrate it.
- Keep room for a possible hosted service or commercial offering.
- Keep contributor onboarding simple.
Options
A. Keep AGPL-3.0-only everywhere (status quo)
- Pro: strong copyleft that covers network use (section 13); OSI-approved; no work needed; consistent across repositories.
- Con: some companies ban AGPL internally, which can limit adoption; embedding the Runner or SDK in proprietary software is not possible.
- Effort: none.
B. AGPL for the server, permissive license for client-side pieces
Apply MIT or Apache-2.0 to the Runner, script-sdk, contracts and the website;
keep AGPL for the server, worker and executor.
- Pro: users can embed the agent and SDKs in proprietary code; the hosted-clone protection stays on the server.
- Con: more than one license to explain; Apache-2.0 or MIT parts can be reused by anyone, including in closed forks of those parts; each package needs clear boundaries and headers.
- Effort: small; relicensing own code is easy while all copyright is held by the maintainer. Outside contributions to those packages must be checked first.
C. AGPL plus a commercial license (dual licensing)
Offer the same code under a paid license for organizations that cannot use AGPL.
- Pro: a revenue path and an answer for AGPL-averse companies.
- Con: requires owning or being granted rights to all contributions, so a CLA (or a copyright assignment) becomes necessary before accepting external code; a CLA can discourage contributors.
- Effort: moderate (CLA tooling, legal text, a sales process).
D. Permissive everywhere (MIT or Apache-2.0)
- Pro: maximum adoption; trivial for contributors and users.
- Con: no protection against a closed hosted clone; difficult to reverse for code already released (earlier versions stay permissive).
- Effort: small, but effectively irreversible per released version.
E. Source-available (BSL, FSL or similar)
- Pro: forbids competing hosted offerings for a period, then converts to open source (BSL and FSL convert after a fixed time).
- Con: not open source by the OSI definition; conflicts with the project's open-source positioning in the brand guide and README; may reduce community trust and contributions.
- Effort: moderate, and a brand-messaging change.
F. Weak copyleft (MPL-2.0 or LGPL) for the server
- Pro: file-level or library-level copyleft is more acceptable to companies.
- Con: offers little protection against hosted clones because network use does not trigger the obligations.
Cross-cutting decisions
- Contribution terms. Today inbound equals outbound under AGPL. A Developer Certificate of Origin (sign-off) adds provenance with little friction. A CLA is only needed for option C, or if the maintainer wants the freedom to relicense later.
- Trademark. Licenses cover code, not the name or logo. A short trademark policy (who may say "Payload Bay", forks must rename or mark themselves as modified) is useful under any option and pairs with brand usage.
- Hosted service. Under AGPL, a hosted service running modified code must offer that source to its users. The copyright holder can keep private modules only for code they own entirely; third-party contributions stay under AGPL obligations unless a CLA grants broader rights.
- Dependency compatibility. Check any new dependency license against the chosen option before relicensing.
Trade-off summary
| Option | Open source | Hosted-clone protection | Adoption friction | Contributor friction | Commercial path |
|---|---|---|---|---|---|
| A. AGPL everywhere | Yes | Strong | Medium | Low | Limited |
| B. AGPL server + permissive clients | Yes | Strong (server) | Low to medium | Low | Limited |
| C. AGPL + commercial | Yes (AGPL side) | Strong | Low (paid route) | Higher (CLA) | Yes |
| D. Permissive | Yes | None | Lowest | Lowest | Via hosting only |
| E. Source-available | No | Strong (time-limited) | Medium | Medium | Yes |
| F. Weak copyleft | Yes | Weak | Low | Low | Limited |
Recommendation
Keep AGPL-3.0-only for the server for now (option A), and evaluate option B for
the Runner, script-sdk and contracts before the first release, since those
are the pieces users are most likely to want to embed. In parallel, adopt DCO
sign-off and publish a short trademark policy. Defer option C and any CLA until
there is a concrete commercial plan, because adding a CLA after external
contributions have been accepted is hard. Avoid option E unless the project
accepts leaving the open-source positioning.
Decision
Pending. When the maintainer decides, replace this section with the chosen option, the date and the reasoning, and update the README license section, package license fields and LICENSE files accordingly.
Published candidate acceptance
After an approved merge, download the release-candidate artifact containing images.env, compose.yml and source-manifest.json. From the matching source checkout, run:
Brand usage
The canonical brand reference is the Payload Bay Brand Guide in the brand repository. This page summarizes it for contributors; if they differ, the brand guide wins.