The Enterprise-Grade ML Pipeline Framework for Humans
FlowyML is a lightweight yet powerful ML pipeline orchestration framework. It bridges the gap between rapid experimentation and enterprise production by making assets first-class citizens. Write pipelines in pure Python, and scale them to production without changing a single line of code.
| Feature | FlowyML | Traditional Orchestrators |
|---|---|---|
| Developer Experience | π Native Python - No DSLs, no YAML hell. | π Complex YAML or rigid DSLs. |
| Type-Based Routing | π§ Auto-Routing - Define WHAT, we handle WHERE. | π Manual wiring to cloud buckets. |
| Smart Caching | β‘ Multi-Level - Smart content-hashing skips re-runs. | π’ Basic file-timestamp checking. |
| Asset Management | π¦ First-Class Assets - Models & Datasets with lineage. | π Generic file paths only. |
| Multi-Stack | π Abstract Infra - Switch local/prod with one env var. | π Vendor lock-in or complex setup. |
| GenAI Ready | π€ LLM Tracing - Built-in token & cost tracking. | π§© Requires external tools. |
| Build-Time Validation | β Type Safety - Catches mismatches at build time. | π₯ Runtime errors only. |
| Map Tasks | πΊοΈ Parallel Maps - @map_task with retries & concurrency. |
π Manual parallelism boilerplate. |
| Dynamic Workflows | π Runtime DAGs - Generate pipelines based on data. | π Static definitions only. |
| GenAI Assets | π― Prompt & Checkpoint - First-class prompt versioning and training resumability. | π Unmanaged text files. |
| Stack Hydration | ποΈ YAML β Live Stack - StackConfig.to_stack() wires infra automatically. |
βοΈ Manual component assembly. |
This is a complete, multi-step ML pipeline with auto-injected context:
from flowyml import Pipeline, step, context
@step(outputs=["dataset"])
def load_data(batch_size: int = 32):
return [i for i in range(batch_size)]
@step(inputs=["dataset"], outputs=["model"])
def train_model(dataset, learning_rate: float = 0.01):
print(f"Training on {len(dataset)} items with lr={learning_rate}")
return "model_v1"
# Configure and Run
ctx = context(learning_rate=0.05, batch_size=64)
pipeline = Pipeline("quickstart", context=ctx)
pipeline.add_step(load_data).add_step(train_model)
pipeline.run()Define artifact types in code, and FlowyML automatically routes them to your cloud infrastructure.
@step
def train(...) -> Model:
# Auto-saved to GCS/S3 and registered to Vertex AI / SageMaker
return Model(obj, name="classifier")Manage local, staging, and production environments in a single flowyml.yaml.
export FLOWYML_STACK=production
python pipeline.py # Now runs on Vertex AI with GCS storageGroup consecutive steps to run in the same container. Perfect for reducing overhead while maintaining clear step boundaries.
Beautiful dark-mode dashboard to monitor pipelines, visualize DAGs, and inspect artifacts in real-time.
Production-grade evaluation system with 29+ scorers β classification, regression, GenAI (LLM-as-a-judge), and adapters for DeepEval, RAGAS, and Phoenix:
from flowyml.evals import evaluate, EvalDataset, get_scorer
data = EvalDataset.create_genai("my_test", examples=[...])
result = evaluate(data=data, scorers=[get_scorer("relevance"), get_scorer("ragas.faithfulness")])
result.notify_if_regression(threshold=0.05)Distribute work over collections with @map_task and generate pipelines at runtime with @dynamic:
from flowyml import map_task, dynamic
@map_task(concurrency=8, retries=2, min_success_ratio=0.95)
def process_document(doc: dict) -> dict:
return transform(doc)
@dynamic(outputs=["best_model"])
def hyperparameter_search(config: dict):
sub = Pipeline("hp_search")
for lr in config["learning_rates"]:
sub.add_step(train_with_lr(lr))
return subCentralized artifact discovery, tagging, and lineage tracking β works local and remote:
from flowyml import ArtifactCatalog
catalog = ArtifactCatalog() # Auto-selects local SQLite or remote API
catalog.register(name="classifier", artifact_type="Model", parent_ids=[dataset_id])
lineage = catalog.get_lineage(model_id) # Full parentβchild graph| What you want to run | Release install |
|---|---|
| Basic SDK with tracking, artifact storage, CLI, and Studio (default) | python -m pip install flowyml |
| Light for local Python pipelines, named artifacts, retries, and caching | python -m pip install flowyml-light |
| Light with the interactive terminal inspector | python -m pip install "flowyml-light[tui]" |
| Basic plus a framework or provider | python -m pip install "flowyml[pytorch]" or python -m pip install "flowyml[tensorflow,azure]" |
| Basic with all supported integration extras | python -m pip install "flowyml[all]" |
With Light, Pipeline("training", auto_discover=True, context=Context(epochs=5)) builds the DAG from visible decorated steps. Artifact names wire steps together and matching configuration parameters come from context.
Both installs use flowyml inspect, flowyml run, and python -m flowyml. A local job keeps its imports, command line, and cache when you add Basic. The explicit flowyml[basic] spelling is equivalent to plain flowyml. Run and upgrade a local job
If you already use an older all-in-one FlowyML release, follow the one-time upgrade instructions.
From this checkout, install Basic with poetry install --only main or python -m pip install ./runtime .. For standalone Light, use python -m pip install ./runtime ./light.
FlowyML Notebook is the companion reactive notebook environment for FlowyML. It replaces Jupyter with a DAG-powered, production-ready notebook that ships directly to FlowyML pipelines.
| Feature | Description |
|---|---|
| π Reactive DAG | Cells form a dependency graph β change a variable, only dependent cells re-execute |
| π Pure .py Storage | Git-friendly, lintable, importable β no .ipynb JSON |
| π Pipeline Promotion | Promote notebooks to production FlowyML pipelines with one click |
| π§Ύ 43 Recipes | Reusable code templates across Core, Assets, ML, Evals, and more |
| π€ AI Assistant | Context-aware code generation (OpenAI, Google AI, Ollama, Anthropic) |
| π Rich Data Explorer | Automatic DataFrame profiling with statistics, charts, and correlations |
| π Publish as App | Turn any notebook into a web app with 5 layout options |
pip install flowyml-notebook
fml-notebook dev # π₯ Launch with hot-reloadπ FlowyML Notebook Documentation Β· GitHub Β· PyPI
FlowyML Studio opens a live dependency graph beside FlowyML Python files and notebooks in VS Code. The preview follows edits, flags broken connections in the editor, and links steps to their source for breakpoint debugging. Select an execution in Recent Runs to inspect its metrics and artifacts, watch recorded step statuses on the DAG, and follow logs for one step or the whole job. Install the extension from a FlowyML release that includes Studio with the matching SDK command.
flowyml vscode installFor a local build, choose Extensions β β¦ β Install from VSIX and select flowyml-studio.vsix. Extension guide and build instructions
Copy the entire flowyml skill folder into another project, or give it to a file-reading agent and ask it to open the skill instructions. The folder includes runnable flat and dynamic pipelines, a worker image and an installable Azure ML component.
| Project skill location | Clients |
|---|---|
.agents/skills/flowyml/ |
Codex, GitHub Copilot, Gemini CLI and Antigravity |
.claude/skills/flowyml/ |
Claude Code |
Try asking βUse the FlowyML skill to build a flat training pipeline with a configurable holdout. Store the evaluation report in MLflow and verify that a second Docker worker can read the training artifacts.β
Visit FlowyML Docs for the full guide:
- Getting Started β Build your first pipeline in 5 minutes
- Core Concepts β Pipelines, Steps, Context, and Assets
- Features Explorer β 20+ features deep dive
- Ecosystem β FlowyML Notebook, Keras tools, and integrations
- API Reference β Full API documentation
Built with β€οΈ by UnicoLab