Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

flyte

> DevOps
Open source

Dynamic, resilient AI orchestration. Coordinate data, models, and compute as you build AI workflows.

7.2K stars0 likes1 views
WebsiteGitHub

About

Dynamic, resilient AI orchestration. Coordinate data, models, and compute as you build AI workflows.

[!IMPORTANT]

Flyte 2 is now generally available!

Read more in the announcement here.

Want to try Flyte 2 locally? Run the Devbox locally, or you can try it on Github Codespaces.

Looking for Flyte 1? Go to the master branch, where Flyte 1 is now maintained.


Flyte 2

Reliably orchestrate ML pipelines, models, and agents at scale — in pure Python. Flyte is a Graduated project of the LF AI & Data Foundation.

10 minutes to Flyte 2

The quickest way to get a feel for Flyte 2 is in this notebook:

Install

bash
uv pip install flyte

For the full SDK and development tools, see the flyte-sdk repository.

Example

python
import asyncio
import flyte

env = flyte.TaskEnvironment(
    name="hello_world",
    image=flyte.Image.from_debian_base(python_version=(3, 12)),
)

@env.task
def calculate(x: int) -> int:
    return x * 2 + 5

@env.task
async def main(numbers: list[int]) -> float:
    results = await asyncio.gather(*[
        calculate.aio(num) for num in numbers
    ])
    return sum(results) / len(results)

if __name__ == "__main__":
    flyte.init()
    run = flyte.run(main, numbers=list(range(10)))
    print(f"Result: {run.result}")
PythonFlyte CLI
bash
python hello.py
bash
flyte run hello.py main --numbers '[1,2,3]'

Serve a Model

python
# serving.py
from fastapi import FastAPI
import flyte
from flyte.app.extras import FastAPIAppEnvironment

app = FastAPI()
env = FastAPIAppEnvironment(
    name="my-model",
    app=app,
    image=flyte.Image.from_debian_base(python_version=(3, 12)).with_pip_packages(
        "fastapi", "uvicorn"
    ),
)

@app.get("/predict")
async def predict(x: float) -> dict:
    return {"result": x * 2 + 5}

if __name__ == "__main__":
    flyte.init_from_config()
    flyte.serve(env)
PythonFlyte CLI
bash
python serving.py
bash
flyte serve serving.py env

Local Development Experience

Install the TUI for a rich local development experience:

bash
uv pip install flyte[tui]

Open Source Backend

The open source backend for Flyte 2 is coming soon. This repository will contain the Kubernetes-native backend infrastructure for deploying Flyte 2 as a distributed, multi-node service. See the Backend README for the current state of the backend, protocol buffer definitions, and contribution guide.

If you need an enterprise-ready, production-grade backend for Flyte 2 today, it is available on Union.ai.

Learn More

  • Try DevBox - Get started
  • Try Devbox in Github Codespaces - Get started in the browser
  • SDK Reference — API reference docs
  • CLI Reference — CLI docs
  • flyte-sdk — The Flyte 2 Python SDK repository
  • Slack | GitHub Discussions | Issues

Contributing

We welcome contributions! See the Backend README for backend development, or join us on slack.flyte.org.

Sponsors

CI container image builds for this repository are sponsored by Depot — fast, native multi-arch Docker builds with persistent layer caching.

License

Apache 2.0 — see LICENSE.

Issues· 175 open

View all issuesOpen on GitHub
  • #8051

    [V2] Support tasks pods scheduled in separate k8s namespace

    flyte2Updated Sep 21, 2026
  • #8038

    [BUG] Console crashes with "Cannot destructure property 'type'" when a node execution's inputs don't match the resolved task interface

    Updated Sep 16, 2026
  • #8043

    Flyte SDK for Java/Scala

    Updated Sep 16, 2026
  • #7998

    # Fix Cross-Platform Windows Secret Mount Path Validation and Hash Stability

    Updated Sep 11, 2026
  • #7999

    # Fix Remote URI Corruption and Leading Slash Truncation in `storage.join()`

    Updated Sep 11, 2026
  • #7978

    Rerun and recover

    Updated Sep 11, 2026
  • #7994

    [BUG] flytekit: _dnsify can return node IDs over 63 characters or ending in '-', violating the DNS_LABEL contract

    Updated Sep 9, 2026
  • #7992

    [flyte2] Executor caches every Event cluster-wide and never evicts objectCache buckets

    Updated Sep 6, 2026
  • #7984

    Flyte SDK Rust

    Updated Sep 4, 2026
  • #7983

    Flyte SDK Go

    Updated Sep 4, 2026

> Tags

Goagenticai-agentsai-development-toolsdata-analysis

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理