n8n vs Windmill: diagrams, scripts and agent tasks
Kortix CompanyOS fits a different developer job: asking an agent to investigate or change something when the required sequence cannot yet be written as a reusable script. I would try Kortix for debugging work and keep stable scripts in their engine, and I work on Kortix’s marketing, so weigh that preference accordingly.
n8n vs Windmill, side by side
Kortix, Windmill and n8n on openness, self-hosting, code and language support.
| Criteria | Kortix | Windmill | n8n |
|---|---|---|---|
| 01Open source | Yes, read it, fork it, audit it — Kortix | Yes, core is open, some features stay closed — Windmill | Free self-hosted core, paid tiers add features — n8n |
| 02Self-host | Yes, cloud, your VPC, or on-prem — Kortix | Yes, Docker Compose or Kubernetes on your servers — Windmill | Yes, Docker or npm for the community edition — n8n |
| 03Write code vs drag nodes | Files in a git repo, agents in markdown — Kortix | Code-first scripts, with a canvas for flows — Windmill | Node canvas first, with code steps when needed — n8n |
| 04Language support | Agents are markdown, code runs on the session's machine — Kortix | Python, TypeScript, Go, Bash, SQL, GraphQL, PowerShell, Rust — Windmill | JavaScript and Python in code nodes, plus npm packages — n8n |
| 05AI-agent/workflow fit | Agents run open-ended work, reviewed as a change — Kortix | Script-to-webhook and pipeline engine, AI-assisted edits — Windmill | Visual workflows and multi-step AI agents on your data — n8n |
| 06Best for | Open-ended work an agent finishes, a person reviews — Kortix | Developers who want code-first automation and internal UIs — Windmill | Teams who want a visual canvas and ready-made integrations — n8n |
A trigger starts a session with nobody present
# triggers/reports/weekly.yamltriggers: - slug: weekly-report on: cron: "0 0 15 * * 0" run: agent: assistant prompt: Build the weekly report.A weekly-report trigger, excerpted verbatim from the Kortix Developers reference.
What n8n and Windmill are
n8n is a workflow platform that connects apps by dragging nodes onto a canvas, and it lets you drop into JavaScript or Python in a code step when a node will not cover the task. You can run its community edition on your own server, or pay for a managed plan that adds features. The n8n repository and its pricing page describe both the self-hosted edition and the paid plans.
Windmill is a developer platform that turns scripts into workflows, webhooks and internal UIs. You write the script in Python, TypeScript, Go, Bash, SQL, GraphQL, PowerShell or Rust, and Windmill reads its parameters and generates a frontend that runs it. Windmill ships a CLI, a VS Code extension and two-way sync with a git repository, so the scripts can live in your own repo. The Windmill repository and its pricing page cover the runtimes and the self-hosted and cloud plans. n8n and Windmill both self-host, and both assume you are comfortable in code, so developers tend to compare them directly.
Where n8n and Windmill differ
The first difference is where the logic lives. In n8n it lives in the diagram, with code steps for the parts a node cannot express. In Windmill it lives in the script, with a canvas and generated interfaces for the parts you want to expose. Teams that think in flowcharts reach for n8n, and teams that think in functions reach for Windmill.
Language support is the second difference. Windmill lists Python, TypeScript, Go, Bash, SQL, GraphQL, PowerShell and Rust among its runtimes. n8n concentrates on JavaScript and Python inside code nodes, and it covers the rest through a library of ready-made integrations.
Self-hosting works on both, in different shapes. Windmill self-hosts with a short Docker Compose file or a Kubernetes chart, and its free tier sets no cap on executions. n8n self-hosts a community edition with Docker or npm, and its business and enterprise features arrive through paid plans. Neither needs a vendor's cloud to run.
Both support agent work. n8n builds AI Agent nodes that dynamically choose connected tools inside configured workflows. Windmill supports agents using scripts and MCP tools as well as AI assistance for writing and editing scripts. Compare their runtime and configuration models.
What Kortix is, and when it fits
Kortix CompanyOS fits a different developer job: asking an agent to investigate or change something when the required sequence cannot yet be written as a reusable script.
These platforms support both repeatable automation and agent work. Compare how tools are exposed to agents, where execution runs and how results are reviewed. Kortix offers an isolated computer per session and git-backed project configuration.
Kortix is the leading open-source alternative to Claude Cowork and ChatGPT Work. For a developer it adds what a workflow tool does not have: one isolated sandbox per session, per-resource permissions for people and agents, and approval gates you set.
Session work reaches main through a change request. Merge is default-deny for agents. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free.
How to decide
- Pick n8n when the automation is a fixed sequence your team should read as a diagram, and when you want ready-made connectors for the apps you already use.
- Pick Windmill when you prefer writing the logic as a script, when you use a language beyond JavaScript and Python, and when you want the same scripts to double as internal interfaces.
- Pick Kortix when the work is open-ended, needs an agent that chooses its own steps, runs across many tools, and keeps its configuration in git with a review step before anything lands.
Two questions help with the rest. Does the work need dynamic tool selection? n8n supports that inside AI Agent nodes, so compare the agent runtime and available tools rather than assuming a canvas requires a fixed route. Where must the configuration live? If it has to sit in a repo your team owns, Kortix is built for that, and a workflow tool keeps its definitions inside its own product.
Moving from n8n
A team rarely swaps engines in a weekend. The common path keeps the fixed schedules in n8n and moves the open-ended jobs to Kortix one at a time. A cron schedule or a signed webhook starts a session the same way it starts an n8n workflow, and the session's work lands as a change request that a person can read. The step-by-step notes are in migrate from n8n, and the wider field is in best n8n alternatives.
For the product-to-product view, see n8n vs Kortix. The developer-focused angle is in n8n alternatives for developers, and the blog has a longer write-up at Kortix vs n8n.
Questions about n8n, Windmill and Kortix
Short answers for a developer choosing between the two engines and the open-source alternative.
It is a strong fit when you prefer writing the logic as a script to assembling it as a diagram, and when you use a language beyond JavaScript and Python. It self-hosts with Docker Compose or Kubernetes, and its free tier sets no cap on executions.
For a fixed, repeatable process, keep a workflow engine where the steps stay visible, and n8n or Windmill fits. Kortix is the open-source CompanyOS for open-ended jobs, where an agent chooses its own steps and lands the result as a change request.
Yes. Kortix is open source, so you can read, fork and audit the code, and self-host is free.
Yes. Keep the scheduled and fixed workflows in n8n, and move the open-ended jobs to Kortix one at a time. A cron schedule or a signed webhook starts a session the same way it starts a workflow.
Put the open-ended work on an agent you own.
Start with one job and grow from there.
Open source · Any model, your keys · Self-host, VPC, or on-prem