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
- FA score
- 51/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- 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)
- Source review
- 51/100 · Major gaps 1 safety controls not found
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.
- Data scientists who want to define an ML pipeline using pure Python without deep infrastructure knowledge.
- ML engineers needing to orchestrate asynchronous tasks reliably and at scale on Kubernetes.
- Teams that want to serve models with a REST API using FastAPI.
- Developers looking for a rich local development experience with a TUI for rapid iteration.
- 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 flyteuv 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?
- Initialize a Flyte environment:
env = flyte.TaskEnvironment(name="hello_world", image=flyte.Image.from_debian_base(python_version=(3, 12))) - Define tasks using
@env.taskand call them with async functions or concurrently. - Initialize Flyte with
flyte.init()and run the workflow withflyte.run(main, numbers=list(range(10))). - Alternatively, use the CLI:
flyte run hello.py main --numbers '[1,2,3]'. - For serving models, create a FastAPI app, wrap it with
FastAPIAppEnvironment, and serve withflyte.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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
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 ↗ -
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?
Can Flyte 2 be self-hosted?
Does Flyte 2 support model serving?
What license does Flyte 2 use?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.