Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 4, 2026·3 min de lecture

Dagu — Local-First DAG Workflow Engine with Web UI

A self-contained workflow engine that lets you define DAG-based pipelines in YAML and manage them through a clean web interface, with no database required.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Dagu Overview
Commande d'installation directe
npx -y tokrepo@latest install 1e6c02a5-77a2-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

Dagu is a lightweight, local-first workflow engine that uses directed acyclic graphs (DAGs) defined in YAML to orchestrate tasks. It provides a built-in web UI for managing, monitoring, and debugging workflows without requiring an external database or message broker — making it ideal for small teams and individual developers who need cron-like automation with visibility.

What Dagu Does

  • Executes multi-step workflows defined as DAGs in declarative YAML files
  • Provides a web-based dashboard for scheduling, monitoring, and manual triggering
  • Handles step dependencies, retries, conditional execution, and parallel steps
  • Sends notifications on success or failure via email, Slack, or webhook
  • Logs execution history with stdout/stderr capture for each step

Architecture Overview

Dagu is a single Go binary with no external dependencies. It reads DAG definitions from a local directory, schedules them based on cron expressions, and executes steps as subprocesses. Execution state and history are stored as local JSON files, eliminating the need for a database. The embedded web server provides the management UI using server-rendered HTML.

Self-Hosting & Configuration

  • Single binary deployment with no database, Redis, or message queue required
  • DAG definitions are YAML files stored in a configurable directory
  • Schedule workflows using standard cron expressions within the YAML
  • Configure global settings via a single config file or environment variables
  • Runs on Linux, macOS, and in Docker containers

Key Features

  • Zero-dependency single binary with embedded web UI
  • YAML-based DAG definitions with step dependencies and parallelism
  • Built-in scheduler with cron expression support
  • Execution history with log viewing and manual retry from the UI
  • Parameterized workflows with environment variable passing between steps

Comparison with Similar Tools

  • Apache Airflow — Python-based with heavy infrastructure needs; Dagu is a single binary
  • Cron — no dependency graph or UI; Dagu adds DAG execution and a dashboard
  • Temporal — distributed workflow platform; Dagu targets local-first simplicity
  • n8n — visual node-based automation; Dagu uses code-first YAML definitions

FAQ

Q: Does Dagu require a database? A: No. Dagu stores all state as local files. No PostgreSQL, MySQL, or Redis needed.

Q: Can Dagu run Docker containers as steps? A: Yes. Steps can execute any command, including docker run, making it easy to run containerized tasks.

Q: How does it handle failures? A: You can configure per-step retry policies, and the UI lets you manually retry failed steps or restart entire DAGs from a specific point.

Q: Is there an API for programmatic access? A: Yes. Dagu exposes a REST API for triggering, stopping, and querying workflow status.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires