Model or dataset
ruc-datalab/DeepAnalyze avatar
ruc-datalab/DeepAnalyze

DeepAnalyze: An Agentic LLM That Runs the Data Science Pipeline End to End

DeepAnalyze is the first agentic LLM for autonomous data science. 🎈你的AI数据分析师,自动分析大量数据,一键生成专业分析报告!

4,623 stars733 forksPythonMIT

At a glance

What is it?
DeepAnalyze is an open-source, agentic large language model from Renmin University and Tsinghua that autonomously handles data preparation, analysis, modeling, visualization, and report generation. This review weighs its architecture, deployment options, and limitations for engineers considering it.
Who is it for?
Adopt DeepAnalyze if you need a self-contained, open-source agent that can move from raw files to an analyst-grade report with minimal human steps, especially if you can run the 8B model locally or use the hosted API. Do not adopt it if you require deterministic, auditable pipelines or if your data governance rules forbid sending data to external LLM endpoints.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 4 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What DeepAnalyze Actually Solves

DeepAnalyze targets a specific pain: the data science workflow is long and full of context switches. A human analyst must clean data, run exploratory statistics, build models, make charts, and write up findings. DeepAnalyze is an LLM designed to do all of that without a human in the loop. The README calls it 'the first agentic LLM for autonomous data science.' That claim is hard to verify, but the scope is clear. It handles structured inputs like databases, CSV, and Excel, semi-structured like JSON and XML, and unstructured text like TXT and Markdown. The output is a research report. The intended user is someone who has data and wants a finished analysis, not someone who wants to inspect every intermediate step. The authors are from Renmin University and Tsinghua, which gives it a research pedigree but also means the project may prioritize novel architecture over production hardening.

How the Agent Works: From Data to Report

The repository does not expose a detailed architecture diagram in the README, but the visible pieces suggest a tool-using agent. The model is trained on a dataset called DataScience-Instruct-500K, which implies instruction tuning on data science tasks. The README shows an image labeled 'deepanalyze.jpg' that likely depicts the pipeline, but the text does not explain it. What is clear is that DeepAnalyze can perform 'data preparation, analysis, modeling, visualization, and report generation' as discrete steps. The mention of 'execution-grounded interaction with intermediate table states' appears in the description of DeepPrep, a companion system, not DeepAnalyze itself. Still, the pattern is consistent: the agent writes code, executes it, sees the output, and iterates. The WebUI v2 supports 'Docker-based sandboxed code execution,' which confirms that code execution is part of the loop. The agent must decide which data files are relevant, write code to load and analyze them, and then synthesize results into a report. That is a multi-turn reasoning process, not a single prompt.

Getting It Running: Models, APIs, and Interfaces

The README lists several ways to interact with DeepAnalyze. There is a Hugging Face model card for DeepAnalyze-8B, which is the core weights. You can also apply for an API key through a Google Form or a Feishu Form, with usage instructions in docs/DeepAnalyze_API_Key_Usage_Guide.md. For local deployment, the repository contains demo code, including demo/chat_v2, which is the WebUI version that supports Docker-based sandboxing. There is also a JupyterUI built on 'jupyter-mc' (the README is truncated there), and a Command Line Terminal UI added in November 2025. The model supports an OpenAI-style API endpoint, which means you can plug it into existing tools that expect that interface. The exact installation commands are not in the README excerpt, so you would need to clone the repo and read the demo/chat_v2 README for specifics. The presence of a Docker sandbox implies you need Docker installed for safe code execution. The 8B parameter size suggests you can run it on a single consumer GPU with enough VRAM, but the README does not state the minimum hardware.

What Is Open and What Is Not

The project claims to be 'fully open-source,' and the README links to the model, code, training data, and demo. The model is on Hugging Face as RUC-DataLab/DeepAnalyze-8B, and the training data is DataScience-Instruct-500K. The code lives in this repository. The license is MIT, which is permissive for commercial use, though the model weights themselves may have separate terms on Hugging Face. The README does not clarify the model license. That is a gap you must check before deployment. The training data is a major asset because most agentic systems do not release their instruction sets. If you want to fine-tune or evaluate the model on your own tasks, that dataset is a starting point. However, the repository has no formal releases, only a default branch. That means you cannot rely on semantic versioning. You will need to track commits or fork.

Real Limitations and When It Is the Wrong Tool

DeepAnalyze is not a fit for every analytics job. The README does not mention any deterministic guarantees. An agentic LLM that writes and executes code can produce wrong results, and the system may not catch subtle errors like a data leak in a train/test split or a biased sample. If your work requires auditability, such as regulatory reporting or clinical trial analysis, an autonomous agent that generates a report without human verification is risky. The sandboxed execution in Docker helps contain damage, but it does not ensure correctness. Another limitation is the input size. The README lists support for databases and files, but it does not specify a maximum data volume. Large datasets may exceed the context window or the execution timeout. The project is also tied to specific third-party services. The API key is offered through HeyWhale, a platform not widely known outside China. If you are outside that ecosystem, you may prefer to run the model locally. Finally, the README mentions an upcoming companion called DeepPrep for data preparation, which suggests that DeepAnalyze's own data cleaning may not be sufficient for raw, messy tables.

Alternatives and How They Differ

The most direct alternative is a general-purpose code agent like OpenAI Codex or an open-source agent such as OpenHands, paired with a data science library. Those agents can write Python and execute it, but they are not trained specifically for data science tasks. DeepAnalyze's differentiator is its training data: DataScience-Instruct-500K is designed to teach the model the full pipeline, from data discovery to report writing. A general agent may need more prompting and may not know how to produce a proper analytical narrative. Another alternative is a traditional AutoML tool like H2O AutoML or AutoGluon. Those tools handle model selection and hyperparameter tuning, but they do not do open-ended research or generate reports. They assume the data is already clean and the target variable is defined. DeepAnalyze aims to handle the messy front end and the communication back end. The trade-off is control. AutoML gives you a clear model leaderboard and metrics. DeepAnalyze gives you a report, but you must trust its judgment.

Maintenance and Upgrade Cost

The project is active. The last push was August 30, 2026, and the README shows a steady stream of updates through 2026: a new WebUI in March, an API key program in December 2025, and a VLDB demo paper acceptance in May 2026. That suggests the maintainers are responsive. However, there are no tagged releases. That means upgrading is not as simple as pulling a new version number. You must watch the commit history and test each change. The model weights are versioned on Hugging Face, but the repository code may move faster. The dependency on Docker for sandboxing means you need to maintain that infrastructure. The API key service is a hosted offering, so if you rely on it, you depend on the availability of HeyWhale's servers. The MIT license reduces legal friction for code reuse, but the training data and model weights may have separate terms. The README does not state them, so you must read the Hugging Face model card before commercial use.

Editorial conclusion

Adopt DeepAnalyze if you need a self-contained, open-source agent that can move from raw files to an analyst-grade report with minimal human steps, especially if you can run the 8B model locally or use the hosted API. Do not adopt it if you require deterministic, auditable pipelines or if your data governance rules forbid sending data to external LLM endpoints. Before committing, verify the exact model weights, the sandbox execution mode in demo/chat_v2, and whether the HeyWhale API terms match your data sensitivity. The project is young, with no formal releases, so pin your dependency to a specific commit and plan for breaking changes.

Official sources

  1. Issues
  2. License: MIT
  3. Project website
  4. README
  5. ruc-datalab/DeepAnalyze on GitHub
Community notes

Community notes