skills/43-wentorai-research-plugins/skills/research/deep-research/tongyi-deep-research-guide/SKILL.md
Open-source deep research agent by Alibaba for scholarly research
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research tongyi-deep-research-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Tongyi DeepResearch is an open-source deep research agent developed by Alibaba's NLP team, with over 18,000 stars on GitHub. It implements an agentic research pipeline that iteratively searches, reads, reasons, and synthesizes information to produce comprehensive research reports. The system is designed to handle complex, multi-faceted research questions that require gathering evidence from multiple sources and reasoning across diverse information.
Unlike simpler RAG (Retrieval-Augmented Generation) systems that perform a single search-and-answer cycle, DeepResearch uses an iterative approach where the agent dynamically decides what to search next based on what it has already found. This makes it particularly effective for research questions that require building up understanding incrementally, following citation chains, or exploring multiple angles of a topic.
The project is notable for being one of the leading open-source alternatives to proprietary deep research tools. It supports multiple LLM backends, various search APIs, and can be customized for domain-specific research needs. For academic researchers, it offers a transparent and modifiable research pipeline where every step can be inspected, reproduced, and adapted.
# Clone the repository
git clone https://github.com/Alibaba-NLP/DeepResearch.git
cd DeepResearch
# Install dependencies
pip install -r requirements.txt
# Or install with conda
conda create -n deepresearch python=3.10
conda activate deepresearch
pip install -r requirements.txt
Configure your environment for the LLM and search backends:
# LLM configuration (supports multiple providers)
export LLM_API_KEY=$LLM_API_KEY
export LLM_BASE_URL=$LLM_BASE_URL
export LLM_MODEL=qwen-max
# Search API configuration
export SEARCH_API_KEY=$SEARCH_API_KEY
export SEARCH_ENGINE=bing # or google, serper, tavily
For a fully local deployment with Ollama:
# Use local models
export LLM_BASE_URL=http://localhost:11434/v1
export LLM_MODEL=qwen2.5:72b
export LLM_API_KEY=ollama
DeepResearch follows a think-search-read-reflect loop that mimics how a human researcher works:
from deep_research import DeepResearch
# Initialize the research agent
agent = DeepResearch(
llm_model="qwen-max",
search_engine="bing",
max_iterations=10,
max_sources=30,
)
# Run a research query
result = agent.research(
query="What are the latest advances in multimodal large language models "
"and their applications in scientific research?",
output_format="markdown",
)
print(result.report)
print(f"Sources consulted: {len(result.sources)}")
print(f"Research iterations: {result.iterations}")
Fine-tune the research behavior for different types of queries:
config = {
"max_iterations": 15, # Maximum research cycles
"max_sources_per_query": 10, # Sources per search query
"min_relevance_score": 0.7, # Minimum source relevance threshold
"enable_citation_tracking": True, # Follow citation chains
"language": "en", # Output language
"report_length": "detailed", # brief, standard, or detailed
}
agent = DeepResearch(config=config)
DeepResearch integrates with multiple search providers to cast a wide net:
# Configure multiple search backends for comprehensive coverage
agent = DeepResearch(
search_engines=["bing", "openalex"],
search_strategy="parallel", # Search all engines simultaneously
)
DeepResearch can follow citation chains to discover related work:
result = agent.research(
query="Foundational papers on attention mechanisms in neural networks",
enable_citation_tracking=True,
citation_depth=2, # Follow citations up to 2 levels deep
)
Create research profiles optimized for specific academic domains:
# Biomedical research profile
bio_config = {
"preferred_sources": ["pubmed", "biorxiv", "nature", "science"],
"search_engines": ["openalex", "bing"],
"terminology_mode": "technical",
"citation_format": "apa",
}
agent = DeepResearch(config=bio_config)
result = agent.research(
"Recent developments in mRNA vaccine delivery mechanisms"
)
Monitor the research process in real-time:
async def stream_research():
agent = DeepResearch(llm_model="qwen-max")
async for event in agent.research_stream(
query="Quantum computing applications in drug discovery"
):
if event.type == "thinking":
print(f"Thinking: {event.content}")
elif event.type == "searching":
print(f"Searching: {event.query}")
elif event.type == "reading":
print(f"Reading: {event.url}")
elif event.type == "report":
print(f"Final report:\n{event.content}")
DeepResearch output can be integrated with standard academic tools:
Every research session can be fully reproduced:
# Save the complete research trace
result = agent.research(query="...", save_trace=True)
result.save_trace("research_trace.json")
# Replay a research session
replayed = DeepResearch.replay("research_trace.json")
The trace includes all search queries, retrieved documents, LLM prompts and responses, and reasoning steps, enabling full transparency and reproducibility of the research process.
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.