Flyte 2: Reliable ML Orchestration at Scale

Reliably orchestrate ML pipelines, models, and agents at scale — in pure Python.

Source repo
flyteorg/flyte
Stars
★ 7.8k
Last updated
today v2.0.58
FARS reviewed
Nov 08, 2026 +4 new
License
Apache-2.0
Primary language
Go

At a glance

How it runs
CLILibrary / SDK
Works with
Platform-specific
Cost
Free tier plus a paid hosted plan
Setup effort
Medium · a few setup steps
You'll need
Python 3.12uvShell / CLINetwork accessLocal filesystem
Typical use
Data scientists who want to define an ML pipeline using pure Python without deep infrastructure knowledge.
Not a fit if
  • Teams needing a production backend today; the open source backend is not yet released
  • Teams that must run fully self-hosted or offline; the production-grade backend is only on Union.ai
  • Users staying on Flyte 1 who do not want to migrate
Website
flyte.org ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v2.0.58 (2026-11-30)

What does this agent do, and when should you use it?

Flyte 2 is an open-source, Kubernetes-native AI orchestration platform that coordinates data, models, and compute to build AI workflows at scale. It provides a Python SDK and CLI for defining and running tasks, workflows, and serving models with FastAPI. Flyte 2 handles asynchronous task execution and concurrency, and is a graduated project of the LF AI & Data Foundation. This repository currently contains the SDK and local development experience (including a TUI), while the Kubernetes backend is announced as coming soon or available for enterprise via Union.ai.

Flyte 2 allows users to define tasks using Python decorators (e.g., @env.task) and orchestrate workflows using async concurrency. It provides TaskEnvironment to specify container images and dependencies. Users can run workflows either from Python or CLI, with CLI commands like flyte run hello.py main --numbers '[1,2,3]'. Models can be served via FastAPI applications using FastAPIAppEnvironment and flyte serve. The platform simplifies running multi-step ML pipelines by managing orchestration and concurrency of async executions.

  1. Data scientists who want to define an ML pipeline using pure Python without deep infrastructure knowledge.
  2. ML engineers needing to orchestrate asynchronous tasks reliably and at scale on Kubernetes.
  3. Teams that want to serve models with a REST API using FastAPI.
  4. Developers looking for a rich local development experience with a TUI for rapid iteration.
  5. Organizations that need a production-grade orchestration platform for AI workloads at scale.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • uv pip install flyte
  • uv pip install flyte[tui]

How do you install or deploy this agent?

Install Flyte using uv pip install flyte. For the TUI local development experience, use uv pip install flyte[tui].

How do you use this agent?

  1. Initialize a Flyte environment: env = flyte.TaskEnvironment(name="hello_world", image=flyte.Image.from_debian_base(python_version=(3, 12)))
  2. Define tasks using @env.task and call them with async functions or concurrently.
  3. Initialize Flyte with flyte.init() and run the workflow with flyte.run(main, numbers=list(range(10))).
  4. Alternatively, use the CLI: flyte run hello.py main --numbers '[1,2,3]'.
  5. For serving models, create a FastAPI app, wrap it with FastAPIAppEnvironment, and serve with flyte.serve(env).

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Pure Python SDK for ease of adoption.
  • Async task support for efficient concurrency.
  • Local development TUI for enhanced developer experience.
  • Kubernetes-native for scalable deployments.
  • Graduated project under LF AI & Data Foundation.
Limitations
  • Backend is not yet available; must wait or use enterprise solution.
  • Requires Python 3.12 and uv, which may necessitate environment adjustments.
  • Potential migration complexity from Flyte 1.
  • Documentation points to external sites, not in-repo.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Flyte 2: Reliable ML Orchestration at Scale This agent 51 · Major gaps CLIFreemium ★ 7.8k today Go —
Metaflow 60 · Some gaps Library / SDKFree ★ 10k 16d ago Python —
DeepEye 65 · Some gaps — ★ 275 5mo ago Python —
Sparrow Document Intelligence Platform 40 · Major gaps CLIFree + model costs ★ 5.2k 2d ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
51/ 100 5-point scale 2.6 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 4 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 10/29
Reliability 6/14
Adaptability 12/18
Convention 12/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

The evidence shows service entry points can initialize Kubernetes clients, databases, and storage, and the dependency list includes cloud secret-management components, indicating potential cluster, cloud, and persistent-data effects. The sample does not show permission scope, sensitive-data controls, confirmation, or recovery mechanisms, so these areas receive thin scores. There is no evidence of malicious or destructive behavior, so this is not blocked. The README and license identify Flyte, the LF AI & Data Foundation project, and Apache 2.0, supporting a score of 2 for attribution; publisher verification remains unknown.

Reliability6 / 14 · 2.1/5

The README provides readable Python task and serving examples, while Go service entry points return contextual errors on initialization failure, providing some consistency and failure diagnostics. The README also says the open-source backend is still forthcoming while the sample includes backend service entry points, leaving product scope and availability paths unclear. The large dependency list provides no evidence about availability or maintenance status, limiting those scores.

Adaptability12 / 18 · 3.3/5

The documentation addresses Python workflows, model serving, and local development; it also says the flyte-sdk is separately needed, describes the backend as forthcoming, and shows both CLI and Python invocation. This gives some audience, boundary, and environment guidance, but the supplied material does not explain capability limits, trigger conditions, or multilingual support, so these criteria are only partially supported.

Convention12 / 18 · 3.3/5

The README includes installation, examples, documentation links, contribution guidance, and the backend's current state. The LICENSE contains the full Apache 2.0 terms and earns full marks. A version badge and Flyte 1/2 branch guidance provide some version context, but the sample has no changelog. Maintenance paths point to contribution guidance and community channels, while publisher identity is unverified, so responsibility is not fully clear.

Effectiveness7 / 13 · 2.7/5

The orchestration and model-serving examples provide usable Python code and commands for the intended audience. The sample does not establish comparative advantage or resource costs. The README says the production-grade Flyte 2 backend is currently available through Union.ai and that the open-source backend is forthcoming, limiting assessment of value and cost-benefit.

Verifiability4 / 8 · 2.5/5

The README makes concrete, checkable claims about installation, examples, and backend status, and the Go entry points corroborate that service components exist. Cross-checking between the README and supplied code is limited, and claims about scale, reliability, and multilingual capabilities are not adequately supported by these files. This assessment distinguishes documentation claims from code evidence and makes no claims about execution results.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • The README says the open-source Flyte 2 backend is not yet available; verify which components at this revision are usable and whether Union.ai services are required before deployment.
  • The sample does not show Kubernetes permission configuration, secret handling, data retention, or recovery procedures, so deployment-level permission and data risks cannot be assessed from these files alone.
  • The dependency list is large, but the sample provides no vulnerability audit or dependency-maintenance evidence; this is not a claim that a known vulnerability exists.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision c4643623f594 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/flyte.svg)](https://followagents.com/en/agents/flyte)
<a href="https://followagents.com/en/agents/flyte"><img src="https://followagents.com/badge/flyte.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.0.58
    Release notes excerpt
    What's Changed * build(deps): bump google.golang.org/api from 0.311.0 to 0.315.0 by @dependabot[bot] in https://github.com/flyteorg/flyte/pull/8436 * build(deps): bump github.com/magiconair/properties from 1.18.12 to 1.18.13 by @dependabot[bot] in https://github.com/flyteorg/flyte/pull/8434 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager from 1.50.11 to 1.51.0 by @dependabot[bot] in https://github.com/flyteorg/flyte/pull/8435 * fix(executor): succeed a task that declares no outputs and writes none by @mitja-kleider in https://github.com/flyteorg/flyte/pull/8461 …
    View on GitHub ↗
  2. v2.0.57
    Release notes excerpt
    What's Changed * fix(kfoperators): propagate pod metadata to the TFJob and MPIJob CRs by @stantheman0128 in https://github.com/flyteorg/flyte/pull/8415 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.33.16 to 1.33.18 by @dependabot[bot] in https://github.com/flyteorg/flyte/pull/8411 * fix(spark): carry pod template labels, annotations and priority class to Spark pods by @madiyar-wayve in https://github.com/flyteorg/flyte/pull/8384 * fix(executor): judge GPU fault relevance on the recorder's clock by @samhita-alla in https://github.com/flyteorg/flyte/pull/8441 …
    View on GitHub ↗
  3. v2.0.56
    Release notes excerpt
    What's Changed * build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager from 1.50.9 to 1.50.11 by @dependabot[bot] in https://github.com/flyteorg/flyte/pull/8391 * Clear fastcheck filter on task action deletion by @Sovietaced in https://github.com/flyteorg/flyte/pull/8398 * feat(settings): add observability.log_retention_days by @katrogan in https://github.com/flyteorg/flyte/pull/8383 * build(deps): bump github.com/shamaton/msgpack/v2 from 2.4.4 to 2.4.5 by @dependabot[bot] in https://github.com/flyteorg/flyte/pull/8402 …
    View on GitHub ↗

FAQ

How does Flyte 2 differ from Flyte 1?
Flyte 2 focuses on pure Python orchestration with async task capabilities, while Flyte 1 is the original Kubernetes-native workflow engine. The backend for Flyte 2 is under development.
Can Flyte 2 be self-hosted?
Currently, the open-source backend is not released; users can use the local development mode or get the enterprise backend from Union.ai.
Does Flyte 2 support model serving?
Yes, via FastAPI applications and FastAPIAppEnvironment.
What license does Flyte 2 use?
Apache 2.0.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts