windmill-labs/windmill
PostgreSQL-backed orchestration for code-first workflows, apps, and AI agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Windmill separates API handling from execution. Stateless Rust API servers and standard workers share PostgreSQL, which holds both workspace state and the job queue. Workers pull jobs by tag, so development and production worker groups can sit in different networks. Remote agent workers use the API servers instead of connecting directly to PostgreSQL. The UI uses Svelte 5, and workflow tasks run as separate jobs with their own logs.
The runtime is selected per script: Bun is the default for JavaScript and TypeScript, Python uses uv for dependencies, and Deno and PHP require the windmill-full image. nsjail provides filesystem and resource isolation, while PID namespace isolation is enabled by default. Integrations use typed workspace resources. CLI and Git sync handle local development and promotion workflows, while MCP lets clients run scripts, manage resources, and monitor jobs.
Key Capabilities & Differentiators
Typed script functions can become generated forms, HTTP endpoints, and CLI commands without separate implementations. Developers can compose tasks in code or use the visual flow editor; waiting for human approval releases the worker rather than occupying an execution slot. Schedules, webhooks, HTTP routes, Kafka, WebSockets, and email can trigger runs. Teams can also build React or Svelte apps on top of scripts and flows.
AI sessions produce ordinary scripts, flows, and apps in a workspace fork, with a live preview and a diff for review. Folder permissions can scope resources, skills, and MCP servers; protection rulesets can block direct deployment. For data workloads, workspace PostgreSQL tables are available without handing scripts a connection string, DuckDB can query files in S3 or Azure Blob, and DuckLake stores tables in workspace object storage. Data-driven pipelines are still alpha.
Trade-offs & Limitations
Windmill is a better fit than a connector-first SaaS when scripts are long-lived software assets that need Git review, environment promotion, and controlled access to private services. Against n8n Cloud or Zapier AI, the trade is more control over code and placement for more responsibility over PostgreSQL, worker images, permissions, and networking. For teams evaluating Airflow or Prefect, a stronger reason to shortlist Windmill than a benchmark ranking is its ability to expose the same workflows through forms, APIs, and internal apps.
Reported queue pickup, startup, and result writeback add roughly 50 ms, while a lightweight Deno job is reported at around 100 ms total. Neither figure establishes tail latency for your workload or characterizes the default Bun runtime. PostgreSQL is both the execution queue and the workspace store, so measure queue delay and database load together under peak concurrency. The open-source distribution is identified as AGPLv3, with commercial licensing available; verify terms and edition requirements for the components you intend to ship.
Hardware & Deployment Guide
Docker Compose is the direct self-hosting path: provision docker-compose.yml, Caddyfile, and .env, then run docker compose up -d. Change the default admin password before exposing the instance. For managed PostgreSQL, set DATABASE_URL and set the bundled database service's replica count to zero. Helm is available for Kubernetes. An initial sizing heuristic is 1 vCPU and 1–2 GB RAM per worker, to be validated against actual runtimes, dependencies, and concurrency.
For the bundled PostgreSQL 16-to-18 upgrade, the existing data volume cannot simply be reused. A dump-based migration must preserve the whole cluster with pg_dumpall: a single-database dump omits sibling databases used by data tables, DuckLake, and workspace forks, as well as cluster roles used by row-level security. Recent releases added run-card previews and downloads for result images and files in v1.896.0, image results for MCP clients in v1.895.0, and reconnection for stalled GCP pull triggers in v1.895.1.
Engineering-led teams that want to turn Python or TypeScript scripts into internal tools, scheduled workflows, or AI-assisted automations while retaining Git review and control over where jobs run.
You mainly need turnkey SaaS connectors, cannot take on PostgreSQL and worker operations, or require the alpha data-driven pipeline feature to be production-ready today.
Quick Start & Installation
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/docker-compose.yml -o docker-compose.yml curl https://raw.githubusercontent.com/windmill-labs/windmill/main/Caddyfile -o Caddyfile curl https://raw.githubusercontent.com/windmill-labs/windmill/main/.env -o .env docker compose up -d
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| windmill ★ | 19k | +236 | Rust | — | PostgreSQL-backed orchestration for code-first workflows, apps, and AI agents |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
| activepieces | 25.9k | +104 | TypeScript | — | Self-hosted TypeScript automation with visual workflows and reusable MCP tools |
| cua | 34.1k | +973 | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/windmill-labs/windmill.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about windmill
How do I run a script next to a private service?
How should I size workers, and do AI jobs require a GPU?
What should we verify before offering a self-hosted instance to users?
When is Windmill a better fit than n8n Cloud or Zapier AI?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy