cs.DBNov 4, 2026

BobFlow: Towards Human-Agent Collaborative Data Science Using Dataflows

Authors: Jiadong Bai, Yicong Huang, Chen Li

Organizations: University of California, Irvine Irvine, California, USA · University of Massachusetts Amherst Amherst, Massachusetts, USA

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.

Figures & tables

Explore similar work

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

    Jul 18, 2026Runming He, Zhen Hao Wong, Hao Liang +4LLM GroundingCode Generation

  2. AgentDS Technical Report: Benchmarking the Future of Human-AI Collaboration in Domain-Specific Data Science

    Mar 19, 2026An Luo, Jin Du, Xun Xian +12AI Agent EvaluationAI Agent Benchmarks

  3. DSAgentBench: Can Agents Automate End-to-End Data-Science Workflows in Real Computer Environments?

    Aug 11, 2026Mizanur Rahman, Mohammed Saidul Islam, Ridwan Mahbub +3Computer-Use Agent BenchmarksAI Agent Evaluation