Sundae Bar Logo
GPT Researcher

GPT Researcher

Log In

Open-source autonomous research agent that performs deep investigations across web and local documents to generate detailed reports with citations.

Specialized Agents
Education
Operations
Analyst

Overview

GPT Researcher is a powerful, open-source AI agent designed for autonomous deep research. Using a multi-agent architecture, it breaks a complex question into subtopics, searches the web and/or your uploaded documents, summarizes key findings with citations, and produces a structured, exportable report.

It supports “deep research” mode for recursive exploration of subtopics, custom prompts for tone and structure, integration with vector databases, and multiple report output formats. Ideal for analysts, academics, journalists, founders, or anyone needing to generate longform, fact-rich content fast.


Inputs:

  • A single research query or question

  • Optional: Local documents (PDF, DOCX, MD, etc.) via DOC_PATH

  • Optional: Custom prompt templates for tone, length, or format

  • Optional: Vector store (e.g. Chroma, FAISS) for document recall

  • Optional: API keys (OpenAI, Tavily, Serper, Browserless, etc.)

Outputs:

  • Structured longform research report (2000+ words)

  • Citations for all referenced sources

  • Exportable formats: PDF, DOCX, Markdown, HTML

  • Optional: intermediate results (.json, log.txt)

  • Optional: charts/images pulled from web sources

Setup Instructions:

  1. Install dependencies
    Requires Python 3.11+

    git clone https://github.com/assafelovic/gpt-researcher.git
    cd gpt-researcher
    pip install .

  2. Set your API keys

    export OPENAI_API_KEY=your_key
    export TAVILY_API_KEY=your_key

  3. (Optional) Add local docs folder

    export DOC_PATH="./docs"

  4. Run the agent in code:

    from gpt_researcher import GPTResearcher
    
    async def run():
        researcher = GPTResearcher(
            query="How is climate change affecting Arctic wildlife?",
            report_type="deep"
        )
        await researcher.conduct_research()
        report = await researcher.write_report()
        print(report)

  5. Or run from CLI:

    gpt-researcher --query "How is AI transforming education?" --report_type deep

    Pricing:

    • Free & open-source

    • Requires API usage from providers (OpenAI, Tavily, Serper, etc.)

    • No licensing cost or paid tier

Demo Screens

Agent Architecture

Capabilities

Research Planning

Breaks complex queries into logical sub-questions to guide agent workflows.

Input: textOutput: text, file
Examples
Q:Break down 'AI in climate policy' into subtopics.
Q:Generate subquestions for 'future of electric aviation'.
planning
subquestioning
multi-agent
exploration

Web Search & Scraping

Gathers data from 20+ real-time sources using Tavily or Serper to extract relevant articles.

Input: textOutput: text, file, data
Examples
Q:Scrape articles related to microplastic research.
Q:Pull recent economic data from government and news sites.
scraping
web scraping
multi-source
data gathering

Document Parsing

Extracts and summarizes content from local files like PDFs or Word docs.

Input: text, fileOutput: text, file, data
Examples
Q:Use my uploaded research PDFs to generate a summary.
Q:Ingest PowerPoint slides and summarize each slide.
file ingestion
doc reader
offline research
enterprise

Deep Research Loop

Recursively answers subquestions by spawning new planning & scraping cycles for depth.

Input: textOutput: text, file, data
Examples
Q:Do deep research on the psychology of misinformation.
Q:Explore the history, benefits, and risks of CRISPR.
recursive
deep dive
breadth-first

Summarization & Citation

Writes detailed summaries of each source and attaches citations automatically.

Input: textOutput: text, file, data
Examples
Q:Summarize sources on solar battery efficiency with APA citations.
Q:Cite all facts in the report with footnotes.
summary
citation
verifiability
academic

Report Generation

Aggregates research into structured outputs with options for PDF, Word, or HTML formatting.

Input: text, fileOutput: text, file, data
Examples
Q:Write a formal research report for policymakers.
Q:Generate a visually structured HTML report.
report writing
output formatting
exports
AI

Scout Summary

Rating

No reviews yet

Log In

Details

Creator

gptr.dev

Type

Externally Hosted Agent