REA Metaflow Flow notes (unofficial)
Metaflow Flows (FlowSpec classes, @step / @batch / @kubernetes decorators, config) pin Python ML-workflow identity. In REA 6.7.x, treat selected step names / decorator labels / datastore labels as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Metaflow project tree (+ packaged flow artifacts you hold).
- Quote selected step names, decorator labels, and datastore labels you actually see (never paste tokens).
- Cousins → mlflow-project · kubeflow-pipeline · prefect-flow · skypilot-yml.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_metaflow_flowAPI REA never called.
Minimal path
# authorized Metaflow FlowSpec module (+ artifact you hold)
# quote selected step names / decorator labels / datastore labels into case notes
# cousins → peer MLflow / Kubeflow / Prefect / SkyPilot lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_metaflow_flow .
Compare
| Artifact | Honest posture |
|---|---|
| Metaflow Flow | Python ML-workflow identity facts |
| MLflow peer | rea-mlflow-project |
| Prefect peer | rea-prefect-flow |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
@stepmethod names and compute decorators (@batch,@kubernetes,@resources) — enough for most Evidence binders. - Datastore / metadata service URLs often embed secrets — record scheme/host labels only.
~/.metaflowconfigvs project config — label which file you opened.- Keep Metaflow Flows distinct from Prefect flows and Kubeflow pipelines in case notes.
- Conda / pylint / cards extensions are related surfaces — quote names you observed; do not invent REA helpers for
python flow.py run. - Production tokens (
METAFLOW_*) belong in secret stores — never paste them into case notes.
Scope we will not cover
- No inventing
inspect_metaflow_flow/ automatic attacks against foreign Metaflow stacks. - No credential theft from cloud datastores, metadata services, or production tokens.
- No pirate redistribution of proprietary flow trees or datasets.
- No crack framing via Metaflow pins.
- No cookbooks that weaken Metaflow auth on foreign deployments.
Honest limits
RepoRead documents config literacy — how authorized Metaflow Flow trees relate to Evidence — not a full Metaflow course. Prefer upstream Metaflow docs for steps, decorators, and datastores. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-mlflow-project / rea-kubeflow-pipeline / rea-prefect-flow?
rea-mlflow-project covers MLflow Projects; rea-kubeflow-pipeline covers Kubeflow; rea-prefect-flow covers Prefect. This page zooms on Metaflow Flow identity — it does not overwrite those pages.
Is there inspect_metaflow_flow in 6.7.0?
Not assumed. Quote step names / decorator labels / datastore labels you actually open, then use documented package/archive lanes. Do not invent inspect_metaflow_flow.
Does REA connect to Metaflow datastores or steal cloud credentials?
No. Local trees only. Redact S3/Azure/GCP URLs with tokens; do not treat REA as a Metaflow runner. No credential theft.
How should I label Evidence vs other ML-orchestration configs?
Label Evidence by the file present. Keep Metaflow Flows separate from rea-mlflow-project, rea-kubeflow-pipeline, and rea-prefect-flow.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).