DataFlow-Harness bridges gap in AI-generated data processing pipelines
A new framework, DataFlow-Harness, guides AI agents to build structured data processing pipelines that are easier to manage and integrate into production environments.

Researchers from Peking University, Zhongguancun Academy, and Shanghai’s Institute for Advanced Algorithms Research have introduced DataFlow-Harness, an open-source framework designed to guide AI agents in constructing structured, visual data processing workflows.
While AI agents can readily generate standalone Python scripts for simple tasks like parsing a single JSON file, they often struggle when asked to build systematic data processing pipelines. These pipelines, which may involve ingesting thousands of documents, chunking text, and scoring quality for systems like Retrieval-Augmented Generation (RAG), typically result in free-form scripts that are difficult to manage.
DataFlow-Harness aims to address this challenge by steering AI agents to build workflows step-by-step rather than generating raw code from scratch. This approach makes the AI-generated pipelines more manageable and easier to integrate into existing architectures, as the resulting artifacts are persistent and editable.
According to the research, the platform achieves a 93.3% success rate on a 12-task data engineering benchmark. Compared to standard Claude Code, it reduces API costs by up to 72.5% and response latency by 49.9%. This allows enterprise teams to leverage AI automation without accumulating significant technical debt, ensuring pipelines remain secure, auditable, and production-ready.