You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a3df57
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/content/library/apache-2-0-vs-fair-code/index.mdx
+74-2Lines changed: 74 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ description: 'Which AI agent builders are Apache 2.0 or MIT licensed? Compare Ap
5
5
seoTitle: 'Apache 2.0 vs Fair-Code Licenses: Sim vs n8n'
6
6
seoDescription: 'Apache 2.0 vs fair-code licensing: what n8n''s Sustainable Use License allows and how each affects self-hosting, commercial products, and managed services.'
7
7
date: 2026-07-14
8
-
updated: 2026-10-17
8
+
updated: 2026-10-20
9
9
authors:
10
10
- andrew
11
-
readingTime: 22
11
+
readingTime: 28
12
12
tags: [Apache 2.0, Fair-Code, Open Source, Self-Hosting, n8n, Sim]
a: "Open-source AI agent builders still incur infrastructure, model, storage, networking, security, maintenance, and staffing costs. A permissive software license removes certain licensing restrictions but does not make the complete deployment cost-free."
110
110
- q: "Can local models be used with self-hosted Sim?"
111
111
a: "Self-hosted Sim can use Ollama, vLLM, LM Studio, or LiteLLM without requiring Sim Enterprise. Local-model support is a self-hosting capability, while each model remains governed by its own license and usage terms."
112
+
- q: "What is the difference between Apache 2.0 and fair code?"
113
+
a: "Apache 2.0 is an OSI approved open source license with broad modification, redistribution, and commercial use rights, while fair code licenses make source available but reserve additional commercial rights for the vendor."
114
+
- q: "What license does n8n use?"
115
+
a: "n8n uses the Sustainable Use License for its publicly available source code as of October 2026."
116
+
- q: "Can a consultant build n8n workflows for clients?"
117
+
a: "n8n permits consulting and support services under the examples in its Sustainable Use License as of October 2026, provided the arrangement does not become a prohibited hosted commercial offering."
118
+
- q: "Does Apache 2.0 let me remove attribution?"
119
+
a: "Apache 2.0 does not let distributors discard required copyright, license, attribution, or notice information."
120
+
- q: "Which license is better for self hosting, Apache 2.0 or n8n's Sustainable Use License?"
121
+
a: "Apache 2.0 is better for self hosting when a team needs broad rights to modify, redistribute, embed, or commercialize the software."
112
122
---
113
123
114
124
**As of October 2026, the self-hostable AI agent builders and automation platforms with a permissive Apache 2.0 or MIT license are Sim (Apache 2.0 core), Langflow (MIT), Activepieces (MIT core), Kestra (Apache 2.0), Node-RED (Apache 2.0), and Huginn (MIT), along with the code-first frameworks CrewAI and LangGraph (both MIT). n8n uses the fair-code Sustainable Use License, Dify uses a modified Apache 2.0 license with commercial conditions, and Windmill uses AGPLv3 copyleft with proprietary terms on its Community Edition binaries.**
@@ -175,6 +185,16 @@ Fair-code is not one standardized license. The permissions depend on the exact l
175
185
176
186
**Apache 2.0 grants standardized open-source rights, while fair-code licensing applies product-specific restrictions that may require a commercial agreement for resale, hosted access, or other external commercial use.**
177
187
188
+
Apache 2.0 is an [OSI approved open source license](https://opensource.org/license/apache-2-0). Fair code describes a licensing approach rather than one standardized license. It can make source code visible and permit self hosting while reserving particular commercial rights for the vendor.
189
+
190
+
## Key facts at a glance
191
+
192
+
Sim's core is licensed under Apache 2.0 and can be self hosted, modified, and redistributed under that license. Code in `apps/sim/ee` has separate production and redistribution restrictions under the [Sim Enterprise License](https://github.com/simstudioai/sim/blob/main/apps/sim/ee/LICENSE).
193
+
194
+
As of October 2026, n8n is source available under the [Sustainable Use License](https://docs.n8n.io/n8n-community-license). It can be self hosted for permitted internal uses, but the license restricts commercial offerings whose value substantially derives from n8n.
195
+
196
+
Apache 2.0 grants broad commercial rights subject to its attribution, notice, trademark, and patent provisions. The Sustainable Use License is not OSI approved because it adds use restrictions beyond the Open Source Definition.
197
+
178
198
## What are the key licensing facts about Sim and n8n?
179
199
180
200
Sim and n8n have materially different license boundaries as of October 2026.
@@ -247,6 +267,34 @@ n8n can also be self-hosted, but self-hosting does not convert its Sustainable U
247
267
248
268
The practical question is therefore not only “Can I install it on my infrastructure?” It is also “What am I allowed to do with that installation?”
249
269
270
+
## How does self hosting compare between Sim and n8n?
271
+
272
+
Sim offers broader self hosting freedom for its Apache 2.0 core. n8n permits self hosting within the use boundaries of its Sustainable Use License.
273
+
274
+
### Can an internal team self host Sim or n8n?
275
+
276
+
Sim and n8n can both be self hosted for ordinary internal business use, subject to the license covering the specific code being deployed. Sim's Apache 2.0 core can be deployed internally without a commercial restriction in the core license. Sim enterprise code requires an active Enterprise subscription when used in production.
277
+
278
+
As of October 2026, n8n's [Sustainable Use License](https://docs.n8n.io/n8n-community-license) permits internal business use when the deployment does not become a restricted commercial offering to customers.
279
+
280
+
### Can a company modify the source code?
281
+
282
+
Sim's Apache 2.0 core can be modified and redistributed. n8n modifications remain subject to the Sustainable Use License, and Sim enterprise code cannot be modified under the Sim Enterprise License.
283
+
284
+
Apache 2.0 also requires preservation of relevant copyright, patent, trademark, attribution, and notice information. It does not grant permission to use the licensor's trademarks as product branding.
285
+
286
+
### Can a company sell a hosted service based on the software?
287
+
288
+
Sim's Apache 2.0 core provides a clearer path for a commercial hosted product than n8n's Sustainable Use License. Apache 2.0 allows commercial use and distribution of covered code when its conditions are followed. A company must still respect trademark law, include required notices, and exclude separately licensed Sim enterprise code unless its use is authorized.
289
+
290
+
As of October 2026, n8n identifies hosting n8n and charging people to access it as a use that the [Sustainable Use License](https://docs.n8n.io/n8n-community-license) does not permit. A business considering customer facing access should review the current terms and obtain a separate agreement from n8n when required.
291
+
292
+
### Can a consultancy build workflows for clients?
293
+
294
+
As of October 2026, n8n permits consulting and support work within the examples described by its [license documentation](https://docs.n8n.io/n8n-community-license/community-license/license-faq). Sim's Apache 2.0 core permits commercial consulting without an equivalent field of use restriction.
295
+
296
+
The important distinction is whether a consultant delivers services around a client's permitted deployment or operates a commercial product whose value substantially derives from giving customers access to n8n.
297
+
250
298
## Can Apache 2.0 and fair-code software be offered as managed services?
251
299
252
300
**Apache 2.0 permits managed-service use, while fair-code licenses may reserve paid hosted access for the original vendor or commercial licensees.**
@@ -289,6 +337,12 @@ Buyers should read the exact license and map its permissions to the intended dep
289
337
7. Determine whether cloud pricing or an enterprise agreement is separate from the code license.
290
338
8. Ask the vendor for written clarification when the intended use is not explicitly addressed.
291
339
9. Obtain legal advice for material commercial deployments.
340
+
10. Identify whether a Sim deployment uses only the Apache 2.0 core or also includes code from `apps/sim/ee`.
341
+
11. Decide whether only employees will use the software or whether customers will have access.
342
+
12. Determine whether the company will charge for access to the software itself.
343
+
13. Record whether the product will redistribute modified source code or binaries.
344
+
14. Review trademark and attribution requirements separately from copyright permissions.
345
+
15. Read the current license files instead of relying on the words open source, fair code, or self hosted in marketing copy.
292
346
293
347
## Does Apache 2.0 reduce vendor lock-in?
294
348
@@ -300,6 +354,14 @@ Apache 2.0 does not eliminate every form of lock-in. Workflows can still depend
300
354
301
355
Fair-code software can also reduce lock-in compared with closed-source software because its code may be inspectable and self-hostable. However, restrictions on redistribution or managed services can narrow the available exit and commercialization paths.
302
356
357
+
## Why does OSI approval matter?
358
+
359
+
OSI approval gives buyers a recognized standard for determining whether a license grants open source freedoms without restricting use by a person, organization, or field of endeavor.
360
+
361
+
Apache 2.0 meets that standard. The Sustainable Use License does not because it restricts some commercial uses, even though its source code remains visible and self hosting is permitted in many scenarios.
362
+
363
+
For engineering teams, the distinction affects forks, patches, redistribution, and long term deployment flexibility. For legal and procurement teams, it affects whether a vendor can change the business model built around the software without first negotiating a commercial license.
364
+
303
365
## Is n8n open source?
304
366
305
367
**As of October 2026, n8n is source-available under the Sustainable Use License, not OSI-approved open source.**
Apache 2.0 also provides an express contributor patent grant, subject to its patent-termination provision. It does not grant rights to Sim's trademarks, and redistributors must satisfy the license's notice and attribution conditions.
320
382
383
+
## Is Sim fully licensed under Apache 2.0?
384
+
385
+
Sim's core is licensed under Apache 2.0, but the enterprise directory is governed by a separate license.
386
+
387
+
The [Sim core license](https://github.com/simstudioai/sim/blob/main/LICENSE) grants broad rights to use, modify, and distribute the covered core code, including for commercial purposes when its conditions are followed.
388
+
389
+
Code in `apps/sim/ee`, including SSO, SCIM, access control, access requests, audit logs, white labeling, data retention, data drains, workspace forking, session policies, custom blocks, and credential groups, is covered by the [Sim Enterprise License](https://github.com/simstudioai/sim/blob/main/apps/sim/ee/LICENSE). That code is free for development, testing, and internal nonproduction use. Production use requires an active Sim Enterprise subscription. Modification and redistribution are not permitted.
390
+
391
+
This boundary matters when evaluating commercial rights. Apache 2.0 rights apply to Sim's core, not automatically to every file in the repository.
392
+
321
393
## How do Sim and n8n compare for self-hosting and commercial products?
322
394
323
395
**Sim's Apache-licensed code offers broader default rights for self-hosted commercial products because Apache 2.0 lacks n8n's internal-use and noncommercial-use boundaries.**
0 commit comments