Self-host n8n
n8n@1.123.97Fair-code workflow automation with native AI
- Stars
- 210 614
- Port
- 5678 (HTTP web editor and API)
docker.n8n.io/n8nio/n8nWhat is n8n?
n8n is a fair-code workflow automation platform for technical teams to create AI agents and multi-step workflows. It merges a visual canvas with custom JavaScript or Python code, and provides over 1500 pre-built integrations plus custom API connections. Self-hosting options include Docker, Docker Compose, and npm, with SQLite as the default database and PostgreSQL as an alternative. Enterprise capabilities include role-based access control, audit trails, SSO via OIDC, SAML, or LDAP, and queue mode for horizontal scaling. The Community edition is free and source-available under the Sustainable Use License, while paid Business and Enterprise tiers add features such as external secrets, log streaming, and multi-environment support.
n8n alternatives
oc8oc8 is a self-hosted, open-source platform for orchestrating AI agents that work across business software using the Model Context Protocol with human oversight.Compareoc8 with n8n
n8nTraceObservability platform for n8n with execution analytics, Prometheus metrics, RBAC, and audit logging. Deployed as a hardened Docker container with PostgreSQL.Comparen8nTrace with n8n
bytechefSelf-hosted open-source platform unifying AI agents and workflow automation with 270+ connectors, visual editor, and durable execution.Comparebytechef with n8n
nocodbSelf-hosted open-source Airtable alternative that turns any database into a no-code platform with spreadsheet-like interface, supporting PostgreSQL, MySQL, and SQLite.Comparenocodb with n8n
ai-agent-automationSelf-hosted workflow engine for AI-driven automations with visual builder, agent config, deterministic execution, document RAG, and observability.Compareai-agent-automation with n8n
LoomFlowSelf-hosted AI workflow builder: write a prompt, get a runnable flow on a canvas, expose it as an API. Single Docker command to deploy.CompareLoomFlow with n8n
ActivepiecesOpen-source, self-hosted workflow automation with AI agents, MCP servers, tables and 760+ app integrations, run via Docker Compose or Helm on Kubernetes.CompareActivepieces with n8n
MachinaOSSelf-hosted open-source AI organisation with six specialised employees owning business functions end-to-end. Token budget, bring your own model keys.CompareMachinaOS with n8n
Should you self-host n8n?
n8n scores 92/100 on selfhost.directory (how scoring works) and ranks #1 of 31 in Workflow Automation. It has 210 614 GitHub stars, +3 464 in the last 30 days.
It shipped 238 stable releases in the past year. The latest, n8n@1.123.97, came out on 16 November 2026.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is Apache Airflow (85/100, 47 493 stars). n8n scores higher overall. See n8n vs Apache Airflow side by side.
Features
- 1500+ integrations
- AI agent capabilities
- Custom code support
- Encryption key rotation
- External secretsRequires Business or Enterprise plan
- Log StreamingRequires Business or Enterprise plan
- Queue modeAvailable in Community edition; multi-main mode requires Business/Enterprise
- Role-based Access ControlProjects and RBAC require Business or Enterprise plan
- Source control (Git)Requires Business or Enterprise plan
- SSO (OIDC/SAML/LDAP)Requires Business or Enterprise plan for self-hosted
- Two-factor authentication
- Visual Workflow Builder
- Workflow Templates
n8n README
Fair-code platform to build and deploy AI agents and workflows. Combine a visual canvas with custom code, run it self-hosted or in the cloud, and connect to 1500+ integrations. AI automation you can trust with real work, from prototype to production.
FAQ
What if I want to use n8n for something not permitted by the license?
You must sign a separate commercial agreement with n8n.
What source code is covered by the Sustainable Use License?
The Sustainable Use License applies to all source code in the main GitHub repository except content of branches other than master and files containing .ee. in their name.
What license do you use?
n8n uses the Sustainable Use License and n8n Enterprise License, based on the fair-code model.
More in Workflow Automation
n8n-installSelfhost AI is an open-source Docker Compose installer for a complete AI homelab with n8n, Ollama, Open WebUI, AI agents, RAG, and monitoring behind automatic HTTPS.
nocobaseOpen-source, self-hosted no-code environment for assembling internal business systems: AI employees, WYSIWYG data modeling, fine-grained permissions, workflows, plugins.
nocodbSelf-hosted open-source Airtable alternative that turns any database into a no-code platform with spreadsheet-like interface, supporting PostgreSQL, MySQL, and SQLite.
Node REDSelf-hosted, open-source low-code flow tool to collect, transform and visualise real-time data, with a browser editor, MQTT/HTTP/TCP nodes and 5,000+ community nodes.
oc8oc8 is a self-hosted, open-source platform for orchestrating AI agents that work across business software using the Model Context Protocol with human oversight.
Oh My SubagentsOh My Subagents is a self-hosted, open-source runtime that turns ad-hoc AI subagents into durable, accountable teams for Codex and Claude.
Open FlowOpen-source AI workflow automation platform where AI agents build workflows connecting 1,600+ apps, with visual Workbench for inspection and human approval.
openopsOpenOps is a self-hosted, open-source FinOps platform automating cloud cost optimization via pre-built workflows, no-code editor, and deep cloud/FinOps tool integrations.
OuterbridgeOuterbridge is a self-hosted, open-source low-code/no-code workflow automation tool that connects on-chain and off-chain applications with a drag-and-drop interface.
PawFlow-AgentsPawFlow is an open-source, self-hosted AI agent runtime connecting agents to real files and desktops via relays with durable context and deterministic workflows.
pearlBubble Lab is a self-hosted, open-core workflow automation platform for developers. It combines visual workflows with TypeScript type safety for AI agents.
PipesPipes CE is a self-hosted, open-source visual tool for fetching, transforming, and combining RSS/Atom/JSON feeds and web data through a block-based interface.


0 comments