Manuscript Offprint

arXiv:2609.35255

Towards Reliable AI Data Scientists: Data Agents with Workflow Harnesses

Huachi Zhou, Yujing Zhang, Jiahe Du, Jiacheng Cai, Zijin Hong, Chuang Zhou, Zheng Yuan, Qinggang Zhang, Qing Li, Xiao Huang

HUACHI ZHOU, The Hong Kong Polytechnic University, China

YUJING ZHANG, The Hong Kong Polytechnic University, China

JIAHE DU, The Hong Kong Polytechnic University, China

JIACHENG CAI, The Hong Kong Polytechnic University, China

ZIJIN HONG, The Hong Kong Polytechnic University, China

CHUANG ZHOU*, The Hong Kong Polytechnic University, China

ZHENG YUAN*, The Hong Kong Polytechnic University, China

QINGGANG ZHANG, Jilin University, China

QING LI, The Hong Kong Polytechnic University, China

XIAO HUANG, The Hong Kong Polytechnic University, China

Large language model agents are increasingly deployed for data-intensive work, yet reliable data analysis requires more than general-purpose reasoning and ad hoc tool augmentation. Data Agents, equipped with workflow harnesses, offer a promising paradigm for automating the end-to-end data science lifecycle. This survey reviews Data Agents from a harness-centric perspective. First, we introduce a taxonomy of Data Agents and associated data environments, organizing the literature around five functional stages: perception, planning, execution, verification, and repair. Second, we analyze the key technical routes within each stage, identifying 15 distinct approaches ranging from data structure probing to data state reconstruction. Third, we identify four open reliability problems: inactive semantic calibration, missing clarification, missing experience transfer, and the missing verification-repair repository. These problems explain why silent failures can persist even when individual components function correctly, highlighting the need for rigorous workflow harnesses and shared reliability resources. Finally, we summarize the horizontal task families of Data Agents, examine their vertical application settings, and review benchmarks for evaluation, while maintaining a companion repository at https://github.com/DEEP-PolyU/Awesome-Data-Agents

1 Introduction

Large language model (LLM) agents have rapidly emerged as a primary interface for data-intensive work [19, 143, 148]. Their strength lies in general-purpose reasoning applied to data science tasks: LLMs excel at analyzing tasks, generating plausible plans, translating natural language into executable data operations such as SQL or Python, and adapting to diverse tasks with minimal examples. This capability makes LLM agents a natural bridge between data science tasks and complex data environments [66, 99].

However, general-purpose reasoning does not inherently guarantee analytical reliability. Reliability requires logically correct outputs in real-world data science tasks, even in imperfect data environments. These environments introduce five recurring challenges that hinder LLM-based agents, even when the underlying LLM possesses strong reasoning capabilities:

First, true data semantics are often inadequately represented in surface-level contexts. Data is typically exposed to agents through raw formats, spreadsheet layouts, or feature definitions in ML pipelines, which provide only partial representations of its underlying semantics. Important

∗^{*}Corresponding author.

Huachi Zhou, Yujing Zhang, Jiahe Du, Jiacheng Cai, Zijin Hong, Chuang Zhou, Zheng Yuan, Qing Li, and Xiao Huang, The Hong Kong Polytechnic University, Hong Kong, China. Emails: {huachi.zhou, yu-jing.zhang, jiahe.du, jiacheng.cai, zijin.hong, chuang-qqzj.zhou, yzheng.yuan}@connect.polyu.hk; {qing-prof.li, xiao.huang}@polyu.edu.hk. Qinggang Zhang, Jilin University, Changchun, China. Email: qinggangzhang@jlu.edu.cn.

Zhou, et al.

Figure

Fig. 1. The workflow harness of AI Data Scientists. The harness governs Data Agent workflows through five functional stages, including perception, planning, execution, verification, and repair. These stages are invoked iteratively as needed to maintain the evolving data state across data tasks.

information, such as semantic relationships among fields and governing properties such as data-generating distributions, may therefore remain poorly encoded for downstream reasoning [58, 79].

Second, the solution space is massively underdetermined. For a given task and data environment, there is rarely a single canonical analytical solution. Instead, the task can be addressed through countless strategies, making it difficult to identify the optimal solution [32, 65, 75].

Third, effective tool execution is inherently dynamic. The optimal next step depends on intermediate observations that only become available after a previous tool is executed. Dynamic tool inputs and outputs make the optimal next step a moving target, preventing the full execution sequence from being determined in advance [9, 36, 65].

Fourth, failure signals are sparse and non-local. A data science task can complete successfully and produce a plausible-looking result without raising any exception, even when the result is grounded in flawed assumptions. Conversely, when execution does fail explicitly, the observed error often reflects only a downstream symptom, providing little evidence about which earlier step introduced the underlying problem [57, 87].

Fifth, repairs are entangled with local data context. A code repair is typically tied to the specific data context, e.g., the schema and spreadsheet layout for analytical tasks, or the value distributions that determine appropriate algorithms for modeling tasks. The underlying logical correction is deeply entangled with this local context, making it difficult to reuse the repair code [57, 97, 149].

These five challenges motivate the need for a disciplined approach beyond simply equipping LLMs with more tools or stronger reasoning capabilities. Prior advances have often treated the agent as a collection of capabilities rather than as a system that follows a disciplined analytical process. Yet, an agent with perfect tools and reasoning can still produce wrong answers silently, not because it lacks ability, but because it lacks a workflow to guide its behavior. Without such a workflow, the agent remains a brittle black box, particularly in data environments where the most common failures produce no explicit error.

Data Agents have emerged as an autonomous response to these difficulties [50, 88]. To succeed, they rely on what we term a workflow harness: not a rigid pipeline, but a disciplined, iterative framework that governs the workflow through five functional stages, including perception, planning, execution, verification, and repair. Within this harness, the agent exercises judgment by invoking the appropriate functional stages as needed, transforming from a one-shot answer generator into a reliable AI Data Scientist. To operate effectively within this harness, a Data Agent pursues five interconnected goals:

Deep Semantic Grounding. To capture the true semantics underlying surface-level data, Data Agents infer the intrinsic structures, e.g., semantic relationships, and governing properties, e.g., distributional properties from heterogeneous sources [2, 93]. Since the full data volume may exceed input limits, agents transform these raw inputs into a semantically grounded representation that enables correct downstream reasoning.

Efficient Solution Space Navigation. To navigate the massively underdetermined solution space, Data Agents decompose high-level tasks into executable steps, evaluate alternative steps, and plan under uncertainty. They efficiently prune the action space and accelerate convergence toward near-optimal solutions within practical time constraints [78, 124].

Dynamic Tool Orchestration. To handle the dynamic nature of tool execution, Data Agents understand what tools are available, dynamically compose them into coherent orchestration sequences, and adapt their tool-use strategy on the fly as intermediate observations arrive [9, 65].

Routine Verifiability. Silent failures often remain undetected until the final result emerges, by which point the error may have already propagated through multiple preceding steps. Data Agents need routine checking that allows timely inspection of key analytical steps, so that errors can be caught at their source before they cascade [57, 87].

Generalized Repair. To overcome context-bound repairs, Data Agents must disentangle the underlying logical correction from the local context and abstract the repair into a generalized lesson, e.g., a reusable code template [135, 149]. This distills the correction into reusable knowledge, so that lessons learned from one task can transfer across structurally or statistically different data.

Recent work has begun to move in this direction: the literature is shifting from isolated query answering toward agentic data analysis over heterogeneous sources, and from static prompting toward feedback-driven iterative refinement [50, 70, 109]. Yet these advances remain highly fragmented. Most existing works focus on a narrow modality, task, or stage of the analytical workflow, with limited integration across the full data analysis process. As a result, they provide only partial support for cross-modal or long-horizon analyses, where different stages must remain coordinated over time. This fragmentation also obscures the common reliability challenges shared across otherwise disparate systems. It therefore motivates a systematic synthesis of the literature through the lens of a unified workflow harness, which is the focus of this survey.

  • First, we establish a formal foundation for Data Agents by defining the heterogeneous data environment and modeling the agent's operational trajectory. Then we conceptualize the necessity of a disciplined workflow harness to achieve reliability in data science tasks and mitigate silent failures, distinguishing our work from existing literature (Section 2).

  • Second, we introduce a five-stage workflow harness consisting of perception, planning, execution, verification, and repair, and systematically classify the technical methods within each stage into 15 distinct routes. Each stage is defined by a functional objective, and its three technical routes capture complementary mechanisms through which existing Data Agents realize that objective (Section 3).

  • Third, we identify four reliability problems that reveal why existing harnesses remain insufficient, and what future harness designs must address to overcome them (Section 4).

  • Fourth, we complement the workflow-harness analysis by examining what analytical capabilities Data Agents perform (Section 5), how these capabilities are composed in vertical

Zhou, et al.

application settings (Section 6), and how both capabilities and workflow reliability are evaluated by existing benchmarks (Section 7).

References (100)

Couldn't load all references. Reload the page to try again.