Manuscript Offprint
arXiv:2611.05761BobFlow: Towards Human-Agent Collaborative Data Science Using Dataflows
ABSTRACT
Recent advances in large language models (LLMs) have established human–agent collaboration as a promising paradigm for data science. Effective collaboration requires a shared computational abstraction that enables agents to reason about processing logic while allowing human analysts to understand, guide, and refine the analysis. Although scripts written in Python or SQL provide precise control, their syntax and execution details can be difficult for analysts to understand and modify. In this paper, we argue that dataflows are an effective abstraction for human–agent collaboration in data science. We introduce BobFlow, a system that combines the dataflow abstraction with the ReAct paradigm. It enables agents to iteratively construct and execute dataflows for data science tasks while allowing analysts to inspect the analysis and provide feedback. Our user study shows that BobFlow helps analysts understand, inspect, and verify agent-generated analyses. A thorough experimental evaluation across proprietary and open-weight LLMs shows accuracy score gains of up to 18.6 points at just over 1/3 of a script-based ReAct agent's inference cost.
PVLDB Reference Format:
Jiadong Bai, Yicong Huang, and Chen Li. BobFlow: Towards Human-Agent Collaborative Data Science Using Dataflows. PVLDB, 20(1): XXX-XXX, 2027.
doi:XX.XX/XXX.XX
1 INTRODUCTION
Recent advances in large language models (LLMs) are fundamentally transforming how humans and AI agents collaborate on data science tasks [34, 61]. Most commonly, agent-assisted data science has followed a human-led paradigm, where human analysts drive the analytical process, and AI agents assist with individual tasks, such as code generation, data transformation, and result interpretation [27, 50]. Recently, a growing number of LLM-powered agents have demonstrated the ability to plan and execute complex analytical tasks autonomously. Systems such as Claude Science [2], OpenAI's in-house data agent [38], and Google's multi-agent Co-Scientist [18] exemplify this trend. As a result, data science is shifting toward an agent-led, human-guided paradigm, in which analysts increasingly supervise agent-driven analyses, evaluate analytical decisions, and provide high-level guidance.
This shift introduces new challenges for effective human-agent collaboration [27, 56]. In traditional human-led analytics, analysts maintain a natural understanding of the analytical process because they directly perform and control its individual steps. In contrast, when agents autonomously carry out complex, multi-step analyses, potentially involving multiple collaborating agents [18, 54, 61], human analysts may no longer be directly involved in the decisions and operations that produce the results. To effectively supervise these processes, humans must be able to quickly understand what agents have done, evaluate their analytical decisions, and provide timely feedback to guide subsequent steps [45, 62]. Moreover, analysts may wish to intervene in ongoing analyses or revisit earlier analytical states to explore alternative directions. This calls for interaction mechanisms that let humans efficiently understand, evaluate, and steer agent-driven analyses while preserving agents' autonomy.
The Need for a Shared Computational Abstraction. A central design choice for such human-agent collaboration is the computational abstraction, an intermediate representation through which humans and agents conduct and interact with an analysis. Beyond expressing computational intent, this abstraction determines how analytical steps and their dependencies are exposed, how humans can inspect and modify agent-generated analyses, and how agents can reason about intermediate results and plan subsequent actions. It must support human comprehension and agent reasoning.
Existing computational abstractions offer different trade-offs. Natural language is accessible but often lacks precise semantics [57]. General-purpose programming languages, such as Python, are expressive and precise, but require analysts to understand program syntax, variables, and execution state to inspect or modify an analysis [48, 55]. SQL provides a higher-level declarative abstraction with well-defined relational semantics, but does not naturally expose intermediate steps as independently inspectable and editable components. These abstractions express computations effectively, but none is designed specifically for the iterative inspection, modification, and feedback that human-agent collaboration requires.
For example, consider a movie-analysis task involving two CSV files: movies.csv, containing movie titles, genres, ratings, and release years, and budgets.csv, containing production budgets. An analyst asks, "Which highly rated movies have below-average budgets compared with movies released in the same decade?" As illustrated in Figure 1, natural language expresses the analytical intent concisely but leaves important decisions unspecified, such as the rating
This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing info@vldb.org. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.
Proceedings of the VLDB Endowment, Vol. 20, No. 1 ISSN 2150-8097. doi:XX.XX/XXX.XX

Figure 1: Three abstractions of the same movie-analysis task. Natural language leaves decisions unspecified; Python is precise but harder to understand and modify; dataflows expose operators, dependencies, and intermediate results for targeted feedback.
threshold and how to handle missing budgets. Python can precisely implement the analysis by joining the files, grouping movies by release decade, computing average budgets, and filtering the results. However, understanding or modifying the agent-generated script requires the analyst to navigate the code and reason about intermediate variables and their dependencies.
Dataflows as a Shared Computational Abstraction. We argue that dataflows, represented as directed acyclic graphs (DAGs) of declarative operators and data dependencies, provide an effective shared abstraction for human-agent collaboration. Each operator represents an analytical step, such as scanning, filtering, joining, or aggregating data, while directed edges capture the dependencies between these steps. By combining well-defined computational semantics with an intuitive visual representation, dataflows enable agents to construct and reason about analyses while allowing human analysts to understand, inspect, and modify them.
As illustrated in Figure 1, dataflows offer three key benefits. First, precise: each operator explicitly specifies an analytical operation, such as filtering movies with ratings above a threshold or computing the average budget for each release decade. Second, intuitive: the visual representation exposes analytical steps and their dependencies, allowing analysts to follow the analysis without navigating program syntax or intermediate variables. Third, easier to give feedback: analysts can inspect intermediate results and modify individual operators to refine the analysis. For example, an analyst can examine the average budget for each decade and ask the agent to compare movies by genre instead, allowing the agent to revise the relevant operators while preserving the remaining analysis.
Importantly, the same abstraction can benefit agents as well. Operators, schemas, intermediate results, and data dependencies provide structured context for reasoning about the analysis. High-level operator declarations can avoid repeatedly presenting lengthy implementation scripts to the LLM, and dependencies can help select relevant observations during later interactions. Our experiments show that, compared with the script abstraction, the dataflow abstraction can improve task accuracy scores and reduce inference cost simultaneously in most settings, with the largest observed gains reaching double-digit points in accuracy score and over 2.8× in inference-cost efficiency. These benefits can improve performance in human-agent collaboration on data science tasks.
Building on this abstraction, we present BobFlow, a data science system that enables human analysts and LLM agents to construct, execute, inspect, and refine dataflows collaboratively. It grounds agent actions in declarative operators and integrates them with an execution engine, retained results, conversation history, and a visual interface. Our contributions are:
- Dataflow abstraction (Section 3). We identify key human-agent collaboration requirements and formalize dataflows with declarative operators and explicit data dependencies.
- Dataflow ReAct framework (Section 4). It lets agents incrementally construct, modify, and execute dataflows through iterative reasoning and actions.
- Human-agent interaction (Section 5). Our context tracker maintains conversation and dataflow snapshots for interruption and exploration from historical states.
- Dataflow-aware context optimizations (Section 6). For agent reasoning, we summarize intermediate results with samples and statistics and prune irrelevant historical observations using dataflow dependencies.
- Experimental evaluation (Section 7). We comprehensively evaluate BobFlow and the underlying dataflow abstraction with a user study and experiments comparing BobFlow with a baseline script-based agent across proprietary and open-weight LLMs.
2 PRELIMINARIES
2.1 Data Science Tasks and Computational Abstractions
A data science task is a natural-language instruction that asks a question or requests an analysis over given data. For example, a human analyst submits this task over two CSV files:
"Using movies.csv and rating.csv, which Comedy movies receive a 5-star rating?"
This task asks for Comedy movies with at least one 5-star rating.
To solve a data science task, an analyst uses a computational abstraction to declare data-processing steps, execute them on an engine, and store and retrieve their results. Example abstractions include Python scripts and SQL queries. With Python, the analyst writes code specifying the processing steps, and a Python interpreter executes it. Results are retained in variables or saved to files and loaded later. With SQL, the analyst writes a query specifying the desired result, and a query engine executes a physical plan to compute it. Results are returned or stored in a table for later queries.
2.2 LLM-Based Agents for Data Science
Similar to human analysts, LLM agents solve data science tasks by declaring analytical steps through a computational abstraction, requesting their execution, and examining the results. For a given abstraction, we describe LLM agents through their environment, actions, and action paradigm [47, 52], as shown in Figure 2.

Figure 2: Human-agent collaboration on data science tasks.
Environment. The environment provides an engine for executing a declared analysis and storage for data and execution results. For example, a Python interpreter executes scripts [51], with data files and intermediate results stored in memory or on disk for retrieval. Actions. An agent interacts with the environment through predefined actions. Each action specifies an operation and its arguments, such as a script to execute or a result to retrieve. The available actions and their formats are described to the LLM. The environment carries out each action and returns an observation, such as an execution result or an error message.
Action Paradigm. An action paradigm describes how an agent uses an LLM to reason about a task and generate actions. ReAct [60], a common paradigm for data science agents, interleaves reasoning with actions [14, 22, 23, 36, 58]. In each step, the agent provides an LLM with a context including the task, available action descriptions, and a history of earlier reasoning, actions, and observations. The LLM reasons over this context and generates actions to be executed by the environment. The agent appends the generated reasoning, actions, and returned observations to the history for the next step. The loop ends when the agent completes the task or reaches a step limit.
2.3 Human-Agent Collaboration
Human-agent collaboration is a powerful paradigm because data science tasks often require iterative refinement of the analysis [15, 50]. We identify three collaboration primitives in Figure 2.
-
Action Primitives. Allow both the analyst and agent to create and modify data-processing steps, execute them, and inspect results. For example, the analyst can change the rating condition to include 4-star ratings and retrieve the matching movie titles.
-
Conversation Primitives. Enable two-way communication: the analyst provides tasks, feedback, and questions, while the agent reports its reasoning, actions, observations, and answers.
-
Control Primitives. Allow the analyst to interrupt the agent, inspect history and earlier results, and resume from a previous version in a new branch while preserving subsequent analyses. In this paper, we want to answer the following question:
What is the right abstraction to enable effective human-agent collaboration on data science tasks?
3 IDENTIFYING THE RIGHT ABSTRACTION
In this section, we identify the requirements for an effective computational abstraction and examine how dataflows support human-agent collaboration in data science.
3.1 Requirements for the Right Abstraction
Data science tasks involve declaring and executing sequences of data-processing steps, which can be expressed through different computational abstractions. For effective human-agent collaboration, we identify three requirements for the abstraction:
-
Requirement 1: Precise Semantics. Each data-processing step should have well-defined semantics that unambiguously specify its operation, enabling agents to execute analyses consistently and analysts to verify alignment with their analytical objectives.
-
Requirement 2: Intuitive Representation. The abstraction should represent analytical steps through high-level operations that analysts can easily understand and verify, without exposing low-level implementation details, while remaining concise for agents to generate and manipulate.
-
Requirement 3: Step-Level Execution Transparency. Each analytical step should remain identifiable during execution, with intermediate results accessible to both analysts and agents. The abstraction should expose step dependencies, allowing analysts to inspect individual operations, provide targeted feedback, and iteratively refine the analysis.
Table 1: Abstractions for human-agent collaboration.
| Abstraction | Precise Semantics | Intuitive Representation | Step-Level Transparency |
|---|---|---|---|
| Natural Language | X | ✓ | X |
| Programming Language | ✓ | X | ✓ |
| SQL | ✓ | X | X |
| Dataflow | ✓ | ✓ | ✓ |
Table 1 compares common abstractions in terms of these requirements. Natural language lacks precise semantics due to its inherent ambiguity and potential inconsistency across interpretations, while programming languages expose physical implementation details. SQL provides a precise, declarative specification, but does not expose the intermediate result of each declared step. Moreover, the optimizer may substantially rewrite the physical plan, so even a small declaration change can invalidate the execution structure and its intermediate results, complicating step-by-step iteration.
These limitations motivate an abstraction with precise semantics, intuitive representation, and step-level execution transparency.
3.2 The Dataflow Abstraction
We propose dataflows as an abstraction satisfying these requirements. We next specify this abstraction and explain its benefits.
Declarative Operators. We define a declarative operator (or “operator” for short) as a logical specification of a data-processing operation, independent of its physical implementation. Its inputs and outputs are structured tables, and its declaration specifies how to produce the outputs from the inputs. A source operator takes no input tables; its declaration instead specifies how to produce output tables by loading data from files or external sources.
At execution time, each declarative operator can map to one physical implementation, which may differ across dataflow engines while preserving its data-processing semantics. We define a set of declarative operators that capture common data-processing semantics, as shown in Table 2, along with example physical implementations in Pandas or PySpark. We also define a custom declarative operator to represent data-processing semantics not covered by the predefined operators in the above set. A custom operator specifies the intended processing logic with a generated description, while the dataflow engine registers its physical implementation separately. For example, custom("extract entities from text") describes an operator that extracts entities from its input text, without specifying how the entity extraction is implemented.
Table 2: Declarative operators and example implementations.
| Declarative operator | Pandas | PySpark |
|---|---|---|
| scan({path}, {options}) | pd.read_csv(...) | spark.read.csv(...) |
| filter({condition}) | query(...) | filter(...) |
| distinct({columns}) | drop_duplicates(...) | dropDuplicates(...) |
| sort({columns}, {orders}) | sort_values(...) | orderBy(...) |
| limit({offset}, {count}) | iloc[...] | offset(...).limit(...) |
| project({mapping}) | [...][...].rename(...) | select(...) |
| cast({types}) | astype(...) | select(...) |
| join({keys}, {mode}) | merge(...) | join(...) |
| union() | pd.concat(...) | unionByName(...) |
| aggregate({groups}, {measures}) | groupby(...) | groupBy(...) |
| custom({description}) | .agg(...) | .agg(...) |
Data Edges. Declarative operators are connected through directed data edges, which specify how one operator's output supplies another operator's input. Formally, an edge denotes that the output table of operator , with schema specifying its column names and types, is supplied to operator . The edge thus records a data dependency and the table's schema.
Dataflow. A dataflow is a directed acyclic graph (DAG), denoted as , where is a set of declarative operators and is a set of data edges. An operator with no outgoing data edges is a sink. Figure 3 shows a dataflow with eight declarative operators for model training and inference. Operators load labeled text from train.csv, remove rows with missing labels, and train a text classifier. The output of also feeds , which counts training examples by label. Operators load test.json, select its text column, and remove rows with missing text. The inference operator consumes this cleaned inference data and a one-cell table containing the trained model produced by , then outputs predicted labels. Operators and are sinks of this dataflow.
Dataflow Execution. To execute a dataflow, the engine maps each declarative operator to one or more physical operators, connected by physical edges that carry data. Together, they form a DAG called a physical plan. Figure 3 illustrates an example dataflow and its physical plan mapped by a dataflow engine. The dataflow abstraction is independent of the physical implementation's programming language (e.g., Python, Java, or Scala) and execution model (e.g., operator-by-operator or pipelined execution). The engine must preserve the dataflow's declared semantics and data dependencies regardless of implementation. The engine also collects runtime profiles for physical operators, including execution status, processing

Figure 3: A dataflow for ML model training and inference, with a corresponding physical plan.
latency and rate, and data volumes and transfer rates. These profiles are linked to the corresponding declarative operators, letting analysts and agents monitor individual analytical steps.
The engine retains output tables, including sink outputs, for later inspection. We define a dataflow execution as , where is the submitted dataflow and contains execution results indexed by declarative operator. For each , its result includes output tables on success or error traces on failure, together with the available runtime profiles of its physical operators.
3.3 The Dataflow Abstraction in Data Science
We illustrate how dataflows support humans and agents in constructing, refining, executing, and inspecting data science analyses. Declaring and Refining an Analysis. Humans and agents express data-processing logic using the predefined declarative operators listed in Table 2 or custom operators with natural-language descriptions and separately registered physical implementations. They compose complex analyses by connecting operators through data edges, allowing branches to share upstream results and combine outputs using operators such as join and union. The resulting DAG makes data dependencies explicit, enabling humans and agents to understand individual steps by inspecting their operator declarations and tracing upstream dependencies. For example, understanding the label counts produced by in Figure 3 requires examining . Similarly, downstream dependencies reveal which results may be affected by an edit. Changing the filter condition in may affect label counts, model training, and predictions, while leaving the test-data preparation branch unaffected.
Specifying and Inspecting Execution. Humans and agents execute selected declarative operators along with their required upstream dependencies. During execution, they can monitor operator-level runtime profiles, including execution status, processing rates, and data-transfer rates and volumes. After execution, they can inspect result tables and retained runtime profiles to verify results and evaluate performance, or examine error traces to diagnose failures.
4 BOBFLOW: A DATAFLOW REACT SYSTEM
In this section, we present BobFlow, a system that uses dataflows as a shared abstraction for human-agent collaboration in data science.
4.1 System Overview
Figure 4 shows BobFlow's four components: a data lake, dataflow engine, LLM agent, and dataflow graphical user interface (GUI).
Data Lake. We use a data lake as the persistent storage layer of BobFlow. It stores the data for analysis, such as files in object storage or file systems. It also stores system states, including dataflow execution results and metadata. Storage options include Apache Iceberg [6] tables, DBMs [49], and key-value stores [42].
Dataflow Engine. A dataflow is executed by an engine, such as Apache Texera¹ [7], Apache Hamilton¹ [5], Dagster [11], or Dask [41]. During execution, the engine reads source data from the data lake and stores intermediate results.
LLM Agent. Bob is an LLM agent that collaborates with analysts through conversations, each maintaining a shared dataflow and interaction history. It connects to LLMs through APIs and uses ReAct to solve tasks with the dataflow abstraction. A Dataflow MCP component, based on the Model Context Protocol (MCP) [1], executes LLM-generated actions, supporting dataflow inspection and editing, custom operator implementation management, dataflow execution, and result retrieval. A context tracker records conversation history and dataflow changes, enabling analysts to inspect reasoning and results, revisit earlier states, and branch from historical steps.
Dataflow GUI. The GUI supports human-agent collaboration on a shared dataflow and conversation. Its dataflow canvas lets analysts construct and execute dataflows, inspect operator runtime status and results, and select operators or edges for feedback to Bob. The chat interface lets them discuss tasks with Bob, review its reasoning, and provide feedback in natural language.

Figure 4: System architecture of BobFlow.
¹Apache Hamilton and Apache Texera are currently undergoing incubation at the Apache Software Foundation.
4.2 Solving a Task Using Dataflow ReAct
Solving a data science task requires multiple iterations in which an analyst and an agent reason about a dataflow and its execution results, revise the operators, and execute the updated dataflow. To support this iterative process, BobFlow adopts ReAct [60] and uses the dataflow abstraction for the agent's reasoning and actions. We call this framework Dataflow ReAct. Figure 5 illustrates how the agent solves the task in Section 2.1 using Dataflow ReAct. Using this example, we describe a step's three phases (Assemble, Think, and Act), then explain how the agent iterates to compute an answer.

Figure 5: Dataflow ReAct life cycle for a data science task.
Definition 4.1 (Agent Actions). We define an action as a primitive operation exposed by BobFlow that an agent invokes with specific arguments to interact with the system. Table 3 lists the supported action types, which allow the agent to inspect and modify the dataflow and custom operator implementations, execute dataflows, and retrieve execution results.
Table 3: Actions for solving tasks using dataflows.
| Action | Specifies | Application |
| DescribeReasoning | Reasoning | Display reasoning in chat. |
| AnswerTask | Answer | Display answer in chat. |
| GetDataflow | Operators, edges | Inspect operators, schemas, and edges. |
| SetDataflow | Dataflow changes | Add, delete, or update operators and edges. |
| GetCode | v ∈ V | Retrieve registered physical implementation. |
| SetCode | Code | Register implementation for custom operators. |
| ExecuteDataflow | D' ≤ D | Execute the specified dataflow. |
| GetExecution | v ∈ V | Retrieve full results, samples, statistics, or errors. |
Initialization. When the agent receives the first data science task in a new conversation, it initializes an empty dataflow to represent the analysis throughout the Dataflow ReAct loop. This dataflow is shared by the agent and the analyst, allowing both to inspect and revise the same analysis. To retain the analyst's instructions and the actions carried out during the analysis, the agent maintains a shared conversation history . We model as a chronological sequence of entries and initialize it with the built-in system prompt , followed by the task . The system prompt contains: A goal that directs the LLM to solve the given data science task using the dataflow abstraction.
Available resources that Bob can access, including the dataflow, the declarative operator specifications in Table 2, the dataflow engine, the data lake, and the available actions in Table 3.
End-to-end examples that show how the LLM can solve a task by reasoning over the current conversation and generating actions in the expected formats.
Phase 1 (Assemble): Preparing the Context. In this phase, Bob constructs context from conversation history so that the LLM can decide what actions to take next. For each step, and denote the actions and their corresponding observations. History records action-observation pairs chronologically:
Throughout this section, we assume that each step's context contains the full conversation history, i.e., . Note that the dataflow is not included directly in , since recorded actions suffice to reconstruct it. In Figure 5, at ; at , it also contains the actions and observations from the initial scans.
Phase 2 (Think): Reasoning over the Context. In this phase, Bob sends to the LLM, which generates action sequence to advance the analysis. The LLM can include DescribeReasoning to communicate its reasoning to the analyst. In our running example, at , it plans to inspect the input schemas and data through scans and before constructing the analysis. It generates actions to create scan operators and , execute both operators, and retrieve their results. Through DescribeReasoning, the LLM explains how the scans guide the search for Comedy movies with 5-star ratings.
Phase 3 (Act): Carrying Out the Actions. Bob executes sequentially and appends each action-observation pair to when completes. Observations may include dataflow changes, execution status, or retrieved results. At , Bob displays the reasoning in chat, creates and executes the two scans through Dataflow MCP, and retrieves their schemas, sample tuples, and runtime profiles. The schemas reveal a shared join key, movie_id. The samples reveal an extra title row to skip in and both single and pipe-separated genres in , such as Drama and Comedy | Romance.
The Loop: Iterating Assemble-Think-Act Steps. Together, the Assemble, Think, and Act phases form one step, as shown in Figure 6. Across steps, Bob maintains the evolving dataflow and uses history to assemble the next context. The loop ends when the agent applies AnswerTask or reaches the step limit.
In Figure 5, at , the LLM uses the initial scan results to plan data cleaning and filtering. The agent registers a custom implementation via SetCode to split and unnest movie genres and retain Comedy movies. It also updates scan to skip the extra title row in rating.csv, adds filter for 5-star ratings, and adds custom operator to process the output of movie scan . The agent then
executes and and retrieves their results. At , the results reveal that identifies movies by movie_id without titles, while provides Comedy movies with titles. The agent joins their outputs on movie_id using and retrieves the titles. At , the LLM generates an AnswerTask action based on the retrieved titles, which Bob applies to return the answer and terminate the loop.
5 HUMAN INTERACTIONS WITH THE AGENT
Human analysts may need to interact with the agent during a Dataflow ReAct loop, for example, to redirect the analysis, ask a question, or modify the dataflow by adding or editing an operator. BobFlow supports these interactions.
5.1 Capturing Human Interactions in Context
Definition 5.1 (Human Interactions). Human analysts can interact with Bob through two interfaces in BobFlow: a chat interface and a dataflow canvas. On the chat interface, BobFlow allows analysts to send tasks to Bob, which starts a Dataflow ReAct loop to handle them. On the dataflow canvas, BobFlow allows analysts to perform the actions related to the dataflow in Table 3 on the shared dataflow . To handle these actions from the analyst, the canvas supports inspecting and editing operators and edges, while the dataflow engine handles execution requests and the data lake handles execution result retrieval. We call each task submission or canvas action a human interaction. As described in Section 4.2, the initial task is stored directly in . After handling a subsequent interaction, the system appends an entry to the history , where records the submitted task or canvas action and records the resulting observation. The extended history is in the form
This extension allows Bob to incorporate the analyst's interactions into subsequent Dataflow ReAct loops.
Definition 5.2 (Context Snapshot). A context snapshot logically captures the state of human-agent collaboration at a particular point in time. Its conversation snapshot contains the history up to that point, and its dataflow snapshot captures the corresponding state of the shared dataflow.
Context Tracker. To capture and manage the evolving context of human-agent collaboration, a context tracker maintains snapshots as a tree and tracks a current snapshot from which the analyst and agent continue their analysis. The root represents the initial state with conversation history and an empty

Figure 6: Assemble, Think, and Act in Dataflow ReAct.
dataflow, and is set as the current snapshot when a conversation begins. Each completed human interaction or agent action advances the collaboration from the current snapshot to a new snapshot , adding to and making the new current snapshot. The edge records the conversation entry introduced by the human interaction or agent action together with its changes to the dataflow. Rather than materializing the complete and for every snapshot, the context tracker records these incremental changes along the edges of .
5.2 Commands to Enable Human Interactions
To enable human interactions throughout the analysis, BobFlow provides two commands: interrupt and jump. As illustrated in Figure 7, interrupt allows an analyst to stop an ongoing Dataflow ReAct loop and interact with the current snapshot, while jump allows the analyst to return to an earlier snapshot and interact from that point.

Figure 7: Human interactions in Dataflow ReAct.
Command 1: Interrupting the Dataflow ReAct Loop. During a Dataflow ReAct loop, the analyst can monitor Bob's actions, evolving dataflow, and execution results through the GUI. To provide feedback, modify the dataflow, or redirect the analysis, the analyst can issue an interrupt command to the agent to stop the loop. During Assemble, Bob stops context preparation without modifying the conversation or dataflow. During Think, it discards the pending LLM response without applying its proposed actions. During Act, it cancels the ongoing action, discards uncommitted changes, and restores the latest completed snapshot. In all cases, the context tracker ensures that the analyst and agent can resume from a consistent snapshot .
For example, in Figure 7, the analyst decides to redirect the analysis while Bob is identifying Comedy movies with 5-star ratings. The interruption sequence illustrates how the analyst interrupts the Dataflow ReAct loop after , while the agent is applying the first action of the illustrated step. The agent cancels this action, discards its uncommitted changes, and terminates the loop. The context tracker restores the conversation history and dataflow , allowing the analyst to intervene from a consistent snapshot. The agent then reports that it is ready.
Command 2: Jumping to a Snapshot. An analyst may revisit an earlier snapshot to provide feedback, ask questions, inspect results, or redirect the analysis. BobFlow allows the analyst to jump to any snapshot in when no Dataflow ReAct loop is running.
When the analyst selects a snapshot , the context tracker restores its conversation history and dataflow using the incremental changes recorded in . This can be achieved by reconstructing the selected snapshot from the root or reverting changes from the current snapshot. Optionally, checkpointing can also be used to
accelerate restoration. The tracker then sets as the current snapshot and restores the corresponding conversation and dataflow in the GUI. Subsequent interactions can create new branches without modifying existing analyses, allowing analysts to navigate between snapshots and explore alternative directions.
For example, after interrupting the loop at in Figure 7, the analyst jumps to to inspect the two scans and their results. The tracker restores and , after which the analyst submits a new task () requesting each movie's average rating. This creates as a child of and starts a new branch. The agent continues from the restored context, computes average ratings using the existing scans, and returns the answer at . Both branches share the history up to , while the original analysis at remains accessible.
6 DATAFLOW-AWARE CONTEXT OPTIMIZATIONS
So far, we have assumed that context C preserves the full conversation history . Context composition affects both decision accuracy and token cost: relevant information supports reasoning, while unnecessary information increases cost and may distract the LLM [31, 59]. We relax this assumption and use two dataflow properties to optimize C: data properties of operator outputs to improve result representation, and topology properties of operator dependencies to select relevant historical results for analyst interactions.
6.1 Context Optimization with Data
During the Dataflow ReAct loop, the LLM inspects execution results to understand the data, check whether operators produce the intended output, and decide which actions to take next. To inspect these results, the LLM generates GetExecution actions, each specifying an operator. Bob retrieves the requested results and records them as observations for the next step's context. The challenge is to represent these results in context, preserving information needed for accurate decisions without excessive token costs.
We compare representations and their trade-offs with this task:
"Using movies.csv and rating.csv, which five Comedy movies have the highest average ratings?"
To solve this task, the LLM first creates and executes two scan operators to inspect the movie and rating files. Figure 8 compares representations of the movie scan's output.
Baseline Approach. Including an operator's full output in the context gives the LLM access to all records for identifying data patterns. In the running example, the movie scan returns 10,000 records with single-genre values such as Comedy and multi-genre values such as Comedy|Romance and Comedy|Drama, helping the LLM recognize that filtering for Comedy movies must account for multiple genres. However, the full output incurs high token costs and may exceed the LLM's context window. Truncating it, for example, to 5,000 characters reduces its size but may hide important patterns, leading to incorrect assumptions about the data and inappropriate downstream operations. If only single-genre values remain, the LLM may apply filter (genre='Comedy'), incorrectly excluding multi-genre Comedy movies.
Optimization: Samples and Result Statistics. In the dataflow abstraction, each operator produces a structured table with a schema specifying its columns and their types. We refer to these properties as data properties, which enable us to represent the output table with sample tuples and result statistics. Sample tuples provide the LLM with examples of the output data. Result statistics cover row and column counts, duplicate and all-null row counts, and per-column null, non-null, and distinct counts. Type-specific statistics include numerical minima and maxima, the five most frequent string values and their counts, Boolean true and false counts, and earliest and latest datetime values. Together, samples and statistics provide a compact, informative view of the output data, helping the LLM understand execution results accurately with fewer input tokens.
In the running example, Figure 8 shows excerpts of an optimized representation with 20 sample tuples and result statistics. The value distribution of the genre column reports 150 occurrences of Comedy | Romance and 120 of Comedy | Drama. These values help the LLM recognize that it should split and unnest the genre column before filtering for Comedy movies. This representation provides the information needed to specify the filter correctly at a lower token cost than including all 10,000 records.
BobFlow computes result statistics through the dataflow engine once an operator's output table is complete. Using the table's schema, the engine computes type-specific column statistics and row-level statistics in a full-table scan, then stores them alongside the output in the data lake. Samples are retrieved directly from the stored table without separate precomputation.
To support these representations, we extend the GetExecution action in the Dataflow ReAct framework to allow the LLM to request either sample tuples with statistics or the full execution result. Based on the request, Bob retrieves the corresponding data from the data lake and records it as the action's observation.
6.2 Context Optimization with Topology
As described in Section 4.1, an analyst can inspect execution results and select operators on the dataflow canvas to ask Bob questions or provide feedback. Such interactions may require only part of the history. For example, while Bob identifies the five Comedy movies with the highest average ratings, the analyst selects , which splits and unnests movie genres, and asks why the same movie appears in multiple output rows. To answer, Bob can examine 's genre rows and the output of its upstream movie scan , as shown in Figure 9. Since GetExecution results are recorded as observations in the history, retaining relevant observations can give the LLM context needed to respond while reducing token cost and distractions.

Figure 8: Full output versus samples and result statistics.
Optimization: Pruning Irrelevant Observations. The directed edges in a dataflow encode dependencies between operators. We refer to these structural relationships as topology properties, which provide a way to identify which observations to retain. The analyst's selection identifies the operators whose results the interaction concerns, and Bob uses these dependencies to identify all their upstream operators. During the Assemble phase immediately after the interaction, Bob retains in C the observations associated with relevant actions and interactions, replacing irrelevant observations with minimal markers of their occurrence.

Figure 9: Pruning irrelevant observations for at .
Formally, let be the dataflow at the time of an analyst interaction , and let be the nonempty set of operators selected by the analyst for this interaction. An operator is upstream of a selected operator if there is a directed path from to in . We define as the sub-DAG containing the selected operators, all their upstream operators, and the edges in between these operators. To construct , Bob first derives from the analyst's selected operators . Starting with an empty context , Bob traverses the conversation history in chronological order. For each action-observation pair , if is a GetExecution action, Bob checks whether its specified operator belongs to . If so, Bob retains in ; otherwise, it retains and replaces with a marker. All other history entries are appended to unchanged. In the example, contains the selected operator , its upstream movie scan , and their connecting edge, as shown in Figure 9. The context retains their GetExecution observations and replaces those for the rating scan, Comedy filter, and join with minimal markers. Together with the task, reasoning, and actions, these observations allow the LLM to explain that splitting and unnesting the genre column produces a row for each of a movie's genres.
Trade-off: Prompt Caching. Many LLM providers offer prompt caching, which reuses an unchanged initial token sequence and charges a lower rate for cached input tokens [40]. Pruning modifies earlier observations and can shorten this reusable prefix, so more retained input tokens incur the uncached rate. Consequently, the additional cost of uncached tokens may outweigh the savings from reducing the context size. When earlier conversation history is no longer cached or prompt caching is disabled, pruning reduces uncached input tokens and can lower inference cost.
7 EXPERIMENTS
We evaluated the effectiveness of the dataflow abstraction as a shared medium for human-agent collaboration in data science. We conducted a user study to evaluate how BobFlow and a script-based agent support analysts in understanding, verifying, and guiding agent-generated analyses during task completion and debugging. For agents, we evaluated BobFlow's task accuracy and inference cost on three benchmarks, comparing it with the script-based agent, ablating both context optimizations, and adding representative case analyses and latency and memory measurements in human interactions.
7.1 Experimental Setup
Benchmarks. We used three benchmarks for table preparation, end-to-end analysis, and dependent interactions. PrepBench [57] contains 306 tasks, each requiring 3–18 transformation steps, over 829 CSV files; we used its clarified requests to evaluate table preparation. KramaBench [29] contains 104 tasks over 1,764 files from 24 heterogeneous sources, evaluating end-to-end data discovery, preparation, integration, and analysis. LongDS-Bench [58] evaluates multi-turn analysis; we used v1.1 Lite [64], with 24 sessions and 777 interactions across six domains, to assess state reuse, historical revisiting, and alternative analyses. Each benchmark turn corresponds to an interaction in which the analyst submits a request to the agent. BobFlow Implementation. We built BobFlow based on Apache Texera [7, 53], an open-source dataflow system, extending its components to implement the architecture in Figure 4. At the GUI layer, we added an interaction panel to each operator for analyst feedback and rendered the snapshot tree for revisiting snapshots. We implemented Dataflow ReAct and added the context tracker with the data-property and topology-property optimizations. We configured LiteLLM v1.83.10 [32] as the LLM API proxy. We built a Dataflow MCP component to let Bob apply dataflow actions to the dataflow engine Amber [28] and interact with the data lake. At the data-lake layer, we stored analyst files in MinIO [35], operator outputs as Apache Iceberg [6] tables, and system metadata in PostgreSQL [49]. Baseline and Experimental Environment. We used smolagents CodeAgent v1.23.0 [43], a Python-based ReAct agent, as a baseline (Script ReAct). In each step, the LLM generated an ExecuteCode action containing Python code executed in a shared environment, with printed output recorded as an observation. The baseline provides a built-in chat interface for submitting tasks and checking the agent's reasoning, generated code, and execution output. Script ReAct follows the same ReAct paradigm as Dataflow ReAct but uses scripts to express and execute analyses, enabling comparison of the two abstractions. Experiments ran on a server with an AMD Ryzen 9 7900X (12 cores, 24 threads), 31 GiB RAM, Ubuntu 20.04.5 LTS, and Python 3.12.12. We accessed the LLMs through APIs.
7.2 Dataflow's Benefits for Human Analysts
We conducted a user study to evaluate how the dataflow abstraction helps analysts collaborate with agents, understand and verify their analyses, and guide the analytical process. We recruited 16 participants with varying levels of data science experience: six reported advanced experience, three intermediate, five beginner, and two no prior experience. Fourteen reported familiarity with at least one programming language. We asked participants to complete two human–agent collaboration scenarios using BobFlow and Script ReAct. We used Claude Haiku 5.5 [3] in both systems in this study. Scenario 1: Starting a Task from Scratch. This scenario examined whether dataflows can support human analysts in collaborating with agents end to end on a data science task. Participants were given an Olympic history dataset [19] and asked to collaborate with the agent on a task to identify the continents with the most gold medals. Participants 1–9 used Script ReAct, while participants
10–16 used BobFlow. By analyzing traces of participants using the agent, we found that the dataflow abstraction helped participants collaborate more effectively with the agent on solving the given task. As shown in Figure 10, all participants using BobFlow reached the correct answer with their first request, whereas a third of the participants using Script ReAct needed further requests, and the agent in BobFlow used fewer iterations and less model inference time per task.

Figure 10: User study results for Scenarios 1 (S1) and 2 (S2).
Scenario 2: Debugging an Existing Task. Next, we examined how dataflows support interaction with the agent on an existing analysis. In this scenario, for each system, we prepared a pipeline generated by an agent for the Inside Airbnb dataset for San Francisco [24] and introduced an equivalent price-parsing mistake, causing unexpectedly low average rental prices. Each participant received the pipeline corresponding to their assigned system: participants 1–9 used BobFlow with a given dataflow, while participants 10–16 used Script ReAct with a given script. Participants were asked to identify and correct the mistake by interacting with the corresponding agent, without prior knowledge of the underlying cause. Our system traces again showed that the dataflow abstraction made interaction with the agent more effective. As shown in Figure 10, participants identified the bug at comparable rates in both systems, while the agent in BobFlow handled each interaction with less than half the iterations and about a third of the model inference time.
User Evaluations. To better understand participants' experiences with each system, we asked them to complete a questionnaire using a five-point Likert scale and analyzed their responses. The results shown in Table 4 echoed the benefits of dataflows for human–agent collaboration. In particular, participants found it much easier to follow data lineage across analytical steps with BobFlow, rating this item 1.9 points higher than with Script ReAct. They also found it easier to locate problematic steps, with a 0.8-point improvement, helping them identify where interaction with the agent was needed.
Table 4: Participant ratings of intuitiveness, transparency, and control (1 = strongly disagree; 5 = strongly agree). Means are shown; bold indicates the more favorable score; = BobFlow – Script ReAct.
| Dimension | Questionnaire item | Script ReAct | BobFlow | |
|---|---|---|---|---|
| Intuitiveness | Easy to collaborate with the agent | 3.9 | 4.0 | +0.1 |
| Easy to grasp processed/produced tables | 3.5 | 4.3 | +0.8 | |
| Transparency | Confident about what each step does | 3.3 | 3.8 | +0.5 |
| Easy to view each step's output tables | 2.6 | 4.2 | +1.6 | |
| Easy to follow data lineage | 2.3 | 4.2 | +1.9 | |
| Clear final-answer vs. exploratory steps | 2.9 | 4.0 | +1.1 | |
| Easy to verify each step's output tables | 2.7 | 3.7 | +1.0 | |
| Hard to verify the agent's analysis | 3.8 | 3.6 | -0.2 | |
| Control | Easy to locate problematic steps | 2.6 | 3.4 | +0.8 |
| Confident only requested edits occur | 3.3 | 3.8 | +0.5 | |
| Easy to verify revised answers | 3.4 | 3.8 | +0.4 |
7.3 Dataflow's Benefits for Agents
To evaluate the dataflow abstraction's benefits for agents, we compared Script ReAct with BobFlow on KramaBench and PrepBench using the eight proprietary and open-weight LLMs [4, 12, 16, 17, 37, 39] listed in Table 5. BobFlow enabled the data-property and topology-property optimizations described in Section 6. We computed accuracy scores using each benchmark's evaluator and expressed them on a 0–100 scale. For PrepBench, correctness required all output tables to match their references under the official comparator, which checked row counts, key-aligned rows, and column-specific matching rules [57]. For KramaBench, we ran Script ReAct and BobFlow three times and reported the mean accuracy from the KramaBench evaluator [29]. We calculated inference cost from per-call token usage at OpenAI, Anthropic, and OpenRouter prices, reporting cost and token totals per benchmark run.
Table 5: Task accuracy scores and inference cost ($); bold indicates the better value (higher accuracy, lower cost).
| Benchmark | Agent | GPT-5.6Luna | GPT-5.6Terra | GPT-5.6Sol | GPT-6.1Sol | ||||
|---|---|---|---|---|---|---|---|---|---|
| Acc. | Cost | Acc. | Cost | Acc. | Cost | Acc. | Cost | ||
| KramaBench | Script ReAct | 62.3 | 0.40 | 64.3 | 6.99 | 68.9 | 10.22 | 78.9 | 3.22 |
| BobFlow | 76.4 | 0.30 | 72.3 | 2.76 | 76.4 | 5.09 | 78.4 | 1.67 | |
| PrepBench | Script ReAct | 69.9 | 1.21 | 71.9 | 24.56 | 79.4 | 45.97 | 90.5 | 17.33 |
| BobFlow | 83.3 | 0.99 | 86.3 | 8.67 | 88.6 | 16.50 | 90.8 | 6.33 | |
| Benchmark | Agent | Gemini 3.8Flash | Gemini 4Argon | DeepSeekV4.1-Flash | ClaudeOpus 5.5 | ||||
|---|---|---|---|---|---|---|---|---|---|
| Acc. | Cost | Acc. | Cost | Acc. | Cost | Acc. | Cost | ||
| KramaBench | Script ReAct | 67.0 | 10.31 | 77.7 | 11.40 | 68.4 | 0.62 | 77.9 | 4.76 |
| BobFlow | 81.9 | 6.38 | 76.2 | 6.15 | 73.1 | 0.66 | 77.1 | 4.35 | |
| PrepBench | Script ReAct | 70.9 | 37.05 | 88.6 | 33.41 | 85.6 | 1.40 | 90.2 | 17.76 |
| BobFlow | 89.5 | 13.22 | 91.5 | 15.42 | 88.9 | 1.31 | 90.5 | 16.89 | |
As shown in Table 5, BobFlow improved accuracy by 0.3–18.6 points in 13 of the 16 model-benchmark settings and reduced inference cost by 4.9–64.7% in 15 settings compared with Script ReAct. With Gemini 3.8 Flash on PrepBench, BobFlow improved accuracy by 18.6 points while reducing inference cost by 64.3%. BobFlow also decreased accuracy by 0.5–1.5 points in some settings, and these decreases fall within the random noise of LLM outputs.
We broke down the input and output token usage of Script ReAct and BobFlow to understand the cost difference. As shown in Figure 11, BobFlow generated 40.2–77.3% fewer output tokens than Script ReAct for GPT and Gemini across both benchmarks. BobFlow also used 1.1–62.3% fewer input tokens than Script ReAct in most
settings. On KramaBench with DeepSeek V4.1-Flash, BobFlow used 9.3% fewer input tokens but generated 19.8% more output tokens than Script ReAct, contributing to its 6.5% higher inference cost.
7.4 Effect of Data-Property Optimization
We evaluated data-property optimization ("opt1") by running PrepBench on BobFlow with and without opt1. As shown in Table 6, BobFlow reduced inference cost by 14.2–31.1% across all eight models, while accuracy changed by -0.7 to +2.2 points.
Table 6: Data-property optimization on PrepBench: BobFlow without opt1 → BobFlow. Accuracy changes are absolute; cost changes are relative.
| Model | Accuracy | Δ Acc. | Cost ($) | Δ Cost |
|---|---|---|---|---|
| GPT-5.6 Luna | 82.4 → 83.3 | +0.9 | 1.21 → 0.99 | -18.2% |
| GPT-5.6 Terra | 85.9 → 86.3 | +0.4 | 10.66 → 8.67 | -18.7% |
| GPT-5.6 Sol | 88.2 → 88.6 | +0.4 | 21.35 → 16.50 | -22.7% |
| GPT-6.1 Sol | 88.6 → 90.8 | +2.2 | 8.39 → 6.33 | -24.6% |
| Gemini 3.8 Flash | 90.2 → 89.5 | -0.7 | 16.19 → 13.22 | -18.3% |
| Gemini 4 Argon | 90.2 → 91.5 | +1.3 | 17.97 → 15.42 | -14.2% |
| DeepSeek V4.1-Flash | 86.9 → 88.9 | +2.0 | 1.90 → 1.31 | -31.1% |
| Claude Opus 5.5 | 88.9 → 90.5 | +1.6 | 24.48 → 16.89 | -31.0% |
We also compared engine execution times with and without opt1 during end-to-end task solving to measure the overhead of computing result statistics. For tasks processing more than 1 GB of input and producing large results, opt1 increased execution time by about 10% with essentially unchanged worker memory usage, motivating further work on efficient statistics computation.
7.5 Effect of Topology-Property Optimization
We evaluated topology-property optimization ("opt2") during human–agent interactions for task solving. In the absence of a dedicated benchmark for this setting, we used LongDS-Bench, which evaluates multi-turn analysis, to simulate human interactions, treating each session as a task and its requests as analyst interactions. We evaluated BobFlow with and without opt2 using three models: GPT-5.6 Luna, GPT-5.6 Terra, and DeepSeek V4.1-Flash.
During human–agent collaboration, analysts may continue an analysis while earlier prompts remain cached or resume it after the cache expires. Therefore, we considered two conditions for reusing cached prompts across interactions. In the warm-start condition, earlier prompts could be reused, and costs reflected the recorded cache usage. In the cold-start condition, earlier prompts were assumed to be unavailable; we estimated costs by charging the first model call of each interaction at uncached input rates while retaining recorded cache usage for subsequent calls.
Table 7: LongDS-Bench v1.1 Lite results; mean tokens in thousands per interaction.
| Model | Configuration | Accuracy | Input | Output | Cost ($) | |
|---|---|---|---|---|---|---|
| (K) | (K) | Cold | Warm | |||
| GPT-5.6 | BobFlow without opt2 | 42.9 | 126 | 1.4 | 9.73 | 3.54 |
| Luna | BobFlow | 42.9 | 54 | 1.9 | 5.43 | 4.85 |
| GPT-5.6 | BobFlow without opt2 | 54.6 | 99 | 1.2 | 88.33 | 29.52 |
| Terra | BobFlow | 58.4 | 45 | 1.5 | 49.37 | 43.47 |
| DeepSeek | BobFlow without opt2 | 58.0 | 239 | 4.0 | 9.87 | 2.57 |
| V4.1-Flash | BobFlow | 58.9 | 163 | 10.2 | 8.00 | 7.28 |
Figure 11: Input and output tokens per benchmark run.


Figure 12: Simplified traces of four KramaBench cases comparing BobFlow and Script ReAct.

Figure 13: Median context size (top) and cache-miss rate (bottom) versus the number of preceding interactions.
Table 7 compares accuracy, mean token usage, and total inference cost across all 777 interactions. Compared with BobFlow without opt2, BobFlow maintained or improved accuracy by up to 3.8 points and reduced input-token usage by 31.7–56.9%. According to the traces, after pruning, the agent sometimes generated additional actions to inspect earlier results and relevant parts of the dataflow. These additional actions contributed to the higher output-token usage with opt2. Opt2 also reduced estimated cold-start cost by 18.9–44.2% but increased warm-start cost by 37.0–182.9%.
Context Size Across Interactions. To examine how opt2 reduced input-token usage, we measured context size as the input length of the first model call for each interaction. The upper panel of Figure 13 reports the median across 22 sessions with at least 30 interactions; the horizontal axis counts preceding interactions. Opt2 limited context growth as interactions accumulated, reducing context size by 63.5–69.1% across the three models at the start of interaction 30. Trade-off with Prompt Caching. We observed the trade-off discussed in Section 6.2: opt2 reduced estimated inference cost when earlier prompts were not cached, but raised it when they could be reused from the cache. As shown in the lower panel of Figure 13, the cache-miss rate, the fraction of input tokens not served from the cache, rose at interaction 30 from 0.8–1.3% without opt2 to 20.2–42.9% with opt2. The higher cost of uncached inputs offset savings from smaller contexts. DeepSeek also generated 2.5
times as many output tokens with opt2, further increasing its cost. These results suggest enabling opt2 to reduce inference cost when the cache expires or cannot be reused after a model switch, and leaving it disabled while the same model can reuse cached history.
7.6 Case Studies of the Two Abstractions
We studied LLM traces to see how agents' use of the dataflow abstraction affected accuracy and cost. The four KramaBench cases in Figure 12 help explain the results in Section 7.3.
Case 1: BobFlow Answered the Task Correctly. This task asked for the average age of patients whose serous tumor samples were analyzed in a study. Both agents read the Case_excluded column, but Script ReAct ignored it in subsequent computations and returned an incorrect average. BobFlow kept it in an intermediate table and used it to exclude flagged samples, answering correctly.
Observation 1. BobFlow helped the agent accurately reuse earlier results from the context, improving answer accuracy.
Case 2: Script ReAct Answered the Task Correctly. This task asked for the total amount defrauded across payment methods. BobFlow used a custom operator whose parser skipped amounts containing commas. The operator returned only the final sum, and BobFlow accepted this plausible but incorrect result without inspecting the parsed values. Script ReAct handled these amounts correctly and printed the parsed values, obtaining the correct total.
Observation 2. BobFlow let the agent trust plausible results despite insufficient runtime inspection, reducing accuracy.
Case 3: BobFlow Solved the Task at Lower Cost. This task asked which U.S. military branch had the largest median fraud loss. Script ReAct generated code using assumed column names; after the code failed, it inspected the table and corrected the code. BobFlow first inspected the table and used its observed structure to generate the analysis. Both agents answered correctly, but BobFlow avoided the failed attempt and reduced inference cost.
Observation 3. BobFlow inspected data first, reducing debugging cost.
Case 4: Script ReAct Solved the Task at Lower Cost. This task asked for the ratio of peak atmospheric mass density during two periods. Before computing the ratio, BobFlow gathered large table previews, whereas Script ReAct inspected only a few rows. Both agents answered the question correctly, but the larger observations increased BobFlow's input-token usage and inference cost.
Observation 4. BobFlow's excessive previews raised cost, not accuracy.
7.7 Human Interaction Support
We evaluated how efficiently BobFlow maintains interaction histories and restores earlier analysis states as interactions accumulate. Memory Utilization. We replayed 207 recorded KramaBench conversations in one session to measure memory growth as their histories accumulated. After garbage collection, we measured JavaScript heap and external-buffer growth for BobFlow and Python memory for Script ReAct. Both measurements excluded initial memory, execution-engine memory, and Python execution variables. As shown in Figure 14, BobFlow's history memory grew by 110 MiB after 1,239 interactions, roughly 95% less than Script ReAct's 2.3 GiB. Script ReAct retained copies of model inputs at each step, while BobFlow recorded incremental changes.

Figure 14: Memory growth from interaction 100 onward.
Jump Latency and Tracking Overhead. To measure jump latency as the snapshot tree grew, we replayed the same 207 conversations and jumped to 50 uniformly sampled snapshots at intervals of about 250 snapshots. We measured each jump command's end-to-end latency, including restoration of the target snapshot. As shown in Figure 15 (left), median latency was 1.2 ms across 1,150 jumps and remained below 1.9 ms in each 500-snapshot interval.

Figure 15: Jump latency (left) and memory with and without tracking (right) in replays of over 5,000 snapshots.
Using the same snapshots, we measured tracking overhead by comparing heap memory with and without the tracker. At 5,095 snapshots, tracking added 4.1 MiB of overhead (Figure 15, right).
8 RELATED WORK
ReAct Framework. ReAct [60] enables LLM agents to solve diverse tasks by interleaving reasoning and actions, with observations guiding later steps. For example, SWE-agent [59] resolves software issues by navigating repositories, editing code, and running tests; WebVoyager [20] completes web tasks through reasoning over webpage observations and browser actions; and ChemCrow [9] plans and executes syntheses with specialized chemistry tools. We design BobFlow as a Dataflow ReAct system for solving data science tasks. Agentic Systems for Data Processing. As LLMs improve in reasoning and tool use, more agentic systems are being built for data science tasks. Python scripts or SQL queries commonly serve
as their computational abstraction. For example, CodeAct [51], DA-Agent [23], and DA-Studio [33] use Python, while Chat2Data [63] and SiriusBI [25] generate SQL queries. BobFlow instead formalizes dataflows as a computational abstraction for data science agents.
Another line of work optimizes how agents solve specific data-processing tasks. For data preparation, AutoPrep [13] and DataFlow [30] coordinate specialized agents to construct pipelines, while DeepPrep [14] uses execution-guided tree search to explore and revise them. With their emphasis on optimization, these systems focus on automated task solving. In BobFlow, we emphasize analyst-agent interaction throughout a task and explore optimization in this setting.
Human-Agent Collaboration in Data Science. Human-agent collaboration has become a focus of many proprietary systems and research prototypes, with interfaces for analysts often centered on dialogue or code. Dialogue-oriented interfaces in Claude Science [2], OpenAI's in-house data agent [38], SiriusBI [25], and DataChat [26] let analysts express analytical requests in natural language. Code-oriented interfaces expose analytical steps for inspection and revision through generated code, notebooks, or diagrams derived from code. For example, Stepwise [27] and ChatPipe [10] expose analytical steps and generated code. Through notebooks, DocWrangler [46] lets analysts annotate outputs and refine document-processing pipelines, while Carnot [44] lets them inspect, modify, and execute operator DAGs. WaitGPT [56] presents interactive operation diagrams from code. Compared with these systems, BobFlow centers interaction on a shared visual dataflow that analysts and agents can inspect and modify, with a chat interface for conversation and context management. Systems such as Flowco [15] and DataFlow-Harness [21] use executable dataflow graphs to help analysts construct and revise analyses with agents. Compared with these works, we also study how agents can use dataflow properties to construct and optimize their context during collaboration. Our demonstration paper [8] showcased BobFlow's interface and scenarios, whereas this paper presents the dataflow abstraction, Dataflow ReAct, the context optimizations, and their evaluation.
9 CONCLUSION
In this paper, we identify requirements for human-agent collaboration in data science and formalize dataflows as a shared abstraction. Dataflow ReAct in BobFlow lets agents iteratively construct, modify, and execute dataflows to solve data science tasks. We support human interactions by tracking conversation and dataflow snapshots for interruption and exploration. We optimize agent context with data properties and prune irrelevant observations using topology properties. Our user study shows that dataflows make collaboration and interaction with agents more effective and intuitive. Our experiments demonstrate that dataflows can substantially improve task accuracy while reducing inference cost in most evaluated settings. These findings support dataflows as a shared abstraction for human-agent collaboration.
ACKNOWLEDGMENTS
We thank Dr. Xi Lu for her help. We thank the participants in our user study. This work was supported by NSF awards 2200274 and 2609582, NIH NIDDK award 2U24DK097771-11, and an SAP grant.
REFERENCES
[1] Anthropic. 2024. Introducing the Model Context Protocol. https://www.anthropic.com/news/model-context-protocol Accessed October 18, 2026.
[2] Anthropic. 2026. Claude Science, an AI workbench for scientists, is now available. https://www.anthropic.com/news/claude-science-ai-workbench Accessed November 1, 2026.
[3] Anthropic. 2026. Introducing Claude Haiku 5.5. https://www.anthropic.com/claude-haiku-5-5 Accessed November 1, 2026.
[4] Anthropic. 2026. Introducing Claude Opus 5.5. https://www.anthropic.com/claude-opus-5-5 Accessed November 1, 2026.
[5] Apache Software Foundation. [n.d.]. Apache Hamilton. https://hamilton.apache.org/ Accessed November 1, 2026.
[6] Apache Software Foundation. [n.d.]. Apache Iceberg. https://iceberg.apache.org/ Accessed September 28, 2026.
[7] Apache Software Foundation. [n.d.]. Apache Texera. https://texera.apache.org/ Accessed October 31, 2026.
[8] Jiadong Bai, Yicong Huang, and Chen Li. 2026. Demonstration of BobFlow: Human-Agent Collaboration Using Dataflows on Data Science Tasks. Proc. VLDB Endow. 19, 12 (2026), 4718–4721. https://doi.org/10.14778/3827998.3828105
[9] Andres M. Bran, Sam Cox, Oliver Schilter, Carlo Baldassari, Andrew D. White, and Philippe Schwaller. 2024. Augmenting large language models with chemistry tools. Nature Machine Intelligence 6, 5 (2024), 525–535. https://doi.org/10.1038/s42256-024-00832-8
[10] Sibei Chen, Hanbing Liu, Waiting Jin, Xiangyu Sun, Xiaoyao Feng, Ju Fan, Xiaoyong Du, and Nan Tang. 2024. ChatPipe: Orchestrating Data Preparation Pipelines by Optimizing Human-ChatGPT Interactions. In Companion of the 2024 International Conference on Management of Data (SIGMOD/PODS 2024). ACM, 484–487. https://doi.org/10.1145/3626246.3654727
[11] Dagster Labs. [n.d.]. Dagster Documentation. https://docs.dagster.io/ Accessed September 29, 2026.
[12] DeepSeek. 2026. DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression. https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash Accessed October 16, 2026.
[13] Meihao Fan, Ju Fan, Nan Tang, Lei Cao, Guoliang Li, and Xiaoyong Du. 2025. AutoPrep: Natural Language Question-Aware Data Preparation with a Multi-Agent Framework. Proc. VLDB Endow 18, 10 (2025), 3504–3517. https://doi.org/10.14778/3748191.3748211
[14] Meihao Fan, Ju Fan, Yuxin Zhang, Shaolei Zhang, Xiaoyong Du, Jie Song, Peng Li, Fuxin Jiang, Tieying Zhang, and Jianjun Chen. 2026. DeepPrep: An LLM-Powered Agent System for Autonomous Data Preparation. Proc. VLDB Endow. 19, 11 (2026), 3371–3384. https://doi.org/10.14778/3836663.3836695
[15] Stephen N. Freund, Brooke Simon, Emery D. Berger, and Eunice Jun. 2025. Flowco: Mixed-Initiative Authoring of Reliable End-to-End Data Analyses via Dataflow Graphs and LLMs. In Proceedings of the 38th Annual ACM Symposium on User Interface Software and Technology. ACM, 1–20. https://doi.org/10.1145/3746059.3747636
[16] Google. 2026. Gemini 4 Argon: Built to Solve Your Hardest Problems. https://blog.google/innovation-and-ai-models-and-research/gemini-models/introducing-gemini-4-argon/ Accessed November 1, 2026.
[17] Google. 2026. Introducing Gemini 3.8 Flash and 3.8 Flash Cyber. https://blog.google/innovation-and-ai-models-and-research/gemini-models/3-8-flash-and-3-8-flash-cyber/ Accessed November 1, 2026.
[18] Juraj Gottweis, Wei-Hung Weng, Alexander Daryin, Tao Tu, et al. 2026. Accelerating scientific discovery with Co-Scientist. Nature 655, 8122 (2026), 487–496. https://doi.org/10.1038/s41586-026-10644-y
[19] Randi Griffin. 2018. 120 Years of Olympic History: Athletes and Results. Kaggle. https://www.kaggle.com/datasets/heesoo37/120-years-of-olympic-history-athletes-and-results Accessed October 28, 2026.
[20] Hongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu, Yong Dai, Hongming Zhang, Zhenzhong Lan, and Dong Yu. 2024. WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 6864–6890. https://doi.org/10.18653/v1/2024.acl-long.371
[21] Running He, Zhen Hao Wong, Hao Liang, Zimo Meng, Chengyu Shen, Xiaochen Ma, and Wentao Zhang. 2026. DataFlow-Harness: A Grounded Code-Agent Platform for Constructing Editable LLM Data Pipelines. https://doi.org/10.48550/arXiv.2607.16161 arXiv:2607.16161 [cs.SE]
[22] Sirui Hong, Yizhang Lin, Bang Liu, Bangbang Liu, Binhao Wu, Ceyao Zhang, Danyang Li, Jiaqi Chen, Jiayi Zhang, Jinlin Wang, Li Zhang, Lingyao Zhang, Min Yang, Mingchen Zhuge, Taicheng Guo, Tao Zhou, Wei Tao, Robert Tang, Xiangtao Lu, Xiawu Zheng, Xinbing Liang, Yaying Fei, Yuheng Cheng, Yongxin Ni, Zhibin Gou, Zongze Xu, Yuyu Luo, and Chenglin Wu. 2025. Data Interpreter: An LLM Agent for Data Science. In Findings of the Association for Computational Linguistics, ACL 2025, Vienna, Austria, July 27 - August 1, 2025 (Findings of ACL), Wanxiang Che, Joyce Nabende, Ekaterina Shutova, and Mohammad Taher Pilehvar (Eds.). Association for Computational Linguistics, 19796–19821. https://doi.org/10.18653/v1/2025.findings-acl.1016
//doi.org/10.18653/v1/2025.findings-acl.1016
[23] Yiming Huang, Jianwen Luo, Yan Yu, Yitong Zhang, Fangyu Lei, Yifan Wei, Shizhu He, Lifu Huang, Xiao Liu, Jun Zhao, and Kang Liu. 2024. DA-Code: Agent Data Science Code Generation Benchmark for Large Language Models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, EMNLP 2024, Miami, FL, USA, November 12–16, 2024, Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (Eds.). Association for Computational Linguistics, 13487–13521. https://doi.org/10.18653/V1/2024.EMNLP-MAIN.748
[24] Inside Airbnb. 2026. San Francisco Listings, Reviews, and Neighbourhoods. https://insideairbnb.com/get-the-data/ September 14, 2026 snapshot. Accessed October 28, 2026.
[25] Jie Jiang, Haining Xie, Siqi Shen, Yu Shen, Zihan Zhang, Meng Lei, Yifeng Zheng, Yang Li, Chunyou Li, Danqing Huang, Yinjun Wu, Wentao Zhang, Bin Cui, and Peng Chen. 2025. SiriusBI: A Comprehensive LLM-Powered Solution for Data Analytics in Business Intelligence. Proc. VLDB Endow. 18, 12 (2025), 4860–4873. https://doi.org/10.14778/3750601.3750610
[26] Rogers Jeffrey Leo John, Dylan Bacon, Junda Chen, Ushmal Ramesh, Jiatong Li, Deepan Das, Robert V. Dyan, Amos Kendall, and Jignesh M. Patel. 2023. DataChat: An Intuitive and Collaborative Data Analytics Platform. In Companion of the 2023 International Conference on Management of Data, SIGMOD/PODS 2023, Seattle, WA, USA, June 18–23, 2023, Sudipto Das, Ippokratis Pandis, K. Selukj Candan, and Sihem Amer-Yahia (Eds.). ACM, 203–215. https://doi.org/10.1145/3555041.3589678
[27] Majeed Kazemitaibar, Jack Williams, Ian Drosos, Tovi Grossman, Austin Zachary Henley, Carina Negreanu, and Advait Sarkar. 2024. Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition. In Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology, UIST 2024, Pittsburgh, PA, USA, October 13–16, 2024, Lining Yao, Mayank Gool, Alexaandra Ion, and Pedro Lopes (Eds.). ACM, 92:1–92:19. https://doi.org/10.1145/3654777.3676345
[28] Avinash Kumar, Zuozhi Wang, Shengquan Ni, and Chen Li. 2020. Amber: A Debuggable Dataflow System Based on the Actor Model. Proc. VLDB Endow. 13, 5 (2020), 740–753. https://doi.org/10.14778/3377369.3377381
[29] Eugenie Lai, Gerardo Vitagliano, Ziyu Zhang, Om Chabra, Sivaprasad Sudhir, Anna Zeng, Anton A. Zabreyko, Chenning Li, Ferdi Kossmann, Jialin Ding, Jun Chen, Markos Markakis, Matthew Russo, Weiyang Wang, Ziniu Wu, Michael J. Cafarella, Lei Cao, Samuel Madden, and Tim Kraska. 2026. KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakes. In The Fourteenth International Conference on Learning Representations, ICLR 2026. https://openreview.net/forum?id=fzFUdeCC5X
[30] Hao Liang, Xiaochen Ma, Zhou Liu, Zhen Hao Wong, Zhengyang Zhao, Zimo Meng, Running He, Chengyu Shen, Qifeng Cai, Zhaoyang Han, Meiyi Qiang, Yalin Feng, Tianyi Bai, Zewei Pan, Ziyi Guo, Yizhen Jiang, Jingwan Deng, Qijie You, Peichao Lai, Tianyu Guo, Chi Hsu Tsai, Hengyi Feng, Rui Hu, Wenqai Yu, Junbo Niu, Bohan Zeng, Ruichuan An, Lu Ma, Jihao Huang, Yaowei Zheng, Conghui He, Linpeng Tang, Bin Cui, Weinan E, and Wentao Zhang. 2025. DataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AI. https://doi.org/10.48550/arXiv.2512.16676 [cs.LG]
[31] Tobias Lindenbauer, Igor Slinko, Ludwig Felder, Egor Bogomolov, and Yaroslav Zharov. 2025. The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Management. https://doi.org/10.48550/arXiv.2508.21433 arXiv:2508.21433 [cs.SE]
[32] LiteLLM. [n.d.]. LiteLLM AI Gateway. https://docs.litellm.ai/docs/simple_proxy Accessed October 31, 2026.
[33] Yizhe Liu, Shaolei Zhang, and Ju Fan. 2026. DA-Studio: An Agentic System for End-to-End Data Analysis. Proc. VLDB Endow. 19, 12 (2026), 4766–4769. https://doi.org/10.14778/3827998.3828117
[34] Yuyu Luo, Guoliang Li, Ju Fan, and Nan Tang. 2026. Data Agents: Levels, State of the Art, and Open Problems. In Companion of the 2026 International Conference on Management of Data (SIGMOD/PODS 2026). ACM, 571–579. https://doi.org/10.1145/3788853.3801878
[35] MinIO. [n.d.]. MinIO. https://www.min.io/ Accessed November 1, 2026.
[36] Jaehyun Nam, Jinsung Yoon, Jiefeng Chen, Raj Sinha, Jinwoo Shin, and Tomas Pfister. 2025. DS-STAR: Data Science Agent for Solving Diversity Tasks across Heterogeneous Formats and Open-Ended Queries. https://doi.org/10.48550/arXiv.2509.21825 arXiv:2509.21825 [cs.AI]
[37] OpenAI. 2026. GPT-5.6: Frontier Intelligence That Scales with Your Ambition. https://openai.com/index/gpt-5-6/ Accessed October 16, 2026.
[38] OpenAI. 2026. Inside OpenAI's in-house data agent. https://openai.com/index/inside-our-in-house-data-agent/ Accessed November 1, 2026.
[39] OpenAI. 2026. Introducing GPT-6.1 Sol. https://openai.com/index/introducing-gpt-6-1-sol Accessed November 1, 2026.
[40] OpenAI. 2026. Prompt Caching. https://developers.openai.com/api/docs/guides/prompt-caching Accessed September 13, 2026.
[41] Matthew Rocklin. 2015. Dask: Parallel Computation with Blocked algorithms and Task Scheduling. In Proceedings of the 14th Python in Science Conference 2015 (SciPy 2015), Austin, Texas, July 6 - 12, 2015, Kathryn Huff and James Bergstra
(Eds.). scipy.org, 126–132. https://doi.org/10.25080/MAJORA-7B98E3ED-013
[42] RocksDB. [n.d.]. RocksDB: A Persistent Key-Value Store. https://rocksdb.org/ Accessed September 28, 2026.
[43] Aymeric Roucher, Albert Villanova del Moral, Thomas Wolf, Leandro von Werra, and Erik Kaunismäki. 2025. smolagents: a smol library to build great agentic systems. https://github.com/huggingface/smolagents
[44] Matthew Russo, Yash Agarwal, Tianyu Li, Zhuohan Gu, Michael Cafarella, Omar Khattab, Tim Kraska, and Samuel Madden. 2026. Carnot: Interpretable, Interactive, and Optimized Execution of Deep Research Queries. Proc. VLDB Endow. 19, 12 (2026), 4642–4645. https://doi.org/10.14778/3827998.3828086
[45] Samuel Schmidgall, Yusheng Su, Ze Wang, Ximeng Sun, Jialian Wu, Xiaodong Yu, Jiang Liu, Michael Moor, Zicheng Liu, and Emad Barsoum. 2025. Agent Laboratory: Using LLM Agents as Research Assistants. In Findings of the Association for Computational Linguistics: EMNLP 2025. Association for Computational Linguistics, 5977–6043. https://doi.org/10.18653/v1/2025.findings-emnlp.320
[46] Shreya Shankar, Bhavya Chopra, Mawil Hasan, Stephen Lee, Björn Hartmann, Joseph H. Hellerstein, Aditya G. Parameswaran, and Eugene Wu. 2025. Steering Semantic Data Processing With DocWrangler. In Proceedings of the 38th Annual ACM Symposium on User Interface Software and Technology. Association for Computing Machinery, 84:1–84:18. https://doi.org/10.1145/3746059.3747625
[47] Theodore Sumers, Shunyu Yao, Karthik R. Narasimhan, and Thomas L. Griffiths. 2024. Cognitive Architectures for Language Agents. Transactions on Machine Learning Research (2024). https://openreview.net/forum?id=1i6ZCvflQJ
[48] Alexander K. Taylor, Yicong Huang, Junheng Hao, Xinyuan Lin, Xiusi Chen, Wei Wang, and Chen Li. 2024. Data Science Tasks Implemented with Scripts versus GUI-Based Workflows: The Good, the Bad, and the Ugly. In 40th International Conference on Data Engineering, ICDE 2024 - Workshops, Utrecht, Netherlands, May 13-16, 2024. IEEE, 267–277. https://doi.org/10.1109/ICDEW61823.2024.00040
[49] The PostgreSQL Global Development Group. [n.d.]. About PostgreSQL. https://www.postgreSQL.org/about/ Accessed September 28, 2026.
[50] Chenglong Wang, Bongshin Lee, Steven M. Drucker, Dan Marshall, and Jianfeng Gao. 2025. Data Formulator 2: Iterative Creation of Data Visualizations, with AI Transforming Data Along the Way. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems. ACM, Article 677, 17 pages. https://doi.org/10.1145/3706598.3713296
[51] Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, and Heng Ji. 2024. Executable Code Actions Elicit Better LLM Agents. In Proceedings of the 41st International Conference on Machine Learning (Proceedings of Machine Learning Research). Vol. 235. PMLR, 50208–50232. https://proceedings.mlr.press/v235/wang24h.html
[52] Xingyao Wang, Boxuan Li, Yufan Song, Frank F. Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, Hoang H. Tran, Fuqiang Li, Ren Ma, Mingzhang Zheng, Bill Qian, Yanjun Shao, Niklas Muennighoff, Yizhe Zhang, Binyuan Hui, Junyang Lin, Robert Brennan, Hao Peng, Heng Ji, and Graham Neubig. 2025. OpenHands: An Open Platform for AI Software Developers as Generalist Agents. In The Thirteenth International Conference on Learning Representations, ICLR 2025. https://arxiv.org/abs/2407.16741
[53] Zuozhi Wang, Yicong Huang, Shengquan Ni, Avinash Kumar, Sadeem Alsduis, Xiaozhen Liu, Xinyuan Lin, Yunyan Ding, and Chen Li. 2024. Texera: A System for Collaborative and Interactive Data Analytics Using Workflows. Proc. VLDB
Endow. 17, 11 (2024), 3580–3588. https://doi.org/10.14778/3681954.3682022
[54] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W. White, Doug Burger, and Chi Wang. 2024. AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversations. In Proceedings of the First Conference on Language Modeling. https://openreview.net/forum?id=BAakY1hNKS
[55] Yifan Wu, Joseph M. Hellerstein, and Arvind Satyanarayan. 2020. B2: Bridging Code and Interactive Visualization in Computational Notebooks. In Proceedings of the 33rd Annual ACM Symposium on User Interface Software and Technology. ACM, 152–165. https://doi.org/10.1145/3379337.3415851
[56] Liwenhan Xie, Chengbo Zheng, Haijun Xia, Huamin Qu, and Chen Zhu-Tian. 2024. WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualization. In Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology. ACM, 1–14. https://doi.org/10.1145/3654777.3676374
[57] Jingzhe Xu, Rui Wang, Jianann Wang, and Guoliang Li. 2026. PrepBench: How Far Are We from Natural-Language-Driven Data Preparation? Proc. VLDB Endow. 19, 10 (2026), 2866–2879. https://doi.org/10.14778/3828612.3828638
[58] Kewei Xu, Xiaoben Lu, Shuofei Qiao, Zihan Ding, Haoming Xu, Lei Liang, and Ningyu Zhang. 2026. LongDS-Bench: On the Failure of Long-Horizon Agentic Data Analysis. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 13351–13383. https://doi.org/10.18653/2026.emnlp-main.584
[59] John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. In Advances in Neural Information Processing Systems, Vol. 37. https://doi.org/10.52202/079017-1601
[60] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net. https://openreview.net/forum?id=WE_vluYUL-X
[61] Ziming You, Yumiao Zhang, Dexuan Xu, Yiwei Lou, Yandong Yan, Wei Wang, Huamin Zhang, and Yu Huang. 2025. DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, Association for Computational Linguistics, 1099–1123. https://doi.org/10.18653/v1/2025.emnlp-main.58
[62] Qiuhai Zeng, Claire Jin, Xinyue Wang, Yuhan Zheng, and Qunhua Li. 2025. AIRepr: An Analyst-Inspector Framework for Evaluating Reproducibility of LLMs in Data Science. In Findings of the Association for Computational Linguistics: EMNLP 2025. Association for Computational Linguistics, 10170–10201. https://doi.org/10.18653/v1/2025.findings-emnlp.539
[63] Xinyang Zhao, Xuanhe Zhou, and Guoliang Li. 2024. Chat2Data: An Interactive Data Analysis System with RAG, Vector Databases and LLMs. Proc. VLDB Endow. 17, 12 (2024), 4481–4484. https://doi.org/10.14778/3685800.3685905
[64] ZJUNLP. 2026. LongDS-Bench. https://github.com/zjunlp/DataMind/blob/main/longds/README.md Version 1.1 Lite. Accessed October 16, 2026.