flyte
Add your description here
What it is and what it does
Flyte is a Python-native orchestration framework for building and running ML pipelines, models, and agents. It lets you define tasks as decorated async or synchronous Python functions, compose them into workflows, and execute them locally during development or remotely on Kubernetes at scale. The SDK handles task parallelism, retries, caching, and resource management automatically.
The framework supports multiple execution modes: local development with a CLI and optional TUI, a Devbox environment for testing against a local Kubernetes cluster, and remote execution on production infrastructure. It also includes app serving capabilities for deploying models via FastAPI. With 23 runtime dependencies including async-lru, pydantic, protobuf, and cloud storage support, it integrates deeply with modern Python async patterns and cloud ecosystems.
Use it for:
- Define and run multi-step ML training pipelines with automatic task parallelism and fault tolerance.
- Serve trained models as HTTP endpoints using FastAPI integration within the same framework.
- Develop workflows locally with the CLI and TUI, then deploy to Kubernetes without code changes.
- Build data processing workflows that combine async task execution with built-in caching and retries.
- Orchestrate agent workflows that require fine-grained control over concurrency and resource allocation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flyte is a Python SDK for defining, orchestrating, and executing ML pipelines and services at scale, supporting both async and synchronous task definitions with built-in retries, caching, and local or remote execution.
Yes, with conditions. Flyte 2 is actively maintained (released 2 days ago) and offers a cohesive Python-first approach to ML orchestration with low install friction. However, the license treatment is unclear in the metadata despite Apache 2.0 being mentioned in the description—verify the actual license before production use. The Rust controller is marked experimental and under rapid development with known gaps. Best suited for teams building ML pipelines who can tolerate a large dependency footprint and want async-native workflows.
Install
flyte on PyPI
pip
pip install flyteuv
uv add flytepoetry
poetry add flyteInstalling flyte
Before you install
Low friction installation as a pure Python wheel. Active maintenance with a release 2 days ago. Requires Python 3.10 or later and brings in 23 runtime dependencies including async utilities, protobuf, pydantic, and cloud storage support.
Quickstart
pip install flyte
import flyte
env = flyte.TaskEnvironment(
name="hello_world",
image=flyte.Image.from_debian_base(python_version=(3, 12)),
)
@env.task(retries=3, cache="auto")
async def predict(x: int) -> int:
return 2 * x + 5
Requires Python 3.10 or later
Verify before relying
- License classification is marked unclear in the fact sheet; Apache 2.0 is mentioned in the description excerpt but not confirmed in metadata
- Whether the Rust controller (flyte_controller_base) is required for typical use or truly optional as described
- Production readiness status beyond 'generally available' announcement
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 23 — aiofiles, click, cloudpickle, docstring_parser, fsspec, connectrpc, obstore, protobuf, pydantic, pyyaml, rich-click, httpx, keyring, msgpack, toml, async-lru, mashumaro, aiolimiter, flyteidl2, packaging, sentry-sdk, pyOpenSSL, asyncssh |
| Maintenance | actively maintained — 2 days since the last release |
| First released | |
| Downloads | 173,423/month — #10,309 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: flyte-2.6.0-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
flytekitFlytekit is the Python SDK for authoring,…
permissive · top 15,000 on PyPI
flyteidl2Provides Python protobuf message definitions…
permissive · top 15,000 on PyPI
flyteidlFlyteidl provides the protobuf-based IDL…
permissive · top 15,000 on PyPI
metaflowMetaflow is a framework for building,…
permissive · top 5,000 on PyPI
kfp-pipeline-specProvides the pipeline specification and…
permissive · top 5,000 on PyPI
skypilot-nightlySkyPilot provisions and manages AI compute jobs…
permissive · top 15,000 on PyPI
ob-metaflowA framework for building, prototyping, and…
permissive · top 15,000 on PyPI
kfp-server-apiProvides Python client bindings for the…
permissive · top 5,000 on PyPI
zenmlZenML is an MLOps orchestration platform that…
permissive · top 15,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI