Infrastructure & Operations · Orchestration & Scheduling
Dagu
A file-based workflow engine for scripts, containers, and operations
Dagu is a self-hosted workflow engine for teams turning scripts, cron jobs, containers, and runbooks into observable YAML workflows. Its GPLv3 community edition is free, while paid self-host licenses add SSO, RBAC, audit logs, and incident routing. Dagu Console offers optional hosted monitoring, while workflow execution remains on infrastructure the operator controls.
Key facts
- License
- GPL-3.0
- Main language
- Go
- Maintainer
- Dagu community and Descarty, Inc.
- First released
- 2022
- Latest release
- v2.21.0, October 18, 2026
- GitHub stars
- 4,418, October 2026
- Hosted option
- Dagu Console for optional monitoring; Team from $50/month
What Dagu is
Dagu is a local-first workflow engine for operations and internal automation. Yota Hamada began developing it in 2022 after confronting hundreds of scattered cron jobs and difficult orchestration choices at work. The repository was created on April 22, 2022, and the project describes itself as an alternative to Airflow, cron, and job schedulers. The observed repository record lists 4,418 GitHub stars, 384 forks, and 120 open issues. Its largest listed contributor is yohamta0, with 2,936 contributions, followed by dependabot and several smaller contributors. Dagu targets teams that need dependencies, retries, schedules, logs, and run history without adopting a larger platform. Its local-first positioning also suits on-premises, edge, cloud, and air-gapped installations where workflows and credentials stay under operator control.
How it works
Dagu places workflow structure in declarative YAML while leaving business logic in existing scripts and tools. A workflow can define shell commands, dependencies, parameters, schedules, retries, timeouts, overlap policies, catch-up windows, and lifecycle handlers. Steps can run Docker containers, Kubernetes Jobs, SQL queries, HTTP requests, remote SSH commands, and sub-DAGs. A typical path is to install the binary, write a YAML file, run it through the CLI, then start the server and inspect executions through the bundled Web UI. Dagu records run history, step logs, retries, notifications, and human-task responses. It also supports parallel execution, concurrency limits, reusable actions, typed input forms, secret masking, webhook triggers, and workflow validation. Existing scripts do not need to import an orchestration framework, which keeps the boundary between automation logic and workflow control clear.
Architecture and recent releases
Dagu is primarily written in Go and ships as one binary containing the server, scheduler, coordinator, executor, REST API, and Web UI. Its default storage uses local files, so a single deployment does not require a database, message broker, Redis service, or object store. The server runs on Linux, macOS, and Windows. Workers can execute locally, on persistent distributed hosts, or through temporary Cloud Run, Kubernetes, or CI jobs. Distributed workers communicate with the coordinator over gRPC. The latest application release observed is v2.21.0, released October 18, 2026. That release added ClickHouse queries, per-run worker selection, shared-volume DAG updates, browser execution changes, and worker waiting for scaled-to-zero capacity. The project remains active through this recent application release.
License and pricing
Dagu's core is licensed under GPL-3.0, and the community self-hosted edition is free without a license key. GPLv3 permits commercial use and distribution subject to its copyleft obligations. The public licensing notes distinguish running the CLI or server as a separate program from embedding Dagu's Go API inside a proprietary distributed application, which requires a separate commercial agreement. Paid self-host licenses add OIDC SSO, RBAC, audit logging, incident routing, and expanded Console capabilities. Team costs $50 per month or $500 per year for three server licenses. Pro costs $150 per month or $1,500 per year for 15 licenses. Enterprise pricing is custom. Workers are not licensed separately, and one community server can use Dagu Console monitoring at no charge.
Limitations and how it compares
Dagu's main limitation is operational scope: file-based storage is convenient for smaller deployments, while teams wanting a database-backed control plane or a mature Python data platform may prefer Airflow. Cron remains smaller for isolated commands, while Temporal uses a different durable-execution model centered on application code and SDKs. Dagu also places SSO, RBAC, audit logs, and incident routing in paid plans, and Docker steps require deliberate daemon access when Dagu runs inside a container. Choose Dagu when existing scripts, YAML configuration, local data, offline operation, and a low-service deployment matter more than a broad orchestration platform. It is intended for operations teams, internal automation groups, and developers managing scheduled jobs without a large supporting stack.
Main features
- Declarative YAML DAGs. Define dependencies, commands, parameters, schedules, retries, timeouts, overlap policies, and handlers in versionable YAML files.
- Built-in Web UI. Inspect workflow graphs, live status, step logs, run history, approvals, schedules, and failures through the bundled interface.
- Multiple Executors. Run shell commands, Docker containers, Kubernetes Jobs, SQL, HTTP requests, SSH commands, and reusable Dagu Actions.
- Distributed Workers. Route workflow runs to labeled workers over gRPC, including persistent hosts and temporary execution capacity.
- Human Tasks. Pause workflows for acknowledgements or typed operator input, then expose responses to downstream steps as part of the documented application workflow.
- File-Based Storage. Store workflow state, logs, queues, and artifacts on disk without requiring an external database or message broker.
- MCP Server. Authenticated MCP clients can inspect workflows and runs, maintain Wiki pages, apply changes, and control executions.
Self-hosting Dagu
Dagu supports shell installers, Homebrew, npm, Docker, Helm, and downloadable binaries. A basic deployment needs the Dagu binary or container plus persistent local storage, not PostgreSQL, Redis, a message broker, or object storage. Docker deployments mount the Dagu data directory, while Helm deployments can use a cluster StorageClass, with ReadWriteMany recommended for distributed installations. The server, scheduler, coordinator, and executor can run together through dagu start-all, or workers can run separately. Persist the data directory for logs, state, DAGs, queues, and server identity. Distributed workers communicate over gRPC, while temporary workers use shared storage for run state. Back up persistent files before upgrades and review release notes for configuration changes.
Strengths
- A single binary provides scheduling, execution, logs, retries, and a Web UI.
- File-based storage avoids mandatory PostgreSQL, Redis, and message-broker operations.
- Existing shell scripts can become workflows without importing an orchestration framework.
- The community edition supports offline, on-premises, and air-gapped environments.
Drawbacks
- Distributed deployments require shared storage or coordinator and worker configuration.
- Docker workflow steps need deliberate daemon access when Dagu runs inside Docker.
- SSO, RBAC, audit logs, and incident routing require paid licenses.
What teams replace with it
Teams usually evaluate Dagu when they want to move off Apache Airflow, Cron, JP1.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is Dagu free to use?
Yes. The community self-hosted edition is free under GPLv3 and includes workflow orchestration, the Web UI, workers, Docker actions, scheduling, retries, notification routing, and monitoring for one server through Dagu Console. Paid licenses are optional and add controls such as OIDC SSO, RBAC, audit logging, incident routing, and broader Console capabilities.
Can companies use Dagu commercially?
GPLv3 permits commercial use, including running Dagu internally and selling services, offered distribution follows the license obligations. The public license does not grant rights to embed Dagu's Go API inside a proprietary distributed application. That use requires a separate written commercial embedding agreement. Paid self-host licenses add product features and do not replace GPL obligations for community code.
What does Dagu require for self-hosting?
A basic deployment requires the Dagu binary or container and persistent file storage. Dagu does not require PostgreSQL, Redis, a message broker, or object storage for core operation. Installers support Linux, macOS, and Windows, while Docker and Helm support container and cluster deployments. Distributed workers use gRPC, and shared storage matters when multiple hosts manage common DAG files.
How does Dagu compare with Airflow?
Dagu uses YAML around existing scripts and ships as a single binary without an external database or broker. Airflow uses Python-defined workflows and a larger platform involving a scheduler, metadata database, workers, and a Python environment. Dagu fits internal automation, legacy scripts, edge systems, and smaller operational teams. Airflow fits teams centered on Python data pipelines and a broader data platform.
Does Dagu send workflow data to a cloud service?
Dagu runs workflows and stores operational data on infrastructure the operator controls, including offline and air-gapped installations. Dagu Console monitoring is opt-in and sends metadata such as status, timing, and failed step names over outbound HTTPS. Logs, outputs, parameters, and secrets are not sent for monitoring. Public webhook and remote MCP features require separate Console configuration.
Similar projects to compare
- TemporalMITTemporal is an open-source durable execution platform for long-running, failure-sensitive applications. Its server and core features use the MIT license, while Temporal Cloud provides hosted operation from $50 per million actions, with $150 in credits for 90 days and paid business plans. Teams can also deploy the server themselves.
- PrefectApache-2.0Prefect is an Apache-2.0 workflow orchestration framework for Python teams building data, machine learning, and agent workflows. It runs with self-hosted Server or Prefect Cloud, whose plans range from free Hobby access to custom Enterprise pricing. The project remains active, with version 3.9.0 released on October 21, 2026.
- KestraApache-2.0Kestra is an Apache-2.0 workflow orchestration platform for scheduled and event-driven data, AI, infrastructure, and business automation. It uses YAML flows, a visual editor, language-agnostic tasks, and a large plugin catalog. The open-source edition is free to run yourself; Kestra Cloud and Enterprise Edition are commercial offerings priced through usage or sales contact.
- 1PanelGPL-3.01Panel is an open-source Linux server management panel for administrators running websites, databases, containers, virtual machines, and AI services. Fit2Cloud maintains the project through 1Panel-dev under GPL-3.0. The OSS edition is free forever. There is no official hosted control-plane service, while Pro costs $80 yearly or $200 for a perpetual V2 license.
- BacalhauApache-2.0Bacalhau is an open source distributed compute orchestration framework for running Docker and WebAssembly workloads near data across edge, on premises, and cloud environments. It uses an Apache-2.0 license, offers a free public demo network, and has separate commercial support from Expanso. Its latest observed release is v1.9.5, dated October 12, 2026.
- HatchetMITHatchet is an MIT licensed orchestration engine for background tasks, AI agents, queues, and durable workflows. It supports Python, TypeScript, Go, and Ruby applications, with self hosting and Hatchet Cloud. Cloud includes one million monthly runs and events, then charges $30 per million runs and $5 per million events.
Sources
- Dagu GitHub repository
- Dagu release history
- Dagu pricing
- Dagu quickstart
- Dagu license comparison
- Dagu GPL license
Last updated 2026-10-22.