AgentToolHub
MCP Server

gpt-researcher

An autonomous agent that conducts deep research on any data using any LLM providers

Features

  • ✓📝 Generate detailed research reports using web and local documents.
  • ✓🖼️ Smart image scraping and filtering for reports.
  • ✓🍌 **AI-generated inline images** using Google Gemini (Nano Banana) for visual illustrations.
  • ✓📜 Generate detailed reports exceeding 2,000 words.
  • ✓🌐 Aggregate over 20 sources for objective conclusions.
  • ✓🖥️ Frontend available in lightweight (HTML/CSS/JS) and production-ready (NextJS + Tailwind) versions.
  • ✓🔍 JavaScript-enabled web scraping.
  • ✓📂 Maintains memory and context throughout research.
  • ✓📄 Export reports to PDF, Word, and other formats.

Installation Guide

  • Install Python 3.11 or later. Guide.

  • Clone the project and navigate to the directory:
  • bash
        git clone https://github.com/assafelovic/gpt-researcher.git
        cd gpt-researcher

  • Set up API keys by exporting them or storing them in a .env file.
  • bash
        export OPENAI_API_KEY={Your OpenAI API Key here}
        export TAVILY_API_KEY={Your Tavily API Key here}

    (Optional) For enhanced tracing and observability, you can also set:

    bash
        # export LANGCHAIN_TRACING_V2=true
        # export LANGCHAIN_API_KEY={Your LangChain API Key here}

    For custom OpenAI-compatible APIs (e.g., local models, other providers), you can also set:

    bash
        export OPENAI_BASE_URL={Your custom API base URL here}

  • Install dependencies and start the server:
  • bash
        pip install -r requirements.txt
        python -m uvicorn main:app --reload

    Visit http://localhost:8000 to start.

    For other setups (e.g., Poetry or virtual environments), check the Getting Started page.

    Reviews