aicoolies logo
Dagu logo
Dagu logo

Dagu

Single-binary workflow engine with zero dependencies

open sourceupdated Apr 22, 2026

Dagu is a local-first, self-contained workflow engine that runs as a single binary under 128MB of memory with no database, message broker, or runtime dependencies. Workflows are defined in declarative YAML and can orchestrate shell commands, Docker containers, SSH sessions, HTTP calls, and SQL queries. It includes a built-in Web UI with DAG visualization and Gantt charts, plus an AI agent that creates and debugs workflows from natural language via Slack or Telegram.

Dagu exists to solve a problem familiar to anyone managing legacy infrastructure: hundreds of cron jobs with implicit dependencies, scattered across servers, with no visibility into what ran, what failed, or what depends on what. Instead of replacing your existing scripts with a framework-specific SDK, Dagu orchestrates whatever you already have — shell commands, Python scripts, Docker containers, SSH commands, HTTP calls — in declarative YAML files without requiring any code changes. The single Go binary ships with a web UI, scheduler, and execution engine all in one, consuming under 128MB of memory. File-based storage means no PostgreSQL, Redis, or message broker to manage.

Despite its lightweight footprint, Dagu packs production-grade features: 19+ executor types including Docker, SSH, postgres, and sqlite step types; DAG composition where workflows can nest sub-workflows with parameters; a distributed mode with coordinator/worker architecture and label-based task routing for GPU, region, or compliance requirements; exponential backoff retries with lifecycle hooks for success, failure, and exit events; RBAC for team environments; Prometheus metrics and OpenTelemetry tracing; and email notifications. The web UI provides live log tailing, execution history with full lineage, and drill-down into nested sub-workflows. Git-based version management tracks changes to DAG definitions.

A recent addition is the built-in AI agent that can create, edit, and debug workflows from natural language — either through the web UI or as a persistent Workflow Operator bot on Slack and Telegram. This lets teams ask the bot to check logs, retry failed steps, or scaffold new workflows in plain English. Dagu is installable via Homebrew, npm, Docker, Helm for Kubernetes, or the guided script installer that sets up Dagu as a background service. It runs on macOS, Linux, and Windows, and is fully air-gapped ready — no internet required after installation. The name comes from DAG (Directed Acyclic Graph) and the Mandarin word for big drum.

Pricing

Free and open-source, 100% open source with no vendor lock-in

Platforms

Single Go binary, macOS/Linux/Windows, Docker, Kubernetes, Helm

Categories

Tags

Use Cases

Steel logo

Steel

Open-source browser infrastructure for AI agents at scale

Steel is an open-source browser API purpose-built for AI agents, providing managed headless browser sessions with anti-bot bypass, proxy rotation, CAPTCHA solving, and session persistence. It handles the infrastructure layer that browser automation agents like Browser Use and Stagehand run on top of. Self-hostable or available as a cloud service. Over 6,000 GitHub stars.

Open Source
Trigger.dev logo

Trigger.dev

Open-source background jobs and AI workflows for TypeScript

Trigger.dev is an open-source platform for building and deploying background jobs, AI agents, and long-running workflows in TypeScript. It eliminates serverless timeouts with durable task execution, automatic retries, queue-based concurrency control, and elastic scaling. Used by 30,000+ developers at companies like MagicSchool and Icon.com, it processes hundreds of millions of agent runs monthly. Backed by a $16M Series A led by Dalton Caldwell's Standard Capital fund.

freemiumOpen Source
Llamafile logo

Llamafile

Run LLMs as a single portable executable file

Llamafile by Mozilla packages a complete LLM — model weights, inference engine, and OpenAI-compatible API server — into a single executable file that runs on Mac, Windows, Linux, FreeBSD, and OpenBSD with no installation. Built on llama.cpp and Cosmopolitan Libc for cross-platform portability, it delivers GPU-accelerated inference when available and falls back to optimized CPU execution. Supports GGUF models with a built-in web chat UI and REST API for integration.

Open Source

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

KTransformers parent kvcache-ai logo

KTransformers

Heterogeneous CPU-GPU inference and SFT for large MoE models

Open-source framework for running and fine-tuning large Mixture-of-Experts models with heterogeneous CPU-GPU execution, optimized kernels, limited VRAM and SGLang or LLaMA-Factory integrations.

Open Source
vLLM Production Stack parent vLLM logo

vLLM Production Stack

Official Kubernetes and Helm reference stack built on the vLLM inference engine

Official vLLM reference implementation for scaling the existing inference engine on Kubernetes with Helm, request routing, KV-cache offload, autoscaling and Prometheus/Grafana observability.

Open Source
Dynamo logo

NVIDIA Dynamo

Distributed inference orchestration above vLLM, SGLang and TensorRT-LLM

Open-source, datacenter-scale orchestration layer that coordinates vLLM, SGLang and TensorRT-LLM across nodes with disaggregated serving, KV-aware routing, multi-tier cache management and automatic scaling.

Open Source
GPUStack logo

GPUStack

Open-source GPU control plane for scalable AI model serving

Open-source GPU cluster manager that configures vLLM, SGLang, TensorRT-LLM or custom engines, serves models through compatible APIs, and provisions SSH-accessible GPU instances across on-premises, Kubernetes and cloud environments.

Open Source
Mooncake logo

Mooncake

Disaggregated KV cache storage and transfer for LLM serving

Open-source infrastructure for disaggregated LLM serving that pools KV caches across prefill and decode workers, with high-performance transfer, distributed storage and integrations for vLLM and SGLang.

Open Source
LMCache logo

LMCache

Reusable KV cache infrastructure for scalable LLM inference

Open-source KV cache management layer that persists, offloads and reuses model key-value caches across requests and serving engines to reduce repeated prefill work and improve inference throughput.

Open Source

FAQ

What is Dagu?

Dagu is a local-first, self-contained workflow engine that runs as a single binary under 128MB of memory with no database, message broker, or runtime dependencies. Workflows are defined in declarative YAML and can orchestrate shell commands, Docker containers, SSH sessions, HTTP calls, and SQL queries. It includes a built-in Web UI with DAG visualization and Gantt charts, plus an AI agent that creates and debugs workflows from natural language via Slack or Telegram.

Is Dagu free?

Yes — Dagu is open source and free to use. Free and open-source, 100% open source with no vendor lock-in

Is Dagu open source?

Yes — Dagu is open source.

What are the best Dagu alternatives?

The top editor-verified Dagu alternatives are Steel, Trigger.dev, Llamafile.