SuperAPI AI Directory

gpt-researcher

LLM-based autonomous agent that conducts comprehensive online research on any given topic.

Open website

About this tool

GPT Researcher is an open-source deep research agent for web and local research, capable of automatically generating detailed, cited, and as objective as possible research reports for any given task, and supports using any LLM provider.

I. Purpose and Positioning It is designed to help individuals and organizations obtain accurate, unbiased, fact-based information through AI. Its core idea is to use a "planner" and "execution" agent: the planner generates research questions, the execution agent collects relevant information, and finally a publisher aggregates all findings into a comprehensive report. The official description states that traditional manual research may take weeks; LLMs trained on outdated data may hallucinate; existing LLMs have token limits; the limited web sources of existing services may lead to misinformation and shallow results; and selective web sources may introduce bias. GPT Researcher is designed to address these issues.

II. Main Capabilities

  • Generate detailed research reports using web and local documents.
  • Intelligently scrape and filter images for reports.
  • Use Google Gemini (Nano Banana) to generate AI-embedded illustrations for visual explanations.
  • Generate detailed reports of more than 2,000 words.
  • Aggregate more than 20 sources to form objective conclusions.
  • Intelligent context filtering via Jev, with no API key or embeddings required by default.
  • Provide two frontend versions: lightweight (HTML/CSS/JS) and production-grade (NextJS + Tailwind).
  • Support web scraping with JavaScript enabled.
  • Maintain memory and context during the research process.
  • Support exporting reports to PDF, Word, and other formats.

III. Workflow Create a task-specific agent based on the research query; generate questions that together can form an objective opinion on the task; use crawler agents to collect information for each question; summarize and track sources for each resource; filter and aggregate summaries to form the final research report.

IV. Deep Research Includes a Deep Research recursive research workflow, using a tree-like exploration pattern, maintaining a comprehensive view of the research topic while exploring subtopics in depth. Features include: tree-like exploration with configurable depth and breadth, concurrent processing to speed up results, and intelligent context management across research branches. The official description states that each deep research takes about 5 minutes, and when using o3-mini with "high" reasoning effort, each research costs about $0.4.

V. Intelligent ContextText Filtering (Jev) Each research session scrapes dozens of pages, only part of whose content is useful for answering the question. Before the content enters the LLM, GPT Researcher decides which passages to keep. By default, it uses TypeSafe's Jev model, scoring passages by how useful they are for answering the question, rather than by word or embedding similarity. The official description states that Jev's contextual relevance is 59% higher than embeddings at the same cost (73% of retained passages are relevant, compared with 46% for embeddings). Jev is used when TYPESAFE_API_KEY is set; if the key is absent or the Jev call fails, it falls back to locally run keyword (BM25) ranking that requires no API key, model, or embeddings; embeddings can still be used as an option.

VI. Usage

  1. Install Python 3.12 or later.

  2. Clone the project and enter the directory: git clone https://github.com/assafelovic/gpt-researcher.git cd gpt-researcher

  3. Set the API key by exporting environment variables or writing them to a .env file: export OPENAI_API_KEY={Your OpenAI API Key here} export TAVILY_API_KEY={Your Tavily API Key here} Optional tracing and observability settings: export LANGCHAIN_TRACING_V2=true export LANGCHAIN_API_KEY={Your LangChain API Key here} For a custom OpenAI-compatible API (such as a local model or another provider), you can set: export OPENAI_BASE_URL={Your custom API base URL here}

  4. Install dependencies and start the service: pip install -r requirements.txt python -m uvicorn main:app --reload

  5. Visit http://localhost:8000 to get started. For other installation methods (such as Poetry or a virtual environment), see the Getting Started page; it can also be run as a PIP package, as detailed on the PIP documentation page. Using Docker: install Docker; copy .env.example and add your API Keys, saving it as .env; comment out in the docker-compose file any services you do not want to run with Docker; by default, when nothing is uncommented, it starts the Python service running on localhost:8000 and the React app running on localhost:3000; visit localhost:3000 in your browser.

  6. Local Document Research You can instruct GPT Researcher to run research tasks based on local documents. The currently supported file formats are: PDF, plain text, CSV, Excel, Markdown, PowerPoint, and Word documents. Point the DOC_PATH environment variable to the folder containing the documents; if the frontend is running on localhost:8000, you can select "My Documents" from the "Report Source" dropdown options; if running as a PIP package, pass the report_source parameter as "local" when instantiating the GPTResearcher class.

  7. Integrations and Frontend MCP integration is supported, allowing connection to specialized data sources such as GitHub repositories, databases, and custom APIs, thereby conducting data source research beyond web search. The MCP server has been moved to the separate repository gptr-mcp; this MCP server allows AI applications such as Claude to conduct deep research and supports Claude Desktop integration. Multi-agent assistants based on LangGraph and AG2 are also provided. It is officially stated that multiple agents with specialized skills can significantly improve the depth and quality of the research process, with an average run generating a 5-6 page research report supporting multiple formats such as PDF, Docx, and Markdown. The frontend provides an interface for entering queries, real-time progress tracking of research tasks, interactive display of research results, and customizable research settings.

  8. Observability and Extensibility LangSmith is supported to enhance tracing and observability, making it easier to debug and optimize complex multi-agent workflows. To enable tracing, set LANGCHAIN_TRACING_V2, LANGCHAIN_API_KEY, and LANGCHAIN_PROJECT. Contributions are officially welcomed, and a roadmap page and Discord community are provided.

  9. Use Cases and Limitations Suitable for research tasks that require multi-source, cited, objective synthesis reports, based on the web or local documents, or connecting to specialized data sources via MCP; suitable for scenarios where you want to customize domain-specific research agents. Limitations and notes: This project is an experimental application, provided "as-is", without any express or implied warranties; the code is shared under the Apache 2 license for academic purposes, is not academic advice, and is not recommended for academic or research papers. It is officially stated that its goal is not to eliminate bias, but to reduce it as much as possible; its way of reducing errors and biased facts is to scrape more websites per research run and select the most common information. Regarding specific charges and pricing, apart from the note on deep research costs, no other information is currently provided.