Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
docs: update licensing to match the plain AGPLv3 LICENSE (#1694)
Chase Foster1ca2d50041d8
diff --git a/apps/erp/app/modules/agent/kb/docs/platform/licensing.md b/apps/erp/app/modules/agent/kb/docs/platform/licensing.mdindex fd19e01693..01d58af3a3 100644--- a/apps/erp/app/modules/agent/kb/docs/platform/licensing.md+++ b/apps/erp/app/modules/agent/kb/docs/platform/licensing.md@@ -1,6 +1,6 @@# Licensing-> Carbon is dual-licensed: AGPLv3 for the open core, a commercial license for Enterprise features and for production or hosted use.+> Carbon is dual-licensed: AGPLv3 for the Community edition, and a commercial license for Business features or for keeping your changes private.Carbon's source is public, but using it isn't unconditional. Two licenses govern the code, and which one applies depends on **what you run and how you run it**. This page is the map; the [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is the contract.@@ -8,8 +8,8 @@ Carbon's source is public, but using it isn't unconditional. Two licenses govern| Edition | What it is | License || --- | --- | --- |-| **Community** | The open core: ERP + MES, self-hosted on your own infrastructure. | AGPLv3 |-| **Enterprise** | Self-hosted Carbon with a commercial license: unlocks Enterprise features and lifts the AGPL copyleft obligation. | Commercial |+| **Community** | The open core: ERP, MES, MRP, and QMS, plus accounting and the product configurator, self-hosted on your own infrastructure. | AGPLv3 |+| **Enterprise** | Self-hosted Carbon with a commercial license: unlocks the Business features and lifts the AGPL copyleft obligation. | Commercial || **Cloud** | Carbon run for you at [app.carbon.ms](https://app.carbon.ms), billed on the Starter and Business plans. | Commercial |Self-hosting (the `docs/platform/self-hosting/docker-caddy` or the `docs/platform/self-hosting/aws-sst`) runs the **Community** edition by default. A commercial license turns the same hardware into the **Enterprise** edition.@@ -41,23 +41,21 @@ Custom features, integrations, data migrations, additional forward-deployed engi## Self-hosted — you run it-Clone Carbon from GitHub and run it on your own infrastructure. By default that's the **Community** edition, and how you're licensed depends on what you change and who you run it for.+Clone Carbon from GitHub and run it on your own infrastructure. By default that's the **Community** edition, which is free under AGPLv3. You only need a commercial license to use Business features or to keep your changes private.-**Community Edition** is the open core under AGPLv3 — free, no agreement needed. Running unmodified Community Edition for your own business never requires a license. Two things come with that freedom: any modifications you make available to users over a network must be published under the AGPL, and the Enterprise code is excluded, so community mode ships without EE features, Carbon support, or an SLA.+**Community Edition** is the open core under AGPLv3 — free, no agreement needed. Running Community Edition for your own business, modified or not, never requires a license. Two things come with that freedom: if you let others use a modified version over a network, you must offer those users its source under the AGPL, and the Enterprise code is excluded, so community mode ships without Business features, Carbon support, or an SLA.A **commercial license is required** the moment any one of these is true:-- You keep a private fork or make private changes.-- You use anything under `packages/ee` or any `.ee` file.-- You host Carbon for anyone else, including an integrator running it for clients.-- You resell, white-label, or ship Carbon inside a product you sell.+- You use anything under `packages/ee` or any `.ee.` file.+- You want to keep your changes private from the people who use your modified version.The **Carbon Commercial License Agreement** covers all of that. It's self-hosted with full codebase access including Enterprise, over a one, three, or five-year term, and it replaces the AGPL copyleft so your modifications stay private. It takes two shapes for a company running Carbon for itself:- **Subscription** — licensed per user, per year, and renewing.- **Perpetual** — a one-time license you own outright, offered on a premium basis. A perpetual license can also be reached through a written rent-to-own path.-For **partners** who sell Carbon, the same commercial license covers three models:+For **partners** who sell Carbon with Business features or without AGPL obligations, the same commercial license covers three models:- **Reseller** — you sell Carbon under Carbon's name.- **White-label** — you sell it under your own brand and take first-line support, so your customers never see Carbon.@@ -65,13 +63,7 @@ For **partners** who sell Carbon, the same commercial license covers three model## The AGPL obligation-AGPLv3 is a **network copyleft** license: modify Carbon, make it available to users over a network, and you must offer those users your complete modified source under the same license. Carbon's license goes one step further than stock AGPL.--From the LICENSE: *"any use of this software for internal production use is strictly prohibited unless the modifications are made open-source in accordance with the 'AGPLv3' license or a commercial license is obtained."* Running Carbon in production is fine, but unless you hold a commercial license, your changes have to be published under AGPLv3.--## You can't resell Carbon as a service--From the LICENSE: *"Any use of this software to sell Carbon source code as a hosted service is strictly prohibited without obtaining a commercial license."*+AGPLv3 is a **network copyleft** license: modify Carbon, make it available to users over a network, and you must offer those users your complete modified source under the same license.## How the agreements fit together@@ -87,11 +79,9 @@ A commercial agreement covers the signer and its named affiliates. Customer-port[Get a commercial license](mailto:[email protected]), or just use [Carbon Cloud](https://app.carbon.ms), if you want to:-- **Keep your modifications private** instead of publishing them under AGPLv3.-- **Use Enterprise features:** the EE integrations and other Enterprise capabilities. See `docs/integrations` for the catalog.-- **Run Carbon in production** without open-sourcing your changes.-- **Offer Carbon to others** as a hosted service, a white-label product, or embedded in what you sell.+- **Keep your modifications private** from the people who use them, instead of offering them the source under AGPLv3.+- **Use Business features:** the integrations and other capabilities in `packages/ee`. See `docs/integrations` for the catalog.-Cloud is the managed path; an Enterprise (commercial) license is the self-hosted path. Either one lifts the copyleft obligation and unlocks the full feature set.+Carbon Cloud (the Business plan or an Enterprise Subscription) is the managed path; a commercial license is the self-hosted path. Either one unlocks the Business features.This page summarizes the terms so you can find the right path quickly. The [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is what actually governs. Read it in full, and [email us](mailto:[email protected]) if you're unsure which edition fits.diff --git a/apps/erp/app/modules/agent/kb/docs/platform/self-hosting/index.md b/apps/erp/app/modules/agent/kb/docs/platform/self-hosting/index.mdindex 87c9af2f60..924fa4766b 100644--- a/apps/erp/app/modules/agent/kb/docs/platform/self-hosting/index.md+++ b/apps/erp/app/modules/agent/kb/docs/platform/self-hosting/index.md@@ -9,4 +9,4 @@ Carbon can run entirely on hardware you control, the ERP and MES apps plus every- Docker with Caddy The whole stack on a single Linux VPS: a single-node Docker Swarm behind an automatic-HTTPS Caddy reverse proxy.- AWS with SST The two apps on ECS Fargate, provisioned with SST, for teams that need Carbon inside their own AWS account.-Self-hosted Carbon runs under **AGPLv3**: run a modified copy over a network and you have to publish your changes. Keeping modifications private, using Enterprise features, running in production without open-sourcing your changes, or offering Carbon as a hosted service requires a commercial license. See `docs/platform/licensing`.+Self-hosted Carbon runs under **AGPLv3**: it's free to run and change, and if you let others use a modified copy over a network, you must offer them its source. A commercial license is required to use Business features (anything in `packages/ee`) or to keep your changes private from the people who use them. See `docs/platform/licensing`.diff --git a/apps/erp/app/modules/agent/kb/manifest.json b/apps/erp/app/modules/agent/kb/manifest.jsonindex 0ced8a921d..fd46d7be22 100644--- a/apps/erp/app/modules/agent/kb/manifest.json+++ b/apps/erp/app/modules/agent/kb/manifest.json@@ -198,7 +198,7 @@{"slug": "docs/platform/licensing","title": "Licensing",- "description": "Carbon is dual-licensed: AGPLv3 for the open core, a commercial license for Enterprise features and for production or hosted use.",+ "description": "Carbon is dual-licensed: AGPLv3 for the Community edition, and a commercial license for Business features or for keeping your changes private.","keywords": ["licensing", "docs", "platform"],"headings": ["Editions",@@ -206,7 +206,6 @@"Carbon Cloud — we run it","Self-hosted — you run it","The AGPL obligation",- "You can't resell Carbon as a service","How the agreements fit together","When you need a commercial license"]diff --git a/docs/components/editorial/architecture-diagrams.tsx b/docs/components/editorial/architecture-diagrams.tsxindex 5663c0a3a9..bab4a0042f 100644--- a/docs/components/editorial/architecture-diagrams.tsx+++ b/docs/components/editorial/architecture-diagrams.tsx@@ -458,18 +458,19 @@ function BuyHosted() {}/* The mirror image: when the customer runs it. Community is free under the AGPL; the- * commercial license is what lifts the copyleft and unlocks Enterprise, and it splits- * into a path for a company running Carbon and a path for a partner selling it. */+ * commercial license is what unlocks the Business features and lets you keep your changes+ * private, and it splits into a path for a company running Carbon and a path for a partner+ * selling it. */function BuySelfHosted() {return (<svg viewBox="0 0 740 428" className="w-full h-auto" role="img" aria-label="How to buy a self-hosted Carbon license"><ArrowDefs /><Node x={40} y={16} w={290} h={54} label="Community Edition" sub="AGPLv3 · free" tone="svc" />- <Node x={410} y={16} w={290} h={54} label="Commercial License" sub="unlocks Enterprise" tone="svc" />+ <Node x={410} y={16} w={290} h={54} label="Commercial License" sub="unlocks Business features" tone="svc" /><Edge pts={[[185, 70], [185, 100]]} />- <Node x={45} y={100} w={280} h={48} label="Unmodified, your own use" sub="no license needed" />+ <Node x={45} y={100} w={280} h={48} label="Your own use, modified or not" sub="no license needed" /><Edge pts={[[555, 70], [555, 180]]} />diff --git a/docs/content/docs/platform/licensing.mdx b/docs/content/docs/platform/licensing.mdxindex 967b112002..3dbec1e21a 100644--- a/docs/content/docs/platform/licensing.mdx+++ b/docs/content/docs/platform/licensing.mdx@@ -1,6 +1,6 @@---title: Licensing-description: "Carbon is dual-licensed: AGPLv3 for the open core, a commercial license for Enterprise features and for production or hosted use."+description: "Carbon is dual-licensed: AGPLv3 for the Community edition, and a commercial license for Business features or for keeping your changes private."---Carbon's source is public, but using it isn't unconditional. Two licenses govern the code, and which one applies depends on **what you run and how you run it**. This page is the map; the [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is the contract.@@ -9,8 +9,8 @@ Carbon's source is public, but using it isn't unconditional. Two licenses govern| Edition | What it is | License || --- | --- | --- |-| **Community** | The open core: ERP + MES, self-hosted on your own infrastructure. | AGPLv3 |-| **Enterprise** | Self-hosted Carbon with a commercial license: unlocks Enterprise features and lifts the AGPL copyleft obligation. | Commercial |+| **Community** | The open core: ERP, MES, MRP, and QMS, plus accounting and the product configurator, self-hosted on your own infrastructure. | AGPLv3 |+| **Enterprise** | Self-hosted Carbon with a commercial license: unlocks the Business features and lifts the AGPL copyleft obligation. | Commercial || **Cloud** | Carbon run for you at [app.carbon.ms](https://app.carbon.ms), billed on the Starter and Business plans. | Commercial |Self-hosting (the [Docker + Caddy recipe](/docs/platform/self-hosting/docker-caddy) or the [AWS with SST recipe](/docs/platform/self-hosting/aws-sst)) runs the **Community** edition by default. A commercial license turns the same hardware into the **Enterprise** edition.@@ -46,25 +46,23 @@ Custom features, integrations, data migrations, additional forward-deployed engi## Self-hosted — you run it-Clone Carbon from GitHub and run it on your own infrastructure. By default that's the **Community** edition, and how you're licensed depends on what you change and who you run it for.+Clone Carbon from GitHub and run it on your own infrastructure. By default that's the **Community** edition, which is free under AGPLv3. You only need a commercial license to use Business features or to keep your changes private.-<Diagram name="buy-selfhosted" caption="The self-hosted path: free under the AGPL for your own unmodified use, or a commercial license that unlocks Enterprise and covers private forks, hosting for others, and reselling." />+<Diagram name="buy-selfhosted" caption="The self-hosted path: free under the AGPL for your own use, modified or not, or a commercial license that unlocks the Business features and lets you keep your changes private." />-**Community Edition** is the open core under AGPLv3 — free, no agreement needed. Running unmodified Community Edition for your own business never requires a license. Two things come with that freedom: any modifications you make available to users over a network must be published under the AGPL, and the Enterprise code is excluded, so community mode ships without EE features, Carbon support, or an SLA.+**Community Edition** is the open core under AGPLv3 — free, no agreement needed. Running Community Edition for your own business, modified or not, never requires a license. Two things come with that freedom: if you let others use a modified version over a network, you must offer those users its source under the AGPL, and the Enterprise code is excluded, so community mode ships without Business features, Carbon support, or an SLA.A **commercial license is required** the moment any one of these is true:-- You keep a private fork or make private changes.-- You use anything under `packages/ee` or any `.ee` file.-- You host Carbon for anyone else, including an integrator running it for clients.-- You resell, white-label, or ship Carbon inside a product you sell.+- You use anything under `packages/ee` or any `.ee.` file.+- You want to keep your changes private from the people who use your modified version.The **Carbon Commercial License Agreement** covers all of that. It's self-hosted with full codebase access including Enterprise, over a one, three, or five-year term, and it replaces the AGPL copyleft so your modifications stay private. It takes two shapes for a company running Carbon for itself:- **Subscription** — licensed per user, per year, and renewing.- **Perpetual** — a one-time license you own outright, offered on a premium basis. A perpetual license can also be reached through a written rent-to-own path.-For **partners** who sell Carbon, the same commercial license covers three models:+For **partners** who sell Carbon with Business features or without AGPL obligations, the same commercial license covers three models:- **Reseller** — you sell Carbon under Carbon's name.- **White-label** — you sell it under your own brand and take first-line support, so your customers never see Carbon.@@ -72,17 +70,7 @@ For **partners** who sell Carbon, the same commercial license covers three model## The AGPL obligation-AGPLv3 is a **network copyleft** license: modify Carbon, make it available to users over a network, and you must offer those users your complete modified source under the same license. Carbon's license goes one step further than stock AGPL.--<Callout type="note" title="Internal production use still triggers it">-From the LICENSE: *"any use of this software for internal production use is strictly prohibited unless the modifications are made open-source in accordance with the 'AGPLv3' license or a commercial license is obtained."* Running Carbon in production is fine, but unless you hold a commercial license, your changes have to be published under AGPLv3.-</Callout>--## You can't resell Carbon as a service--<Callout type="warn" title="Hosting Carbon for others needs a commercial license">-From the LICENSE: *"Any use of this software to sell Carbon source code as a hosted service is strictly prohibited without obtaining a commercial license."*-</Callout>+AGPLv3 is a **network copyleft** license: modify Carbon, make it available to users over a network, and you must offer those users your complete modified source under the same license.## How the agreements fit together@@ -100,12 +88,10 @@ A commercial agreement covers the signer and its named affiliates. Customer-port[Get a commercial license](mailto:[email protected]), or just use [Carbon Cloud](https://app.carbon.ms), if you want to:-- **Keep your modifications private** instead of publishing them under AGPLv3.-- **Use Enterprise features:** the EE integrations and other Enterprise capabilities. See [Integrations](/docs/integrations) for the catalog.-- **Run Carbon in production** without open-sourcing your changes.-- **Offer Carbon to others** as a hosted service, a white-label product, or embedded in what you sell.+- **Keep your modifications private** from the people who use them, instead of offering them the source under AGPLv3.+- **Use Business features:** the integrations and other capabilities in `packages/ee`. See [Integrations](/docs/integrations) for the catalog.-Cloud is the managed path; an Enterprise (commercial) license is the self-hosted path. Either one lifts the copyleft obligation and unlocks the full feature set.+Carbon Cloud (the Business plan or an Enterprise Subscription) is the managed path; a commercial license is the self-hosted path. Either one unlocks the Business features.<Callout type="info" title="Orientation, not legal advice">This page summarizes the terms so you can find the right path quickly. The [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is what actually governs. Read it in full, and [email us](mailto:[email protected]) if you're unsure which edition fits.diff --git a/docs/content/docs/platform/self-hosting/index.mdx b/docs/content/docs/platform/self-hosting/index.mdxindex c48ffc68bd..432e021716 100644--- a/docs/content/docs/platform/self-hosting/index.mdx+++ b/docs/content/docs/platform/self-hosting/index.mdx@@ -17,5 +17,5 @@ Carbon can run entirely on hardware you control, the ERP and MES apps plus every</Cards><Callout type="warn" title="Self-hosting runs the Community edition">-Self-hosted Carbon runs under **AGPLv3**: run a modified copy over a network and you have to publish your changes. Keeping modifications private, using Enterprise features, running in production without open-sourcing your changes, or offering Carbon as a hosted service requires a commercial license. See [Licensing](/docs/platform/licensing).+Self-hosted Carbon runs under **AGPLv3**: it's free to run and change, and if you let others use a modified copy over a network, you must offer them its source. A commercial license is required to use Business features (anything in `packages/ee`) or to keep your changes private from the people who use them. See [Licensing](/docs/platform/licensing).</Callout>