DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation

Ziming You, Yumiao Zhang, Dexuan Xu, Yiwei Lou, Yandong Yan +3 more
3/10/2025
cs.CLcs.AI

No official code found. Best implementation: zimingyou01/DatawiseAgent (10 stars, Apache-2.0, last commit 2025-10-04).

Abstract

Existing large language model (LLM) agents for automating data science show promise, but they remain constrained by narrow task scopes, limited generalization across tasks and models, and over-reliance on state-of-the-art (SOTA) LLMs. We introduce DatawiseAgent, a notebook-centric LLM agent framework for adaptive and robust data science automation. Inspired by how human data scientists work in computational notebooks, DatawiseAgent introduces a unified interaction representation and a multi-stage architecture based on finite-state transducers (FSTs). This design enables flexible long-horizon planning, progressive solution development, and robust recovery from execution failures. Extensive experiments across diverse data science scenarios and models show that DatawiseAgent consistently achieves SOTA performance by surpassing strong baselines such as AutoGen and TaskWeaver, demonstrating superior effectiveness and adaptability. Further evaluations reveal graceful performance degradation under weaker or smaller models, underscoring the robustness and scalability.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[EMNLP 2025] DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation

107Shell, PythonSep 17, 20251 years agoApache-2.0
agentic-frameworknatural-language-processing

Similar Papers

Cite this paper

@article{you2025datawiseagent,
  title  = {DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation},
  author = {Ziming You and Yumiao Zhang and Dexuan Xu and Yiwei Lou and Yandong Yan and Wei Wang and Huaming Zhang and Yu Huang},
  year   = {2025},
  eprint = {2503.07044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.07044v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.07044.svg)](https://codeofpaper.com/paper/2503.07044)

Discussion