Open source durable runtime for AI and data workflows on Kubernetes
open sourceApache-2.0self-hostablefree
Flyte is an open source workflow orchestrator and durable runtime for AI, machine learning and data workloads: training, batch and online inference, data processing and agents. Workflows are plain Python (with SDKs for TypeScript, Rust, Go and Mojo too): a task environment declares its image, resources, secrets and retry policy, and tasks are async functions with typed inputs and outputs. The runtime records each step, so a failed task is retried or resumed with the same inputs instead of rerunning the whole pipeline, and it reacts to infrastructure failures such as out-of-memory kills, preempted spot nodes or lost GPUs. It runs thousands of parallel tasks, serves long-running apps and model endpoints (vLLM, SGLang, FastAPI, Streamlit) next to workflows, and integrates with Spark, Ray, PyTorch, BigQuery, Snowflake and agent frameworks. The backend is Kubernetes-native and deployed with Helm. Flyte is a graduated project of the LF AI & Data Foundation under the Apache 2.0 licence; Union.ai sells an enterprise platform built on it.
Problems it solves
- run ML training and batch inference pipelines on my Kubernetes cluster without rerunning everything when one step fails
- orchestrate data and machine learning workflows written in Python with retries and caching
- keep long GPU jobs going when spot nodes get preempted
Features
- workflows in plain Python
- durable execution: retry and resume failed tasks
- recovery from infrastructure failures
- typed task inputs and outputs
- parallel map and fan-out
- model serving and apps beside workflows
- Kubernetes-native backend
- integrations with Spark, Ray, PyTorch and agent frameworks
Ways to run it
Flyte
You arrange
- a Kubernetes cluster
- PostgreSQL
Enterprise Flyte on Union.ai
Team $950 a month minimum, credited to usage; Enterprise custom123
Only in this edition
- managed backend
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Flyte does.
- Prefect Workflow orchestration for data pipelines and agentic workflows in Python
- Apache Airflow A platform to programmatically author, schedule and monitor workflows
- Metaflow A framework for real-life ML, AI, and data science
- Kestra The open source control plane for workflows across data, infrastructure, business processes and AI agents
- Dagster AI-native DataOps platform
- Luigi Build complex pipelines of batch jobs in Python
