Data Interpreter: An LLM Agent For Data Science
Authors: Sirui Hong, Yizhang Lin, Bangbang Liu, Binhao Wu, Danyang Li, Jiaqi Chen, Jiayi Zhang, Jinlin Wang, Lingyao Zhang, Mingchen Zhuge, Taicheng Guo, Tuo Zhou, Wei Tao, Wenyi Wang, Xiangru Tang, Xiangtao Lu, Xinbing Liang, Yaying Fei, Yuheng Cheng, Zongze Xu, Chenglin Wu, Li Zhang, Min Yang, Xiawu Zheng
Abstract
Large Language Model (LLM)-based agents have demonstrated remarkable effectiveness. However, their performance can be compromised in data science scenarios that require real-time data adjustment, expertise in optimization due to complex dependencies among various tasks, and the ability to identify logical errors for precise reasoning. In this study, we introduce the Data Interpreter, a solution designed to solve with code that emphasizes three pivotal techniques to augment problem-solving in data science: 1) dynamic planning with hierarchical graph structures for real-time data adaptability;2) tool integration dynamically to enhance code proficiency during execution, enriching the requisite expertise;3) logical inconsistency identification in feedback, and efficiency enhancement through experience recording. We evaluate the Data Interpreter on various data science and real-world tasks. Compared to open-source baselines, it demonstrated superior performance, exhibiting significant improvements in machine learning tasks, increasing from 0.86 to 0.95. Additionally, it showed a 26% increase in the MATH dataset and a remarkable 112% improvement in open-ended tasks. The solution will be released at https://github.com/geekan/MetaGPT.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science AutomationZiming You, Yumiao Zhang, De-Xuan Xu et al. · 2025 · Conference on Empirical Methods in Natural Language Processing · cited 14 times · Not summarized yet
DatawiseAgent automates data science with an LLM agent, using notebook-centered planning and failure recovery rather than Data Interpreter’s hierarchical graph planning and dynamic tools.
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 ex…
-
DataLab: A Unifed Platform for LLM-Powered Business IntelligenceLuoxuan Weng, Yinghao Tang, Yingchaojie Feng et al. · 2024 · Databases · cited 21 times · AI summary available
DataLab integrates LLM agents across business-intelligence tasks, while Data Interpreter targets data-science problem solving.
Abstract
Business intelligence (BI) transforms large volumes of data within modern organizations into actionable insights for informed decision-making. Recently, large language model (LLM)-based agents have streamlined the BI workflow by automatically performing task planning, reasoning, and actions in executable environments based on natural language (NL) queries. However, existing approaches primarily focus on individual BI tasks such as NL2SQL and NL2VIS. The fragmentation of tasks across different data roles and tools lead to inefficiencies and potential errors due to the iterative and collaborative nature of BI. In this paper, we introduce DataLab, a unified BI platform that integrates a one-sto…
-
DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based ReasoningSiyuan Guo, Cheng Deng, Ying Wen et al. · 2024 · International Conference on Machine Learning · cited 171 times · Not summarized yet
DS-Agent automates data-science tasks by using case-based reasoning and Kaggle expertise to improve experiment plans; Data Interpreter uses dynamic planning, tools, and feedback.
Abstract
In this work, we investigate the potential of large language models (LLMs) based agents to automate data science tasks, with the goal of comprehending task requirements, then building and training the best-fit machine learning models. Despite their widespread success, existing LLM agents are hindered by generating unreasonable experiment plans within this scenario. To this end, we present DS-Agent, a novel automatic framework that harnesses LLM agent and case-based reasoning (CBR). In the development stage, DS-Agent follows the CBR framework to structure an automatic iteration pipeline, which can flexibly capitalize on the expert knowledge from Kaggle, and facilitate consistent performance i…
-
MetaGPT: Meta Programming for A Multi-Agent Collaborative FrameworkSirui Hong, Mingchen Zhuge, Jonathan Chen et al. · 2023 · Artificial Intelligence · preprint, not peer reviewed · cited 2,757 times · AI summary available
MetaGPT introduces a multi-agent framework with standardized workflows and verification of intermediate results, which Data Interpreter identifies as its release platform.
Abstract
Remarkable progress has been made on automated problem solving through societies of agents based on large language models (LLMs). Existing LLM-based multi-agent systems can already solve simple dialogue tasks. Solutions to more complex tasks, however, are complicated through logic inconsistencies due to cascading hallucinations caused by naively chaining LLMs. Here we introduce MetaGPT, an innovative meta-programming framework incorporating efficient human workflows into LLM-based multi-agent collaborations. MetaGPT encodes Standardized Operating Procedures (SOPs) into prompt sequences for more streamlined workflows, thus allowing agents with human-like domain expertise to verify intermediat…
-
Large Language Model-based Data Science Agent: A SurveyKe Chen, Pei-Ran Wang, Yao-Ning Yu et al. · 2025 · Trans. Mach. Learn. Res. · cited 30 times · Not summarized yet
The survey organizes LLM-based data-science agents by agent design and data-science processes, covering the field that Data Interpreter contributes to.
Abstract
The rapid advancement of Large Language Models (LLMs) has driven novel applications across diverse domains, with LLM-based agents emerging as a crucial area of exploration. This survey presents a comprehensive analysis of LLM-based agents designed for data science tasks, summarizing insights from recent studies. From the agent perspective, we discuss the key design principles, covering agent roles, execution, knowledge, and reflection methods. From the data science perspective, we identify key processes for LLM-based agents, including data preprocessing, model development, evaluation, visualization, etc. Our work offers two key contributions: (1) a comprehensive review of recent developments…
-
Agent Q: Advanced Reasoning and Learning for Autonomous AI AgentsPranav Putta, Edmund Mills, Naman Garg et al. · 2024 · Artificial Intelligence · preprint, not peer reviewed · cited 237 times · AI summary available
Agent Q addresses multi-step agent reasoning in interactive environments, whereas Data Interpreter focuses on data-science tasks.
Abstract
Large Language Models (LLMs) have shown remarkable capabilities in natural language tasks requiring complex reasoning, yet their application in agentic, multi-step reasoning within interactive environments remains a difficult challenge. Traditional supervised pre-training on static datasets falls short in enabling autonomous agent capabilities needed to perform complex decision-making in dynamic settings like web navigation. Previous attempts to bridge this ga-through supervised fine-tuning on curated expert demonstrations-often suffer from compounding errors and limited exploration data, resulting in sub-optimal policy outcomes. To overcome these challenges, we propose a framework that comb…
-
DeepAnalyze: Agentic Large Language Models for Autonomous Data ScienceShao-Lei Zhang, Ju Fan, Mei-Hao Fan et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 65 times · Not summarized yet
DeepAnalyze builds an autonomous data-science agent for end-to-end research reports, while Data Interpreter improves data-science problem solving through adaptive planning and tool use.
Abstract
Autonomous data science, from raw data sources to analyst-grade deep research reports, has been a long-standing challenge, and is now becoming feasible with the emergence of powerful large language models (LLMs). Recent workflow-based data agents have shown promising results on specific data tasks but remain fundamentally limited in achieving fully autonomous data science due to their reliance on predefined workflows. In this paper, we introduce DeepAnalyze-8B, the first agentic LLM designed for autonomous data science, capable of automatically completing the end-toend pipeline from data sources to analyst-grade deep research reports. To tackle high-complexity data science tasks, we propose …
-
AutoMind: Adaptive Knowledgeable Agent for Automated Data ScienceYu-Jie Luo, Yixin Ou, Jingsheng Zheng et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 25 times · Not summarized yet
AutoMind automates data science using expert knowledge and adaptive strategies, a goal shared with Data Interpreter’s agent for data-science problem solving.
Abstract
Large Language Model (LLM) agents have shown great potential in addressing real-world data science problems. LLM-driven data science agents promise to automate the entire machine learning pipeline, yet their real-world effectiveness remains limited. Existing frameworks depend on rigid, pre-defined workflows and inflexible coding strategies; consequently, they excel only on relatively simple, classical problems and fail to capture the empirical expertise that human practitioners bring to complex, innovative tasks. In this work, we introduce AutoMind, an adaptive, knowledgeable LLM-agent framework that overcomes these deficiencies through three key advances: (1) a curated expert knowledge base…
Prior work it builds on
-
ExpeL: LLM Agents Are Experiential LearnersAndrew Zhao, Daniel Huang, Quentin Xu et al. · 2023 · AAAI Conference on Artificial Intelligence · cited 1,243 times · Not summarized yet
ExpeL studies learning from agent experience without fine-tuning, and Data Interpreter cites it while describing experience recording for improved efficiency.
Abstract
The recent surge in research interest in applying large language models (LLMs) to decision-making tasks has flourished by leveraging the extensive world knowledge embedded in LLMs. While there is a growing demand to tailor LLMs for custom decision-making tasks, finetuning them for specific tasks is resource-intensive and may diminish the model's generalization capabilities. Moreover, state-of-the-art language models like GPT-4 and Claude are primarily accessible through API calls, with their parametric weights remaining proprietary and unavailable to the public. This scenario emphasizes the growing need for new methodologies that allow learning from agent experiences without requiring parame…
-
MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data VisualizationZhiyu Yang, Zi-Han Zhou, Shuo Wang et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 141 times · Not summarized yet
MatPlotAgent applies LLM agents, code generation, and iterative feedback to scientific visualization, a specific task within the broader data-science automation pursued by Data Interpreter.
Abstract
Scientific data visualization plays a crucial role in research by enabling the direct display of complex information and assisting researchers in identifying implicit patterns. Despite its importance, the use of Large Language Models (LLMs) for scientific data visualization remains rather unexplored. In this study, we introduce MatPlotAgent, an efficient model-agnostic LLM agent framework designed to automate scientific data visualization tasks. Leveraging the capabilities of both code LLMs and multi-modal LLMs, MatPlotAgent consists of three core modules: query understanding, code generation with iterative debugging, and a visual feedback mechanism for error correction. To address the lack …
-
Benchmarking Large Language Models As AI Research AgentsQian Huang, Jian Vora, Percy Liang et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 67 times · Not summarized yet
Benchmarking Large Language Models As AI Research Agents evaluates research agents, a neighboring agent-evaluation topic cited by Data Interpreter.
-
Agents: An Open-source Framework for Autonomous Language AgentsWangchunshu Zhou, Y. Jiang, Long Li et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 151 times · Not summarized yet
Agents releases an open-source framework supporting planning, memory, and tool use, capabilities also used by Data Interpreter.
Abstract
Recent advances on large language models (LLMs) enable researchers and developers to build autonomous language agents that can automatically solve various tasks and interact with environments, humans, and other agents using natural language interfaces. We consider language agents as a promising direction towards artificial general intelligence and release Agents, an open-source library with the goal of opening up these advances to a wider non-specialist audience. Agents is carefully engineered to support important features including planning, memory, tool usage, multi-agent communication, and fine-grained symbolic control. Agents is user-friendly as it enables non-specialists to build, custo…
-
Executable Code Actions Elicit Better LLM AgentsXingyao Wang, Yangyi Chen, Lifan Yuan et al. · 2024 · Computation and Language · cited 755 times · AI summary available
Executable Code Actions proposes Python code as a flexible agent action space, an approach relevant to Data Interpreter’s code-based problem solving and cited by it.
Abstract
Large Language Model (LLM) agents, capable of performing a broad range of actions, such as invoking tools and controlling robots, show great potential in tackling real-world challenges. LLM agents are typically prompted to produce actions by generating JSON or text in a pre-defined format, which is usually limited by constrained action space (e.g., the scope of pre-defined tools) and restricted flexibility (e.g., inability to compose multiple tools). This work proposes to use executable Python code to consolidate LLM agents' actions into a unified action space (CodeAct). Integrated with a Python interpreter, CodeAct can execute code actions and dynamically revise prior actions or emit new ac…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 3 November 2026.