运行前需先在 config.py 中配置好变量(如 OpenAI 或 Azure OpenAI API);演示界面需额外执行 pip install gradio;复现基准结果需另行下载官方提供的字幕文件
DeepVideoDiscovery
microsoftMIT长期未更新面向超长视频理解的深度研究式问答智能体,能自动拆解问题、检索视频片段并给出答案,省去人工逐帧翻看的麻烦。
**Deep Video Discovery (DVD)** is a deep-research style question answering agent designed for understanding extra-long videos.
git clone https://github.com/microsoft/deepvideodiscovery.git
cd DeepVideoDiscovery
pip install -r requirements.txtREADME 未说明显存、GPU 型号或 CPU 运行要求
面向超长视频理解的深度研究式问答智能体,用 LLM 自主规划并调用工具检索视频内容来回答复杂问题
面向超长视频理解的深度研究式问答智能体,能自动拆解问题、检索视频片段并给出答案,省去人工逐帧翻看的麻烦。
核心能力
- 把切分后的视频片段当作可探索环境逐层检索
- LLM 自主规划推理并动态制定解题策略
- 按多粒度选择工具迭代抽取视频相关信息
- 对观察结果做总结与反思以生成完整答案
- 提供 lite_mode 仅用字幕做轻量播客分析
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Deep Video Discovery: Agentic Search with Tool Use for Long-form Video Understanding
This repository contains the official implementation of the paper Deep Video Discovery: Agentic Search with Tool Use for Long-form Video Understanding, which achieves the state-of-the-art performance by a large margin on multiple long video benchmarks including the challenging LVBench.
Update
- 2025/10/15: Add a markdown to help to reproduce the LVBench results: REPRODUCE.md. Email me (xiaoyizhang [/at/] microsoft.com) if your issue gets no response in 24 hours.
- 2025/09/19: Accepted by NeurIPS 2025 🎉
- 2025/08/04: Upload captions on benchmarks for reproduction: LVBench, LVBench w/ transcripts, Video-MME, LongVideoBench and EgoSchema.
- 2025/08/02: Support auto subtitle in the demo.
- 2025/07/17: Add gradio demo.
- 2025/07/16: Add
lite_modeto enable a lightweight version of the agent that uses only subtitles. Good for Youtube podcast analysis! - 2025/07/14: Support OpenAI API and Azure OpenAI API.
- 2025/07/08: Initial release of the Deep Video Discovery codebase.
Introduction
Deep Video Discovery (DVD) is a deep-research style question answering agent designed for understanding extra-long videos. Leveraging the powerful capabilities of large language models (LLMs), DVD effectively interprets and processes extensive video content to answer complex user queries.
https://github.com/user-attachments/assets/26d4d524-bdf0-48a5-9d33-ce19fa7779fb
DVD Achieves state-of-the-art performance by a large margin on multiple long video benchmarks using OpenAI o3.

The core design of DVD includes:
- 🎬 Treating segmented video clips as exploration environments
- 🤖 Autonomous planning and reasoning, dynamically formulating strategies to solve problems efficiently
- 🛠️ Selecting appropriate multi-granular tools, iteratively extracting relevant information from the video environment
- 📝 Summarizing and reflecting on observations, to provide comprehensive and accurate answers to user questions
Installation
-
Clone the repository:
git clone https://github.com/microsoft/deepvideodiscovery.git cd DeepVideoDiscovery -
Create a virtual environment and install the dependencies:
pip install -r requirements.txt -
(Optional) Install gradio for demo:
pip install gradio
Usage
Note: Set up your configuration by updating the variables in config.py.
Example
The local_run.py script provides an example of how to run the Deep Video Discovery agent by providing a youtube url and question about it.
```bash
python local_run.py https://www.youtube.com/watch?v=PQFQ-3d2J-8 "what did the main speaker talk about in the last part of video?"
```
TODO
- Support OpenAI API key configuration.
- Implement MCP server.
- Release evaluation trajectory data on long video benchmarks.
Changes
Compared to the original implementation, we have made the following changes:
- Refactored the code for better readability and maintainability.
- In
global_browse_toolwe leverage the textual description (rather than original video pixels) of multiple video clips to provide global overview of the video content to improve efficency.
Citation
If you find our work useful, please consider citing:
@article{zhang2025deep,
title={Deep Video Discovery: Agentic Search with Tool Use for Long-form Video Understanding},
author={Zhang, Xiaoyi and Jia, Zhaoyang and Guo, Zongyu and Li, Jiahao and Li, Bin and Li, Houqiang and Lu, Yan},
journal={arXiv preprint arXiv:2505.18079},
year={2025}
}