Project · 4 min read · 2026-08-05
Introducing LegoFlow: An Agentic Workflow for the Full Data-to-Model Loop
One extensible system for moving from raw tasks to trajectories, trained models, and evaluation results—with agents coordinating every handoff.
Building an agentic model is rarely one job. Data has to be curated, trajectories generated, models trained, and results evaluated. Each stage tends to grow its own scripts, configuration, infrastructure, and failure modes. LegoFlow turns those stages into a connected, inspectable workflow instead of a collection of disconnected runs.
Four blocks, one workflow
LegoFlow is organized around four composable blocks. The Curator prepares task data; the Tracer produces agent trajectories; the Trainer converts those trajectories into model checkpoints; and the Evaluator measures the resulting systems. Every block can run independently, while explicit dependencies connect outputs to the next stage.
curator → tracer → trainer → evaluator
Run the complete data-to-model loop, or select only the blocks needed for a focused workflow such as trajectory production.
Agentic at the root
A root agent understands the pipeline as a dependency tree. It can check configurations, runtime resources, block handoffs, and live endpoints before expensive work begins, then coordinate a cascaded run from a natural-language instruction. The workflow remains flexible without hiding what will execute: preflight results and the run configuration stay visible before launch.
Reproducible and inspectable
Each run keeps its configuration, scripts, logs, outputs, and intermediate artifacts together. Root- and block-level dashboards expose progress and make failures easier to locate. That creates a practical feedback loop: inspect the data, diagnose a stage, revise the configuration, and rerun without losing the provenance of the previous attempt.
Start building
The Getting Started guide walks through prerequisites, individual block setup, cascaded execution, and result inspection. Read the LegoFlow Getting Started documentation ↗