Get started with Flyte 2 — tasks, ML pipelines, error handling, and AI agents.
flyte.TaskEnvironment— defining task environments and imagesflyte.ReusePolicy— reusable containers for faster iterationflyte.map()— parallel task execution- Building an ML pipeline end-to-end
- Error handling patterns
cd tutorials/starter-examples/flyte-basics
uv venv .venv --python 3.11
source .venv/bin/activate
uv pip install -r requirements.txtTo run remotely, configure your Flyte cluster endpoint:
flyte create config \
--endpoint <your-endpoint> \
--auth-type headless \
--builder remote \
--domain development \
--project flytesnacksDon't have a cluster? Request access at flyte.org.
Open 00_flyte2-starter.ipynb in Jupyter or VS Code and follow along.