DeepResearch

Alibaba-NLPApache-2.0更新放缓

通义开源深度研究智能体,能自主规划多步检索、浏览网页并整合信息,产出带引用的研究报告,适合做调研问答和资料汇总。

Tongyi Deep Research, the Leading Open-source Deep Research Agent

暂无版本20,121star +13 / 7 天1,532fork同步于 2026-11-10 05:23 UTC

怎么上手

由 README 提炼,执行前请确认
conda create -n react_infer_env python=3.10.0
conda activate react_infer_env
pip install -r requirements.txt
cp .env.example .env
bash run_react_infer.sh
硬件要求按 README 说明

README 未说明具体显存要求;模型为 30B-A3B、上下文 128K,本地部署需自行准备权重;也可通过 OpenRouter API 调用,无需 GPU。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

阿里通义开源的深度研究智能体,30B-A3B 模型专攻长程信息检索与多步推理

通义开源深度研究智能体,能自主规划多步检索、浏览网页并整合信息,产出带引用的研究报告,适合做调研问答和资料汇总。

核心能力

  • 30.5B 总参数、每 token 仅激活 3.3B 的 MoE 智能体模型
  • 支持 ReAct 与 IterResearch Heavy 两种推理范式
  • 提供全自动合成数据流水线与端到端强化学习训练方案
  • 内置网页搜索、网页阅读、文件解析与代码沙箱等工具链
  • 附带多数据集基准评测脚本与 OpenRouter 免 GPU 调用方式

容易踩的坑

推荐 Python 3.10.0,其他版本可能引发依赖问题;需自行下载 Tongyi-DeepResearch-30B-A3B 权重并填 MODEL_PATH;运行前必须在 .env 中配置 Serper、Jina、DashScope、沙箱等多个外部 API Key。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    MODELS GITHUB Blog Paper

    👏 Welcome to try Tongyi DeepResearch via our Modelscope online demo or 🤗 Huggingface online demo or bailian service!

    [!NOTE] This demo is for quick exploration only. Response times may vary or fail intermittently due to model latency and tool QPS limits. For a stable experience we recommend local deployment; for a production-ready service, visit bailian and follow the guided setup.

    Introduction

    We present Tongyi DeepResearch, an agentic large language model featuring 30.5 billion total parameters, with only 3.3 billion activated per token. Developed by Tongyi Lab, the model is specifically designed for long-horizon, deep information-seeking tasks. Tongyi DeepResearch demonstrates state-of-the-art performance across a range of agentic search benchmarks, including Humanity's Last Exam, BrowseComp, BrowseComp-ZH, WebWalkerQA,xbench-DeepSearch, FRAMES and SimpleQA.

    Tongyi DeepResearch builds upon our previous work on the WebAgent project.

    More details can be found in our 📰 Tech Blog.

    Features

    • ⚙️ Fully automated synthetic data generation pipeline: We design a highly scalable data synthesis pipeline, which is fully automatic and empowers agentic pre-training, supervised fine-tuning, and reinforcement learning.
    • 🔄 Large-scale continual pre-training on agentic data: Leveraging diverse, high-quality agentic interaction data to extend model capabilities, maintain freshness, and strengthen reasoning performance.
    • 🔁 End-to-end reinforcement learning: We employ a strictly on-policy RL approach based on a customized Group Relative Policy Optimization framework, with token-level policy gradients, leave-one-out advantage estimation, and selective filtering of negative samples to stabilize training in a non‑stationary environment.
    • 🤖 Agent Inference Paradigm Compatibility: At inference, Tongyi DeepResearch is compatible with two inference paradigms: ReAct, for rigorously evaluating the model's core intrinsic abilities, and an IterResearch-based 'Heavy' mode, which uses a test-time scaling strategy to unlock the model's maximum performance ceiling.

    Model Download

    You can directly download the model by following the links below.

    ModelDownload LinksModel SizeContext Length
    Tongyi-DeepResearch-30B-A3B🤗 HuggingFace 🤖 ModelScope30B-A3B128K

    News

    [2025/09/20]🚀 Tongyi-DeepResearch-30B-A3B is now on OpenRouter! Follow the Quick-start guide.

    [2025/09/17]🔥 We have released Tongyi-DeepResearch-30B-A3B.

    Deep Research Benchmark Results

    Quick Start

    This guide provides instructions for setting up the environment and running inference scripts located in the inference folder.

    1. Environment Setup

    • Recommended Python version: 3.10.0 (using other versions may cause dependency issues).
    • It is strongly advised to create an isolated environment using conda or virtualenv.
    # Example with Conda
    conda create -n react_infer_env python=3.10.0
    conda activate react_infer_env
    

    2. Installation

    Install the required dependencies:

    pip install -r requirements.txt
    

    3. Environment Configuration and Prepare Evaluation Data

    Environment Configuration

    Configure your API keys and settings by copying the example environment file:

    # Copy the example environment file
    cp .env.example .env
    

    Edit the .env file and provide your actual API keys and configuration values:

    • SERPER_KEY_ID: Get your key from Serper.dev for web search and Google Scholar
    • JINA_API_KEYS: Get your key from Jina.ai for web page reading
    • API_KEY/API_BASE: OpenAI-compatible API for page summarization from OpenAI
    • DASHSCOPE_API_KEY: Get your key from Dashscope for file parsing
    • SANDBOX_FUSION_ENDPOINT: Python interpreter sandbox endpoints (see SandboxFusion)
    • MODEL_PATH: Path to your model weights
    • DATASET: Name of your evaluation dataset
    • OUTPUT_PATH: Directory for saving results

    Note: The .env file is gitignored, so your secrets will not be committed to the repository.

    Prepare Evaluation Data

    The system supports two input file formats: JSON and JSONL.

    Supported File Formats:

    Option 1: JSONL Format (recommended)

    • Create your data file with .jsonl extension (e.g., my_questions.jsonl)
    • Each line must be a valid JSON object with question and answer keys:
      {"question": "What is the capital of France?", "answer": "Paris"}
      {"question": "Explain quantum computing", "answer": ""}
      

    Option 2: JSON Format

    • Create your data file with .json extension (e.g., my_questions.json)
    • File must contain a JSON array of objects, each with question and answer keys:
      [
        { "question": "What is the capital of France?", "answer": "Paris" },
        { "question": "Explain quantum computing", "answer": "" }
      ]
      

    Important Note: The answer field contains the ground truth/reference answer used for evaluation. The system generates its own responses to the questions, and these reference answers are used to automatically judge the quality of the generated responses during benchmark evaluation.

    File References for Document Processing:
    • If using the file parser tool, prepend the filename to the question field
    • Place referenced files in eval_data/file_corpus/ directory
    • Example: {"question": "(Uploaded 1 file: ['report.pdf'])\n\nWhat are the key findings?", "answer": "..."}
    File Organization:
    project_root/
    ├── eval_data/
    │   ├── my_questions.jsonl          # Your evaluation data
    │   └── file_corpus/                # Referenced documents
    │       ├── report.pdf
    │       └── data.xlsx
    

    4. Configure the Inference Script

    • Open run_react_infer.sh and modify the following variables as instructed in the comments:
      • MODEL_PATH - path to the local or remote model weights.
      • DATASET - full path to your evaluation file, e.g. eval_data/my_questions.jsonl or /path/to/my_questions.json.
      • OUTPUT_PATH - path for saving the prediction results, e.g. ./outputs.
    • Depending on the tools you enable (retrieval, calculator, web search, etc.), provide the required API_KEY, BASE_URL, or other credentials. Each key is explained inline in the bash script.

    5. Run the Inference Script

    bash run_react_infer.sh
    

    With these steps, you can fully prepare the environment, configure the dataset, and run the model. For more details, consult the inline comments in each script or open an issue.

    6. You can use OpenRouter's API to call our model

    Tongyi-DeepResearch-30B-A3B is now available at OpenRouter. You can run the inference without any GPUs.

    You need to modify the following in the file inference/react_agent.py:

    • In the call_server function: Set the API key and URL to your OpenRouter account’s API and URL.
    • Change the model name to alibaba/tongyi-deepresearch-30b-a3b.
    • Adjust the content concatenation way as described in the comments on lines 88–90.

    Benchmark Evaluation

    We provide benchmark evaluation scripts for various datasets. Please refer to the evaluation scripts directory for more details.

    FAQ

    Please refer to the FAQ for more details.

    Deep Research Agent Family

    Tongyi DeepResearch also has an extensive deep research agent family. You can find more information in the following paper:

    [1] WebWalker: Benchmarking LLMs in Web Traversal (ACL 2025) [2] WebDancer: Towards Autonomous Information Seeking Agency (NeurIPS 2025) [3] WebSailor: Navigating Super-human Reasoning for Web Agent [4] WebShaper: Agentically Data Synthesizing via Information-Seeking Formalization [5] WebWatcher: Breaking New Frontier of Vision-Language Deep Research Agent [6] WebResearcher: Unleashing unbounded reasoning capability in Long-Horizon Agents [7] ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarization [8] WebWeaver: Structuring Web-Scale Evidence with Dynamic Outlines for Open-Ended Deep Research [9] WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement Learning [10] Scaling Agents via Continual Pre-training [11] Towards General Agentic Intelligence via Environment Scaling [12] AgentFold: Long-Horizon Web Agents with Proactive Context Management [13] WebLeaper: Empowering Efficient, Info-Rich Seeking for Web Agents [14] BrowseConf: Confidence-Guided Test-Time Scaling for Web Agents [15] Repurposing Synthetic Data for Fine-grained Search Agent Supervision [16] ParallelMuse: Agentic Parallel Thinking for Deep Information Seeking [17] AgentFrontier: Expanding the Capability Frontier of LLM Agents with ZPD-Guided Data Synthesis [18] Nested Browser-Use Learning for Agentic Information Seeking

    🌟 Misc

    Star History Chart

    🚩 Talent Recruitment

    🔥🔥🔥 We are hiring! Research intern positions are open (based in Hangzhou、Beijing、Shanghai)

    📚 Research Area:Web Agent, Search Agent, Agent RL, MultiAgent RL, Agentic RAG

    ☎️ Contact:[email protected]

    Contact Information

    For communications, please contact Yong Jiang ([email protected]).

    Citation

    @article{tongyidr,
      title={Tongyi DeepResearch Technical Report},
      author={Team, Tongyi DeepResearch and Li, Baixuan and Zhang, Bo and Zhang, Dingchu and Huang, Fei and Li, Guangyu and Chen, Guoxin and Yin, Huifeng and Wu, Jialong and Zhou, Jingren and others},
      journal={arXiv preprint arXiv:2510.24701},
      year={2025}
    }