DataFlow-Harness: A Grounded Code-Agent Platform for Constructing Editable LLM Data Pipelines

📅 2026-07-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the NL2Pipeline gap—the challenge of transforming data processing scripts generated by large language models (LLMs) into persistent, editable platform-native workflows—by proposing a method that guides LLM agents to construct typed, incrementally built directed acyclic graphs (DAGs) instead of free-form scripts. This approach enables conversational pipeline construction synchronized with visual editors. The key innovation lies in the first-time integration of the Model Context Protocol (MCP) to expose real-time platform state and operator registries to the LLM, augmented with procedural guidance from DataFlow-Skills. Experimental results across twelve data engineering tasks demonstrate an end-to-end success rate of 93.3%, achieving near-optimal accuracy while reducing costs by 72.5% and latency by 49.9% compared to baseline methods.
📝 Abstract
Large language models (LLMs) are increasingly used to automate data-processing workflows, yet coding agents typically produce scripts that are not automatically materialized as persistent, editable platform artifacts. We call this disconnect the \textit{NL2Pipeline gap}. To bridge it, we introduce \textsc{DataFlow-Harness}, a platform that guides an LLM agent to construct platform-native directed acyclic graphs (DAGs) through typed, incremental mutations rather than free-form scripts. The platform combines \textsc{DataFlow-Skills} for procedural guidance, a Model Context Protocol (MCP) layer that exposes the live operator registry and current pipeline state, and \textsc{DataFlow-WebUI}, which synchronizes conversational authoring with a visual DAG editor. On a 12-task data-engineering benchmark, \textsc{DataFlow-Harness} achieves a 93.3\% observed end-to-end pass rate. Relative to Vanilla Claude Code, it reduces measured monetary cost by 72.5\% and generation latency by 49.9\%; its observed pass rate is within 0.9 percentage points of the Context-Aware Claude Code baseline while its cost is 42.8\% lower. Per-task analysis indicates that Skills are most useful when construction depends on implicit procedural knowledge. These results show that live platform grounding can produce persistent, editable workflow artifacts with an observed reliability close to script-generation baselines and with lower measured construction cost and latency.
Problem

Research questions and friction points this paper is trying to address.

NL2Pipeline gap
editable data pipelines
LLM code agents
workflow artifacts
data-processing automation
Innovation

Methods, ideas, or system contributions that make the work stand out.

DataFlow-Harness
NL2Pipeline gap
grounded code agent
editable DAG
Model Context Protocol