# AI use cases for Kestra (kestra-io/kestra)

Repo: [kestra-io/kestra](https://github.com/kestra-io/kestra) | Use cases: 3 | Page: https://dedupedai.com/use-cases/kestra-io-kestra/

Kestra is an open-source, event-driven orchestration platform for data, AI and infrastructure workflows. Flows are declarative YAML that you can also edit in a No-Code editor or with an AI Copilot, all kept in sync and versioned in Git. It runs scheduled and event-driven triggers, hundreds of plugins and scripts in any language, AI Agents and RAG workflows as task types, and a built-in MCP server that exposes flows as tools.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Run Kestra locally and build your first workflow: https://dedupedai.com/use-cases/kestra-io-kestra/run-kestra-locally-and-build-a-first-flow/
- Expose your workflows to AI agents over MCP: https://dedupedai.com/use-cases/kestra-io-kestra/expose-kestra-flows-to-ai-agents/
- Build and edit workflows with Kestra's AI Copilot: https://dedupedai.com/use-cases/kestra-io-kestra/build-workflows-with-the-ai-copilot/

## How to run Kestra locally and build your first workflow with Kestra

Repo: [kestra-io/kestra](https://github.com/kestra-io/kestra) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Start Kestra in Docker with one command and run a Hello World flow from the UI.

**Who it is for:** An engineer evaluating orchestration tools who wants to see Kestra working in minutes.

**The problem:** Setting up an orchestrator usually means a cluster and a database before the first job runs.

**The outcome:** Kestra running at localhost:8080 with a first flow executed and its logs visible in the UI.

### Steps

1. Make sure Docker is running
2. Run the README's docker run command for your shell, which ends with `kestra/kestra:latest-slim server local`
3. Open the Kestra UI at http://localhost:8080
4. Create a flow with id hello_world, namespace dev and a Log task with message Hello, World!
5. Run it and check the output in the UI

### Prompt to paste into your agent

```text
Start kestra-io/kestra locally with the README's Docker command, open the UI, and create and run a hello_world flow in the dev namespace. Then extend it with a task that <next step> and run it again.
```

### Caveat

The slim image fetches plugins from Maven Central on first use, so the first run of a new task type needs internet access.

Risk, system-change: The quick start runs the container as root and mounts the Docker socket, which gives Kestra control of your Docker host; fine for a laptop trial, not for shared machines.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/kestra-io-kestra/run-kestra-locally-and-build-a-first-flow/

## How to expose your workflows to AI agents over MCP with Kestra

Repo: [kestra-io/kestra](https://github.com/kestra-io/kestra) | Difficulty: Intermediate | Time: 45 minutes | Basis: From the README

Use Kestra's built-in MCP server and MCP Tool Trigger so coding assistants and agents can run your flows.

**Who it is for:** A data team that wants Claude or Cursor to trigger existing pipelines without direct database access.

**The problem:** Agents that need to run a pipeline usually get raw credentials or a one-off script with no audit trail.

**The outcome:** Kestra flows callable as tools from any MCP client, with each run tracked as a normal execution.

### Steps

1. Run Kestra and build the flows you want agents to call
2. Enable the built-in MCP server following the MCP server docs
3. Use the MCP Tool Trigger to make specific flows callable as tools
4. Add the Kestra Agent Skills to your coding assistant
5. Watch the resulting executions, inputs and outputs in the Kestra UI

### Prompt to paste into your agent

```text
Expose my kestra-io/kestra flow <flow id> to <MCP client> using Kestra's MCP server and the MCP Tool Trigger, then call it from the client with inputs <inputs> and show me the execution in the Kestra UI.
```

### Caveat

These AI features arrived with Kestra 2.0; check the 2.0 migration guide if you run an older version.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/kestra-io-kestra/expose-kestra-flows-to-ai-agents/

## How to build and edit workflows with Kestra's AI Copilot

Repo: [kestra-io/kestra](https://github.com/kestra-io/kestra) | Difficulty: Beginner | Time: 30 minutes | Basis: From the README

Use the Copilot sidebar's Ask, Edit and Plan modes to draft flows that stay in sync with the YAML.

**Who it is for:** An analyst who knows what a pipeline should do but not the YAML syntax for every plugin.

**The problem:** Writing orchestration YAML from scratch is slow, and UI-built workflows often drift from version control.

**The outcome:** Flows drafted with the AI Copilot, kept declarative in YAML, saved as drafts and pushed to Git.

### Steps

1. Open the AI Copilot sidebar in the Kestra UI
2. Use Plan mode to outline the workflow, then Edit mode to write it; it reuses credentials configured in your namespace
3. Switch to the No-Code editor or YAML editor to review; all three stay in sync
4. Save the flow as a draft so triggers keep running the last published revision while you iterate
5. Push the flow to your Git branch with the Git Version Control integration

### Prompt to paste into your agent

```text
In kestra-io/kestra, use the AI Copilot in Plan mode to design a flow that <describe pipeline> with a <schedule or event> trigger. Save it as a draft, show me the YAML, and only publish after I approve.
```

### Caveat

The Copilot needs an LLM configured; the README does not say which providers it supports, so check the AI Copilot docs.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/kestra-io-kestra/build-workflows-with-the-ai-copilot/
