AI/TLDR

Kestra

Open-source orchestration for data, AI, and infrastructure workflows defined as YAML

Workflow AutomationOpen source
Language
Java
License
Apache-2.0
$docker run --pull=always -it -p 8080:8080 --user=root \

Overview

Kestra is an open-source orchestration platform for data, AI, and infrastructure workflows. You describe each pipeline as declarative YAML, and Kestra runs it on a schedule or in response to events. It brings Infrastructure as Code practices to pipelines you would otherwise wire together by hand.

It is aimed at data engineers, platform teams, and anyone who needs to coordinate scripts, database extracts, API calls, and microservices across systems. Workflows can be built and edited in the browser through a built-in code editor, and the YAML stays in sync whether you change a flow from the UI, an API call, or your Git repository.

Within the workflow-automation and low-code space, Kestra fits teams that want a UI to build and watch workflows but still keep the orchestration logic as version-controlled code. A plugin ecosystem lets it talk to many databases, cloud stores, and APIs, and run scripts in any language.

What it does

  • Declarative YAML interface for defining workflows, kept in sync with any UI, API, or CI/CD change
  • Both scheduled and event-driven runs, configured through a simple trigger definition
  • Built-in web UI and code editor with syntax highlighting, auto-completion, and real-time validation
  • Plugin ecosystem to pull data from databases, cloud storage, and APIs, and run scripts in any language
  • Git version control integration so workflows built in the UI can be pushed to a branch
  • Workflow structure and resilience: namespaces, subflows, retries, timeouts, error handling, inputs/outputs, and conditional branching

Getting started

The fastest way to try Kestra locally is to run it with Docker, then open the UI to build your first flow.

Start Kestra with Docker

Make sure Docker is running, then start Kestra in a single command. This pulls the latest image and serves the UI on port 8080.

bashbash
docker run --pull=always -it -p 8080:8080 --user=root \
  --name kestra --restart=always \
  -v kestra_data:/app/storage \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /tmp:/tmp \
  kestra/kestra:latest server local

Open the UI

Visit http://localhost:8080 in your browser to reach the built-in code editor and workflow views.

Create your first flow

Add a flow in the editor using declarative YAML. A flow needs an id, a namespace, and a list of tasks.

yamlyaml
id: hello_world
namespace: company.team
tasks:
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: Hello, World!

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Schedule recurring data pipelines that extract from databases or cloud storage and run scripts in any language
  • Trigger workflows in real time from events such as a new file, an API call, or a message
  • Coordinate AI and data-processing steps across multiple services with retries, timeouts, and error handling
  • Manage orchestration logic as version-controlled YAML while still building and monitoring flows from a UI

How Kestra compares

Kestra alongside other open-source workflow automation tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
n8n★ 205kA self-hostable workflow automation tool with a visual node editor that connects 400+ apps and APIs and adds native AI steps, letting technical teams build automations without writing most of the glue code.
Huginn★ 50kA self-hosted system of "agents" that watch websites, feeds, and events and take automated actions on your behalf, similar to a private IFTTT.
GitHub MCP Server★ 33.1kGitHub's official MCP server, hosted or self-run, that gives an agent scoped toolsets for repositories, issues, pull requests, Actions runs and code-security alerts.
gws (Google Workspace CLI)★ 31.1kA command-line tool for every Google Workspace API, built at runtime from Google’s Discovery Service, returning structured JSON and shipping 40+ agent skills. Not an officially supported Google product.
Kestra★ 28.2kOpen-source orchestration for data, AI, and infrastructure workflows defined as YAML
Activepieces★ 24.6kAn open-source Zapier alternative where you build automations from reusable TypeScript "pieces", with support for AI agents and self-hosting.
n8n-MCP★ 23kAn MCP server that gives coding assistants structured access to n8n's node catalogue, schemas, docs and workflow templates so they can build and validate n8n workflows.
Trigger.dev★ 16.3kAn open-source TypeScript platform for durable background tasks and AI agents — no timeouts, with retries, queues, waitpoints for human approval, realtime streaming and per-run tracing.