Dagu Workflow Orchestrator

Add scheduling, retries, approvals, and visibility to existing scripts, containers, and agent jobs with self-hosted YAML workflows.

Source repo
dagucloud/dagu
Stars
★ 4.7k
Last updated
today helm-dagu-2.0.11
FARS reviewed
Nov 08, 2026 +8 new
License
GPL-3.0
Primary language
Go

At a glance

How it runs
CLISelf-hosted serviceMCP server
Works with
Universal · cross-platformCodex · Claude Code · Claude API
Cost
Free tier plus a paid hosted plan
Setup effort
Low · running in minutes
You'll need
Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A data team with extraction scripts, SQL, dbt commands, and loaders can connect them into observable ETL pipelines with dependencies, retries, and durable run history.
Not a fit if
  • Teams needing SSO, RBAC, and audit logging out of the box
  • Teams unwilling to own backups, shared storage, and capacity planning
  • Teams embedding Dagu in a product under GPL-3.0 terms
Website
dagu.sh ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release helm-dagu-2.0.11 (2026-12-01)+9.0 ★/day over 7 days
Source review
65/100 · Some gaps

What does this agent do, and when should you use it?

Dagu is a local-first workflow engine for operations automation and AI-assisted work, aimed at teams that do not want orchestration to become a platform of its own. Declarative YAML DAGs can run shell scripts, Docker containers, Kubernetes Jobs, SSH commands, SQL, HTTP requests, sub-workflows, and external coding-agent CLIs. One binary bundles the Web UI, HTTP API, scheduler, executor, and MCP server, while run state, queues, logs, and history use local files instead of an external database or message broker. Workflows gain dependencies, schedules, retries, concurrency controls, human approvals, secret masking, notifications, artifacts, and Prometheus metrics. It runs on Linux, macOS, and Windows as a standalone process or scales through a gRPC coordinator and labeled worker fleet across on-premises, air-gapped, edge, or cloud environments. Buyers should account for licensed governance features and for the provider credentials or external CLIs required by model-controlled and coding-agent steps.

Dagu reads a YAML DAG containing parameters, steps, dependencies, schedules, retry policies, approvals, lifecycle handlers, and execution placement, then creates runs through dagu start or the scheduler. A step can execute an existing command through run: or invoke structured actions such as docker.run, kubernetes.run, ssh.run, http.request, database, S3, file, artifact, state, and dag.run operations. harness.run launches external coding-agent CLIs including Codex, Claude Code, Gemini CLI, Pi, and OpenCode; a type: controller workflow instead lets a configured model choose actions and uses tasks as completion criteria. Each run records status, history, per-step stdout and stderr, and arbitrary file artifacts that operators can inspect, retry, stop, or approve in the Web UI. The built-in /mcp endpoint exposes dagu_read, dagu_change, and dagu_execute so compatible clients can inspect state and Wiki pages, preview or apply edits, and start, enqueue, retry, or stop runs. In distributed mode, the scheduler writes to a file-backed queue, the coordinator dispatches over gRPC, and workers pull tasks by label before returning status and streamed logs.

  1. A data team with extraction scripts, SQL, dbt commands, and loaders can connect them into observable ETL pipelines with dependencies, retries, and durable run history.
  2. A platform team replacing intertwined cron and Bash jobs can add schedules, concurrency controls, logs, failure notifications, and approvals without rewriting the scripts into a framework.
  3. Operators managing private or air-gapped servers can run diagnostics, deployments, health checks, and restarts over SSH while retaining results in a self-hosted control plane.
  4. Media and infrastructure teams can execute FFmpeg jobs, Docker containers, or Kubernetes Jobs in parallel and add distributed workers when one host is insufficient.
  5. An internal-tools team can expose approved diagnostics or repair procedures to support staff through typed Web UI parameters, role controls, and human tasks.
  6. A team running scheduled code reviews or AI-assisted operations can call a coding agent with harness.run, save its report as an artifact, and require human approval before publishing or changing anything.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.sh | bash
  • brew install dagu
  • npm install -g --ignore-scripts=false @dagucloud/dagu
  • irm https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.ps1 | iex
Environment variables
ANTHROPIC_API_KEY
Config files
~/.dagu hello.yaml
Install notes cover
Windows · macOS · Linux · Docker

How do you install or deploy this agent?

On macOS or Linux, run curl -fsSL https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.sh | bash. Alternatives are brew install dagu or, where npm is installed, npm install -g --ignore-scripts=false @dagucloud/dagu. On Windows PowerShell, run irm https://raw.githubusercontent.com/dagucloud/dagu/main/scripts/installer.ps1 | iex. A Docker deployment is docker run --rm -v ~/.dagu:/var/lib/dagu -p 8080:8080 ghcr.io/dagucloud/dagu:latest dagu start-all. For Helm, run helm repo add dagu https://dagucloud.github.io/dagu, helm repo update, and helm install dagu dagu/dagu --set persistence.storageClass=<your-rwx-storage-class>; the selected StorageClass must support ReadWriteMany. Script installers can configure PATH, a background service, and the initial administrator. A basic local CLI workflow needs no model credential, while controller or harness workflows require the selected provider or CLI to be installed and authenticated—for example, an Anthropic controller uses ANTHROPIC_API_KEY.

How do you use this agent?

Create hello.yaml with steps:\n - id: hello\n run: echo "hello from Dagu", then execute dagu start hello.yaml. To launch the Web UI and scheduling services, run dagu start-all --dags . and visit http://localhost:8080. The running HTTP server also exposes the Streamable HTTP MCP endpoint at http://localhost:8080/mcp for compatible chat and coding clients. Production YAML can add schedule, depends, retry_policy, approval, secrets, and handler_on; use dagu validate <dag> or dagu dry <dag> before execution. Operational commands include dagu status <dag>, dagu history <dag>, dagu retry --run-id=<run-id> <dag>, dagu stop <dag>, and dagu enqueue <dag>.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • A single cross-platform binary includes the UI, scheduler, and executor and stores state in files, avoiding PostgreSQL, Redis, a message broker, and a Python runtime for the basic standalone deployment.
  • Workflow structure stays in YAML, so existing scripts do not import a Dagu SDK and remain independently runnable if the YAML is removed.
  • The execution surface spans local commands, Docker, Kubernetes, SSH, HTTP, SQL, S3, sub-DAGs, human tasks, and several external coding-agent CLIs.
  • Web UI, CLI, HTTP API, built-in MCP, artifacts, per-step logs, and Prometheus metrics support both operator-driven and automated control.
  • The same engine can grow from one machine to label-routed coordinator/worker execution, with queues, resource limits, overlap policies, catch-up scheduling, and zombie detection.
Limitations
  • File-backed state and queues leave persistence, backups, shared storage, and host capacity planning to the operator; throughput depends on CPU, memory, disk, and workflow shape.
  • Incremental result reuse in build workflows currently runs locally and cannot directly use distributed workers.
  • SSO, RBAC, audit logging, and incident SaaS integration are licensed self-host additions, so the community deployment does not include every team-governance feature.
  • AI controllers require network access and credentials for the selected model provider, while harness.run requires the corresponding coding-agent CLI to be separately installed and authenticated.
  • Distributed operation adds coordinator, gRPC, worker routing, and peer-TLS configuration; the Helm deployment also requires a ReadWriteMany-capable StorageClass.
  • GPL-3.0 requires licensing review before embedding Dagu in another product, and the embedded Go API is explicitly experimental and may change.

How does this agent compare with similar options?

Compared with cron, Dagu adds dependency graphs, retries, history, logs, approvals, and a Web UI. Compared with Airflow, it avoids operating a scheduler, metadata database, worker stack, and Python environment, and does not require rewriting jobs as @dag or @task framework code. Compared with Temporal, Dagu keeps order, dependencies, retries, and schedules in YAML while existing business scripts remain outside a dedicated SDK and programming model; its central abstraction is therefore orchestration around external work rather than moving application logic into a workflow SDK.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Dagu Workflow Orchestrator This agent 65 · Some gaps CLIFreemium ★ 4.7k today Go Codex · Claude Code · Claude API
Agentspan 60 · Some gaps CLIFree + model costs ★ 497 2mo ago TypeScript OpenAI API · Claude API
Conductor Workflow Engine 61 · Some gaps CLIFree + model costs ★ 33k today Java Claude Code · OpenAI API · Claude API
Trigger.dev 78 · Good Library / SDKFreemium ★ 17k today TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
65/ 100 5-point scale 3.3 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 8 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 12/29
Reliability 8/14
Adaptability 15/18
Convention 13/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The README explicitly describes running shell, SSH, Docker, and Kubernetes workloads; privileges therefore depend on the deployment account and workflow. It warns that mounting the Docker socket gives workflows control of the host daemon, so least privilege and control of external effects are only partly covered. Installer wizards create an admin account, and an example includes dry-run, but the sample does not show general per-action confirmation or rollback. The Console's outbound HTTPS, metadata scope, and exclusion of logs/secrets are described concretely. Built-in secret management and log masking are asserted, but the sample is too thin to verify implementation. go.mod pins many dependency versions; this packet shows no vulnerability audit or mitigation. The README, source copyright headers, and LICENSE support product attribution and license identification, while publisher identity remains unknown.

Reliability8 / 14 · 2.9/5

The README, AGENTS.md, and CLI source are broadly consistent about a single binary, file storage, and the CLI/server/scheduler/coordinator/worker architecture; the throughput claim is qualified by resource and workload shape. File storage reduces external service dependencies, but installation still relies on network distribution, and some workflows depend on Docker, Kubernetes, SSH, or external tools. The certificate proxy gives specific errors for configuration decoding, version mismatch, and listener failures. The CLI root command, however, exits with code 1 on error without showing an error message in this source, so diagnosability is not comprehensive.

Adaptability15 / 18 · 4.2/5

The README names audiences and scenarios including internal automation, ETL, legacy scripts, media, infrastructure, support, and IoT, and distinguishes single-server, temporary-worker, and distributed deployments. YAML steps, schedules, retries, human tasks, and several executor types show broad capability; permission boundaries, limitations, and trigger semantics are only partly specified in this sample. Linux, macOS, Windows, Docker, Helm, edge, and air-gapped environments are explicitly discussed, though detailed compatibility requirements are not included here.

Convention13 / 18 · 3.6/5

The README has clear sections for installation, quick start, deployment models, and examples. It explicitly notes Docker socket access and Helm's RWX storage requirement, but script installation pipes downloaded content into a shell and operational details for several install methods point to external documentation. Dagu/DAG terminology is understandable and generally stable; some product capabilities and the commercial-edition boundary require external pages. Examples are extensive, but no full FAQ is shown. Known limitations include beta monitoring, local-only Build workflows, and Console tier limits, though coverage is partial. GPL-3.0 is identified and the license text is present; this sample contains no changelog. SECURITY.md identifies supported versions, a private reporting channel, and response targets, giving some maintenance accountability, while publisher identity remains unverified.

Effectiveness12 / 13 · 4.6/5

Runnable YAML and CLI examples, together with UI, logs, history, retries, and scheduling, show clear value in making existing scripts observable and coordinated. A single binary without a database or broker lowers ordinary deployment cost; distributed operation, Console monitoring, containers, and multi-cloud secret integrations add configuration and operational complexity, so the cost-benefit depends on the use case.

Verifiability5 / 8 · 3.1/5

The README's architecture and usage claims are corroborated in part by the AGENTS.md repository map, runtime flow, and CLI command list; go.mod and certificate-proxy source provide limited evidence about dependencies and error handling. Many claims about security, throughput, and secret handling come primarily from the README and were not executed or independently checked. Documentation generally distinguishes examples, limitations, and performance qualifications, but this sample does not provide reviewable evidence for every promotional claim.

Risks and how to mitigate them
  • Workflows can run commands and access resources available to the deployment environment. Restrict the service account and network/file permissions, especially for Docker sockets, SSH credentials, and Kubernetes access.
  • Security, performance, and secret-masking claims in the README were not independently verified from this static sample. Before deployment, review the target version's security settings, backup and recovery procedures, and dependency advisories.
  • The installer scripts download and execute content from the network; review the scripts and pin a trusted version before production use.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 42b0bc8f0fde New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/dagu.svg)](https://followagents.com/en/agents/dagu)
<a href="https://followagents.com/en/agents/dagu"><img src="https://followagents.com/badge/dagu.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. helm-dagu-2.0.11
    Release notes excerpt
    Helm chart release for Dagu. This GitHub release publishes the packaged dagu Helm chart for the Helm repository at https://dagucloud.github.io/dagu. It is not a Dagu application binary release. Install the chart with: ```bash helm repo add dagu https://dagucloud.github.io/dagu helm repo update helm upgrade --install dagu dagu/dagu \ --namespace dagu \ --create-namespace \ --wait ``` The default standalone mode uses ReadWriteOnce access with the cluster's default StorageClass. Distributed installations can opt into separate workers and ReadWriteMany storage. …
    View on GitHub ↗
  2. v2.28.1
    Release notes excerpt
    Summary This release improves workflow testing with dagu test and dagu validate and makes run cancellation and service runs more reliable. - dagu test --init now writes default_mock: {} into the new test file, along with a mock for each step the default mock cannot handle. The dagu agent skill now routes workflow test tasks to this flow. …
    View on GitHub ↗
  3. v2.28.0
    Release notes excerpt
    Summary Dagu v2.28.0 adds workflow tests, node inventories with node targeting, and invite-based worker enrollment over built-in peer TLS, along with new actions and Web UI improvements. - Workflow tests: The new dagu test command runs a DAG's test files with step mocks and assertions, including called_with. It also has --init, --update, and a JUnit XML report, and dagu schema test prints the JSON Schema for test files. …
    View on GitHub ↗

FAQ

Is a paid license required for basic self-hosting?
No license key is required for community self-hosting. SSO, RBAC, audit logging, and incident SaaS integration are additions provided by the self-host license.
Does Dagu require a cloud service or external database?
The base engine needs neither an external database nor a message broker; it can keep state, logs, and queues in local files and run in air-gapped environments. Individual steps that contact APIs, registries, Git services, MCP clients, or model providers may still require networking.
How can a team restrict who edits or runs workflows?
The builtin authentication mode defines admin, manager, developer, operator, and viewer roles, and API keys can receive independent roles. Availability of OIDC/SSO, RBAC, and auditing also depends on the licensing configuration.
What happens when a job fails or the scheduler is offline?
Per-step retries, exit-code filtering, failure handlers, and notifications are configurable. Overlap policies can skip, queue all, or retain only the latest run; a catch-up window handles missed schedules, and zombie detection identifies stalled runs.
Are AI workflows locked to one model provider?
No. Dagu documents MCP access for multiple clients, harness.run support for several coding-agent CLIs, and controller model arrays with failover. Each provider or CLI still has its own installation, credentials, and model-availability requirements.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts