Docs

Dagy Documentation

Product docs, SDK references, API guides, architecture notes, and deployment runbooks, all accessible from the exported site.

Dagy provides a code-first SDK with @flow and @task decorators, a visual drag-and-drop DAG builder, three execution backends (Lambda, Step Functions, ECS Fargate), enterprise features (RBAC, audit logging, secrets management), and a complete SaaS billing stack.

Quick Navigation

Getting Started

Core Concepts

CLI Reference

SDK Reference

REST API

Architecture

Guides

Configuration

Operations

Troubleshooting

Contributing

Platform Capabilities

Dagy supports the full lifecycle of data pipeline development:

Define pipelines using Python decorators (@flow, @task), the FlowNode base class for custom nodes, or the visual DAG builder with 27 node types across 7 categories (including control flow). Nodes declare typed connectors that enforce data compatibility at connection time.

Execute on three backends: AWS Lambda for short tasks, Step Functions for parallel orchestration, and ECS Fargate for resource-intensive workloads. The BackendRouter automatically selects the optimal backend based on duration, memory, and complexity rules.

Schedule with cron expressions, fixed intervals, one-time execution, or manual triggers. Timezone-aware scheduling with configurable catchup policies.

Monitor with built-in health checks (component-level: database, S3, SQS), audit logging on all mutations, notification channels (Slack, email, webhook, PagerDuty), and alert rules for failure, success, SLA breach, and retry events.

Secure with 4-role RBAC (owner, admin, developer, viewer) covering 22 granular permissions, Fernet-encrypted secrets management, and API key authentication with scoped access.

Bill with usage metering (run count, compute seconds, API calls), plan-based quotas (free, pro, enterprise), and Stripe integration for checkout, subscriptions, and customer portal.

Architecture at a Glance

                    ┌─────────────┐
                    │  Next.js UI │
                    │  (Clerk Auth)│
                    └──────┬──────┘
                           │
                    ┌──────▼──────┐
                    │  FastAPI    │
                    │  (Lambda)   │
                    └──┬───┬───┬──┘
                       │   │   │
              ┌────────┘   │   └────────┐
              ▼            ▼            ▼
        ┌──────────┐ ┌──────────┐ ┌──────────┐
        │  Lambda  │ │   Step   │ │   ECS    │
        │ Backend  │ │Functions │ │ Fargate  │
        └──────────┘ └──────────┘ └──────────┘
              │            │            │
              └────────┐   │   ┌────────┘
                       ▼   ▼   ▼
                    ┌──────────────┐
                    │  Database    │
                    │  (21 tables) │
                    └──────────────┘
                    ┌──────────────┐
                    │  S3 Artifacts│
                    └──────────────┘
                    ┌──────────────┐
                    │  SQS Events  │
                    └──────────────┘

Support

For issues and feature requests, please use the GitHub issue tracker. For questions about the SDK, API, or deployment, refer to the relevant documentation section above or the Troubleshooting Guide.

Browse by Section

Troubleshooting