skills/43-wentorai-research-plugins/skills/research/deep-research/gpt-researcher-guide/SKILL.md
Autonomous agent for comprehensive deep research on any topic
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research gpt-researcher-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.
GPT Researcher is an autonomous research agent with over 26,000 GitHub stars that conducts comprehensive online research on any given topic. Developed by Assaf Elovic, it generates detailed, factual, and unbiased research reports by planning research questions, searching multiple sources, scraping and filtering relevant content, and synthesizing findings into well-structured reports with citations.
The agent addresses a fundamental challenge in AI-assisted research: generating accurate, comprehensive reports rather than relying on a single LLM's potentially outdated or hallucinated knowledge. GPT Researcher uses a multi-agent architecture where a planner agent decomposes the research query into sub-questions, multiple retriever agents gather information from diverse sources, and a writer agent synthesizes everything into a coherent report.
For academic researchers, GPT Researcher is valuable for conducting preliminary literature surveys, exploring unfamiliar research domains, gathering background information for grant proposals, and generating initial drafts of review sections. The agent can be configured to search specific domains, use academic search engines, and output reports in various formats including markdown and PDF.
# Install from PyPI
pip install gpt-researcher
# Or clone for development
git clone https://github.com/assafelovic/gpt-researcher.git
cd gpt-researcher
pip install -e .
Configure your environment with API keys using environment variables:
# Required: LLM provider (choose one)
export OPENAI_API_KEY=$OPENAI_API_KEY
# Or use other providers
export ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY
# Required: Search provider (choose one)
export TAVILY_API_KEY=$TAVILY_API_KEY
# Or alternatives
export SERPER_API_KEY=$SERPER_API_KEY
export SEARX_URL=$SEARX_URL
For a fully local setup without external API dependencies, you can configure local LLMs and search engines:
# Use local LLM via Ollama
export OPENAI_BASE_URL=http://localhost:11434/v1
export LLM_PROVIDER=ollama
export FAST_LLM=llama3
export SMART_LLM=llama3
# Use local search via SearXNG
export SEARX_URL=http://localhost:8888
export SEARCH_PROVIDER=searx
Generate a research report with a single function call:
from gpt_researcher import GPTResearcher
import asyncio
async def run_research():
query = "Recent advances in protein structure prediction using deep learning"
researcher = GPTResearcher(query=query, report_type="research_report")
# Conduct research (searches, scrapes, analyzes sources)
research_result = await researcher.conduct_research()
# Generate the final report
report = await researcher.write_report()
# Access sources used
sources = researcher.get_source_urls()
print(f"Report based on {len(sources)} sources")
print(report)
asyncio.run(run_research())
GPT Researcher supports multiple report types tailored to different needs:
# Generate a detailed multi-page report
researcher = GPTResearcher(
query="Transformer architectures for scientific document understanding",
report_type="detailed_report",
max_subtopics=5,
)
The research process follows a sophisticated multi-agent pipeline:
# Customize the research configuration
researcher = GPTResearcher(
query="Impact of climate change on marine biodiversity",
report_type="research_report",
source_urls=None, # Or provide specific URLs to research
config_path=None, # Or path to custom config
max_search_results_per_query=5,
verbose=True,
)
Restrict research to specific domains or provide seed URLs:
# Research only from specific academic sources
researcher = GPTResearcher(
query="CRISPR gene editing safety profiles",
source_urls=[
"https://pubmed.ncbi.nlm.nih.gov/",
"https://www.nature.com/",
"https://www.science.org/",
],
)
Configure different LLMs for different stages of the research pipeline:
# Use a fast model for planning and a powerful model for writing
# Set via environment variables
# FAST_LLM: Used for sub-question generation and filtering
# SMART_LLM: Used for report synthesis and writing
GPT Researcher includes a web interface and API server:
# Start the web UI and API server
cd gpt-researcher
pip install -r requirements.txt
python -m uvicorn main:app --host 0.0.0.0 --port 8000
The API exposes WebSocket endpoints for streaming research progress and REST endpoints for report management, making it easy to integrate into existing research platforms.
GPT Researcher can be adapted for several academic use cases:
The reports include full citations with URLs, making it straightforward to verify sources and follow up with deeper reading of primary literature.
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.