All alternatives
Automation

Best Open-Source Alternatives to n8n

n8n is a popular self-hostable workflow tool, but its Sustainable Use License is source-available rather than open source: you cannot sell n8n as a hosted service or embed it in a product without a commercial agreement. These alternatives use OSI-approved licenses, so check which one fits how you plan to use it.

TL;DR — top pick

Activepieces

The closest drop-in for people who like n8n's visual builder. Flows look and feel similar, there are hundreds of "pieces" (integrations), and AI steps and MCP support are first-class.

github.com/activepieces/activepieces

At a glance

Updated 24 November 2026

AlternativeLicenseSelf-hostableGitHub stars (approx.)
ActivepiecesMIT (community edition)Yes~26k
Node-REDApache-2.0Yes~24k
KestraApache-2.0Yes~30k
WindmillAGPL-3.0 (core)Yes~19k
HuginnMITYes~51k

All 5 alternatives ranked

#1

Activepieces

MIT (community edition)Self-hostable★ ~26k
github.com/activepieces/activepieces

The closest drop-in for people who like n8n's visual builder. Flows look and feel similar, there are hundreds of "pieces" (integrations), and AI steps and MCP support are first-class. The community edition is MIT, which is the main reason teams move here from n8n: you can embed it in your own SaaS. The tradeoff is the split codebase. Some features, such as SSO and audit logs, sit under a separate enterprise license, so read the license file before assuming everything is MIT. Self-host with Docker in a few minutes.

Pick Activepieces if

You want an n8n-style visual builder under a permissive license, including to embed in your own product.

Skip if

You rely on enterprise features like SSO on the free self-hosted tier; those are outside the MIT edition.

#2

Node-RED

Apache-2.0Self-hostable★ ~24k
github.com/node-red/node-red

The veteran of flow-based automation, under the OpenJS Foundation and Apache-2.0, so the license question disappears entirely. It is strongest where n8n is weakest: IoT, MQTT, hardware and anything event-driven, with a huge library of community nodes. The editor is more technical than n8n and SaaS integrations are thinner, so CRM-and-spreadsheet style automations take more wiring. Runs happily on a Raspberry Pi.

Pick Node-RED if

You want a fully Apache-2.0 tool, or your automations involve devices, MQTT or event streams.

Skip if

Your flows are mostly SaaS-to-SaaS (CRM, email, sheets); n8n-style builders have far more ready-made connectors.

#3

Kestra

Apache-2.0Self-hostable★ ~30k
github.com/kestra-io/kestra

Declarative orchestration: workflows are YAML, versioned in git, with a UI to edit and monitor them. Apache-2.0. It sits between n8n and Airflow, so it suits data pipelines, scheduled jobs and backend processes more than quick "when a form is submitted, send a Slack message" automations. Plugins cover databases, cloud services and scripts in most languages. Expect a JVM service and more setup than n8n.

Pick Kestra if

You run data or backend workflows and want them as code in git under Apache-2.0.

Skip if

You want a no-code builder for non-technical teammates; Kestra is built for engineers.

#4

Windmill

AGPL-3.0 (core)Self-hostable★ ~19k
github.com/windmill-labs/windmill

Turns scripts (Python, TypeScript, Go, Bash, SQL) into workflows, internal apps and scheduled jobs, with a fast Rust engine. Developer-first: you write code steps rather than drag connectors. The core is AGPL-3.0 with paid enterprise features, so it is open source but not permissive; fine for internal use, worth checking with counsel before offering it to customers. Strong choice if your team already writes scripts and wants them run, scheduled and given a UI.

Pick Windmill if

Your automations are really scripts and you want them scheduled, monitored and wrapped in simple UIs.

Skip if

You need a permissive license to embed or resell it; the AGPL core makes that harder.

#5

Huginn

MITSelf-hostable★ ~51k
github.com/huginn/huginn

The original self-hosted "IFTTT for hackers": agents that watch websites, feeds and APIs and act when something changes. MIT licensed and very mature. It is a Ruby on Rails app with a dated UI and a smaller integration set than modern tools, so it suits monitoring and scraping tasks more than business workflows. Pick it for the license and the watch-and-notify use case, not for polish.

Pick Huginn if

You want MIT-licensed agents that monitor sites and feeds and notify you on change.

Skip if

You want a modern visual editor and many SaaS connectors; Activepieces or n8n-style tools fit better.

FAQ

Is n8n open source?

No. n8n is source-available under its Sustainable Use License, which is not an OSI-approved open-source license. You can self-host it for internal use, but offering n8n to others as a service or embedding it in a commercial product requires an agreement with n8n. Activepieces (MIT community edition), Node-RED and Kestra (Apache-2.0) and Huginn (MIT) are open-source alternatives.

What is the best open-source alternative to n8n?

For an n8n-style visual builder, Activepieces is the closest match and its community edition is MIT. Node-RED is the best fully Apache-2.0 option, especially for IoT and event-driven flows. Kestra suits data and backend workflows defined as code, and Windmill suits teams that automate with scripts.

Which n8n alternative has a permissive license?

Node-RED and Kestra use Apache-2.0 and Huginn uses MIT. Activepieces is MIT for its community edition, with some enterprise features under a separate license. Windmill is AGPL-3.0, which is open source but not permissive.

Can I self-host these n8n alternatives?

Yes. All five run on your own server, usually with a single Docker Compose file. Node-RED is light enough for a Raspberry Pi; Kestra and Windmill need more memory because they run a full orchestration engine.

More Automation alternatives