Tutorials

This section contains tutorials that showcase relevant use cases and provide step-by-step instructions on how to implement various features using Flyte and Union.

Multi-agent trading simulation
A multi-agent trading simulation, modeling how agents within a firm might interact, strategize, and make trades collaboratively.
Run LLM-generated code
Securely execute and iterate on LLM-generated code using a code agent with error reflection and retry logic.
Deep research
Build an agentic workflow for deep research with multi-step reasoning and evaluation.
Hyperparameter optimization
Run large-scale HPO experiments with zero manual tracking, deterministic results, and automatic recovery.
Automatic prompt engineering
Easily run prompt optimization with real-time observability, traceability, and automatic recovery.
Text-to-SQL
Learn how to turn natural language questions into SQL queries with Flyte and LlamaIndex, and explore prompt optimization in practice.