n8n alternatives: open-source, self-hosted automation (2026)
Our pick
Start with Activepieces if you want a no-code automation builder that you host yourself and that connects apps, as n8n does. It has loops, branches, retries and HTTP steps, flows are versioned, and its Community Edition is MIT licensed while enterprise features use a commercial licence. It connects to other services through open-source pieces, which are also available as MCP servers for Claude Desktop, Cursor and Windsurf. The table shows each tool's licence, last commit and latest release, and how the others compare.
Best for
- Workflows written as code
windmill-labs/windmillTurns scripts in Python, TypeScript, Go, Bash, SQL and other languages into UIs, APIs, cron jobs and flows, and syncs them with Git. Its open-source build is AGPLv3, some uses need a commercial licence, and it self-hosts with Docker Compose.
- Scheduled and event-driven pipelines in YAML
kestra-io/kestraAn Apache-2.0 orchestration platform where flows are declared in YAML, a no-code editor or an AI Copilot. You try it with one docker run command.
- A visual builder for AI agents
simstudioai/simAn Apache-2.0 workspace for building agents and workflows visually, with ready-made integrations. You self-host it with npx sim-setup, which needs Node.js and Docker.
- Python-based AI flows you can serve as an API or MCP server
langflow-ai/langflowA visual builder with Python-editable components that deploys flows as an API or an MCP server. It is MIT licensed and installs with uv pip install langflow.
- RAG and agent apps on one platform
langgenius/difyAn LLM app platform that combines AI workflows, RAG pipelines, agents and model management. It starts with Docker Compose and uses the Dify Open Source License, based on Apache 2.0 with additional conditions.
The repos compared
Checked on Dec 1, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| activepieces / activepieces A no-code automation builder with many integrations; its Community Edition is MIT licensed. | 25,830 GitHub (opens in new tab) | Active Dec 1, 2026 | 0.94.0, Nov 25, 2026 | Custom | |
| windmill-labs / windmill A self-hostable, code-first platform for workflows, apps and AI agents. | 18,802 GitHub (opens in new tab) | Active Nov 30, 2026 | v1.886.0, Nov 26, 2026 | Custom | |
| kestra-io / kestra An open-source orchestration platform for data, AI and infrastructure workflows. | 30,418 GitHub (opens in new tab) | Active Dec 1, 2026 | v2.0.11, Nov 17, 2026 | Apache-2.0 | |
| simstudioai / sim A workspace to build, deploy and monitor AI agents and workflows. | 30,248 GitHub (opens in new tab) | Active Nov 30, 2026 | v0.9.67, Nov 27, 2026 | Apache-2.0 | |
| langflow-ai / langflow A visual builder for AI agents and workflows, deployable as an API or MCP server. | 157,057 GitHub (opens in new tab) | Active Dec 1, 2026 | v1.13.4, Nov 24, 2026 | MIT | |
| langgenius / dify An LLM app platform with AI workflows, RAG pipelines and agent features. | 162,255 GitHub (opens in new tab) | Active Dec 2, 2026 | 1.20.0, Nov 18, 2026 | Custom |
Questions
What is the best open-source alternative to n8n?
It depends on how you build. Activepieces is a no-code builder you host yourself, with loops, branches and retries. Windmill suits teams that write scripts, Kestra suits scheduled and event-driven pipelines declared in YAML, and Sim, Langflow and Dify are built around AI agents and LLM apps.
Is n8n open source?
n8n is fair-code: it is distributed under the Sustainable Use License and the n8n Enterprise License, which are not OSI open-source licences. On this page, the Activepieces Community Edition and Langflow are MIT, Kestra and Sim are Apache-2.0, Windmill's open-source build is AGPLv3, and Dify uses its own licence based on Apache 2.0 with additional conditions.
Which of these tools are built for AI agents?
Sim, Langflow and Dify are built around agents and LLM apps. Activepieces has an OpenAI integration and exposes its pieces as MCP servers, and Kestra has AI agents and a built-in MCP server.
Can I self-host these n8n alternatives?
Yes. Activepieces can be self-hosted, Windmill and Dify install with Docker Compose, Kestra starts from a docker run command, Sim uses npx sim-setup and Langflow installs with uv.
What is the best open source automation tool?
Activepieces is the pick here for a self-hosted no-code builder, and its Community Edition is MIT licensed. Kestra is Apache-2.0 and suits scheduled and event-driven pipelines in YAML, and Windmill's open-source build is AGPLv3 and suits workflows written as code. Sim (Apache-2.0) and Langflow (MIT) fit AI agent workflows.
What is the best free automation tool?
Activepieces is the pick here, and its Community Edition is free to use under the MIT licence, while its enterprise features use a commercial licence. Windmill's Community Edition is free to use internally within the limits set in the software, and Langflow (MIT), Kestra and Sim (Apache-2.0) are open source. Kestra also has an Enterprise Edition, Sim has an Enterprise plan on Sim Cloud, and Windmill offers commercial licences.
