DeepAnalyze: An Agentic Large Language Model for Autonomous Data Science
I. Product Positioning DeepAnalyze was developed by teams from Renmin University of China and Tsinghua University. The authors include Shaolei Zhang, Ju Fan, Meihao Fan, Guoliang Li, and Xiaoyong Du. It is officially described as the first agentic large language model for Autonomous Data Science, with the goal of autonomously completing various data-centric tasks without human intervention. It can serve as the user's AI data analyst, automatically analyzing large amounts of data and generating professional analysis reports with one click.
II. Main Capabilities
- Covers the complete data science workflow: automatically performs tasks such as data preparation, analysis, modeling, visualization, and report generation.
- Open-ended data research: can conduct deep research on multiple data sources, including structured data (databases, CSV, Excel), semi-structured data (JSON, XML, YAML), and unstructured data (TXT, Markdown), ultimately producing analyst-grade research reports.
- Fully open source: the model, code, training data, and demo are all open, and users can deploy or extend the data analysis assistant themselves.
- Flexible tasks and data sources: any data science task can be specified (including specific data tasks and open-ended data research), and any number and any type of data sources can be specified for the model to explore automatically.
- Report output: the final result can be an in-depth research report renderable as PDF.
III. Usage Methods
- Local deployment (WebUI): clone the repository and download the DeepAnalyze-8B model, deploy it via vllm serve DeepAnalyze-8B, then run the script to start the API and interface, and access it through a browser at http://localhost:4000 interaction. If deployment under a specific IP is required, replace localhost with the corresponding IP in ./demo/chat/backend.py and ./demo/chat/frontend/lib/config.ts.
- WebUI v2: The interface is more concise, support for the HeyWhale API key has been added, and a Docker-based sandboxed code execution environment has been added. Usage is the same as WebUI: enter demo/chat_v2/frontend, run npm install, then copy .env.example to .env, run bash start.sh to start; use bash stop.sh to stop.
- JupyterUI: Users familiar with Jupyter Notebook can use it through this interface. The frontend is Jupyter Lab. Create a new notebook, convert <Analyze|Understand|Answer> into Markdown cells, and convert <Code> into Code cells and execute them with <Execute>. The related content is located in demo/jupyter.
- Command-line interface (CLI): First start the API service (cd API && python start_server.py), then in another terminal run python api_cli.py (English) or python api_cli_ZH.py (Chinese) under demo/cli. The CLI provides a Rich-based interface, supports file upload and real-time streaming responses, and provides Chinese and English interfaces.
- OpenAI-style API: DeepAnalyze supports OpenAI-style API endpoints. The service can be built via the script python API/start_server.py (you need to change MODEL_PATH = "DeepAnalyze-8B" in API/config.py to your own vllm model name). After the service starts, it can be accessed via http://localhost:8000/v1/completions . For API usage examples, see the official README (involving uploading a file to obtain a FILE_ID, then calling /v1/chat/completions).
- DeepAnalyze API key: The official announcement API key is now open for applications and can be applied for via a Google form or Feishu form. For detailed usage instructions, see the API guide or Feishu Wiki. For the API guide address, form address, etc., please refer to the official repository (this material does not provide specific links).
IV. Deployment and resource requirements
- Dependencies: torch, transformers, and vllm>=0.8.5 need to be installed. The official recommendation is to create a conda environment: conda create -n deepanalyze python=3.12 -y, then conda activate deepanalyze and pip install -r requirements.txt. If training is required, ./deepanalyze/ms-swift/ and ./deepanalyze/SkyRL/ need to be installed additionally; the official recommendation is to separate the inference and training environments to avoid dependency conflicts.
- GPU memory scenario recommendations: Users with 16GB of GPU memory are recommended to use the 4-bit quantized version; users with 24GB of GPU memory are suitable for the maximum context length; users with 80GB of GPU memory can obtain the best performance. The official also provides: for limited GPU memory (<24GB), use the 4-bit quantized version + FP8 KV Cache; for a balanced configuration (24–40GB), choose the model type according to needs; for sufficient GPU memory (the original text writes ≥0GB, suspected to be a typo), use the original model to obtain the best accuracy.
- Model download: It can be downloaded from RUC-DataLab/DeepAnalyze-8B on Hugging Face or DeepAnalyze-8B on ModelScope; if a quantized model is needed, ./quantize.py can be used.
V. Developers and secondary development
- Training data: DataScience-Instruct-500K; DataScience-Instruct-500K/RL/data.zip needs to be extracted.
- Base model: You can download DeepSeek-R1-0528-Qwen3-8B, or directly fine-tune on DeepAnalyze-8B. If using DeepSeek-R1-0528-Qwen3-8B is used as the base, and special tokens need to be added via deepanalyze/add_vocab.py. Example command: MODEL_PATH=path_to_DeepSeek-R1-0528-Qwen3-8B SAVE_PATH=path_to_save_DeepSeek-R1-0528-Qwen3-8B-addvocab python deepanalyze/add_vocab.py --model_path "$MODEL_PATH" --save_path "$SAVE_PATH" --add_tags.
- Curriculum-style agent training: for single-capability fine-tuning, run ./scripts/single.sh; for multi-capability agent training (cold start), run ./scripts/multi_coldstart.sh; for multi-capability agent training (RL), run ./scripts/multi_rl.sh.
- Evaluation: officially, vLLM has been used to unify the evaluation of most existing data science benchmarks. You can quickly evaluate DeepAnalyze or your own agent according to the introduction in ./playground.
- How to contribute: contributions related to code, models, and UI are welcome (such as Docker packaging, model conversion and quantization, DeepAnalyze workflows based on closed-source LLMs, etc.). They can be submitted via pull request; see Developer Guides for guidelines. You are also encouraged to share use cases in a new folder under .example/. It is recommended to follow the structure of .example/analysis_on_student_loan/: data/ stores uploaded files, prompt.txt is the input instruction, and README.md is the documentation (it is recommended to include the input, DeepAnalyze output, other closed-source LLM outputs (optional), and an evaluation and comments on the case).
VI. Related projects and updates (mentioned in official materials)
- EvoOntology (2026.09): a self-evolving ontology layer for data agents, grounding semantic context in real workloads and continuously adapting through validated execution traces.
- SkillAdam (2026.09): an easy-to-use plugin for automatically improving AI agent skills, which can be directly integrated with Codex, ClaudeCode, Cursor Agent, and GitHub Copilot. Installation is simple, with no need for a local GPU, Docker, or a separate model API key. Just provide SKILL.md and describe what you want to improve; SkillAdam will automatically generate relevant tasks, evaluate the current skill, propose improvements, verify the revised version, and update the skill after it passes evaluation.
- DeepPrep (2026.07): DeepAnalyze's data preparation partner, which converts raw tables into analyzable data; it is an LLM-based agent system that builds data preparation pipelines through execution-level interaction with intermediate table states and runtime feedback.
- CoDA-Bench (2026.06.15): a benchmark for evaluating whether code agents can handle data-intensive analysis tasks, highly aligned with DeepAnalyze's target scenarios; it evaluates agents in a Linux sandbox containing hundreds of data files. Given a natural language question, the agent needs to discover relevant data, write executable code, and provide a final answer.
- DA-Studio (2026.05.31): the system behind DeepAnalyze WebUI v2 (demo/chat_v2), which has been accepted to the VLDB 2026 Demonstration Track.
- Other updates: on 2026.01.31, DeepAnalyze became the officially supported agent for the Big Data track of the 2026 (19th) China Collegiate Computing Contest; on 2025.12.28, API key applications were opened; on 2025.11.13, OpenAI-style API endpoints were supported, and it could be used through a command-line terminal UI; on 2025.11.08, it could be used through JupyterUI built on jupyter-mcp-server; on 2025.10.27, it gained 1K+ GitHub stars and 200K+ Twitter views within a week; on 2025.10.21, the paper, code, model, and training data were released.
VII. Applicable scenarios It is suitable for scenarios requiring automated data analysis, such as: conducting data-oriented deep research after uploading data, automatically generating data science reports, exploring and analyzing data sources in multiple formats, building your own local data analysis assistant, and using an open-source and controllable data science agent in scientific research or teaching.
VIII. Limitations and notes Official materials do not provide pricing or charging plans, specific performance metrics and effect data (such as accuracy, etc.), nor did it provide specific links to the API guide and application form; the official web demo interface is still said to be an initial version and welcomes further development.