GPT Researcher
An open-source research agent that searches the web or your files and writes a cited report with an LLM
Activity
Figures from the GitHub API, read Dec 1, 2026.
What it is for
GPT Researcher takes a question, has a planner model split it into sub-questions, runs searches and scrapes pages for each one in parallel, filters the scraped text down to the passages that matter, and has a writer model produce a report with citations. It can also research a folder of local documents (PDF, Word, Excel, Markdown and others) or pull from MCP servers, and it has a slower recursive "deep research" mode. You use it as a Python package (pip install gpt-researcher), as a local web app served by FastAPI, or through Docker Compose with a Next.js front end.
It is not free to run. By default it needs an OpenAI key and a Tavily search key. The project's own cost page, measured on 22 and 23 November 2026 with the default models, puts a standard report at about US$0.08 in model fees and a deep research run at about US$1.30, before search fees; Tavily's free plan covers about 1,000 searches a month. Other model providers, including local models through Ollama, and about 20 other search back ends can be configured, but the docs say it is tuned and tested mainly on OpenAI models and others may hit context-limit errors.
The web server has no authentication by design: the security policy says to keep it local or behind your own access control, because anyone who can reach it can, among other things, configure MCP servers that run commands. The install is heavy, at about 1.3 to 1.4 GB for the Python environment in our test, and the README calls the project experimental and provided as-is.
Quickstart
Tested on 2026-12-01 in a clean python:3.12-slim Linux container (arm64, Python 3.12.16), with no real API keys. We tried two of the README's routes: the PIP package and the clone-and-serve web app (commit 38bfe68).
PIP package. We ran the example from the PIP package docs page, which researches one question with report_type="research_report":
python -m venv .venv
.venv/bin/pip install gpt-researcher
.venv/bin/python example.py # GPTResearcher(query, report_type), conduct_research(), write_report()
The install finished without errors and installed gpt-researcher 0.17.0; the virtual environment was 1.4 GB. With no keys set, the run stopped at the first model call with openai.OpenAIError: Missing credentials. With placeholder keys (OPENAI_API_KEY=sk-placeholder, TAVILY_API_KEY=tvly-placeholder), it got as far as planning sub-questions and then ended with RuntimeError: Failed to get response from openai API. No report was produced.
Web app. The README's Getting Started commands, with a virtual environment added:
git clone https://github.com/assafelovic/gpt-researcher.git && cd gpt-researcher
python -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/python -m uvicorn main:app --host 127.0.0.1 --port 8000
The install finished (1.3 GB for the environment, 44 MB for the shallow clone). The server started and answered: GET / returned 200 with the "GPT Researcher" page, /docs returned 200, and the OpenAPI schema listed endpoints including /report/, /upload/, /files/ and /api/chat. None of them asked for a login. A POST /report/ with placeholder keys did not come back within 200 seconds: the server log showed each model call retried 10 times against OpenAI with 401 Incorrect API key, then falling back from the strategic model to the smart model and retrying again. A bad key therefore shows up as a long stall rather than a quick error.
Not tested by us: a real research report, report quality or the cost figures, deep research, local documents, the MCP client, other model or search providers, Ollama, the Docker Compose route and the Next.js front end, and the Claude skill.
Before you adopt it
6 of 6 key facts checked- Install commandOne copy-and-paste to get it
- As a library: pip install gpt-researcher, then call GPTResearcher(query).conduct_research() and write_report() from async Python code. As a local web app: git clone https://github.com/assafelovic/gpt-researcher.git, cd gpt-researcher, pip install -r requirements.txt, python -m uvicorn main:app --reload, then open http://localhost:8000. With Docker: copy .env.example to .env, add keys, docker compose up --build (API on port 8000, Next.js app on port 3000). It is also offered as a Claude skill via npx skills add assafelovic/gpt-researcher.Checked Dec 1, 2026 · source
- Runtime requirementsLanguage version, operating system, key dependencies
- Python 3.12 or later according to the README and pyproject.toml, though the PIP package docs page still says 3.10+ and gptr.dev says 3.11+. Built on LangChain and LangGraph with FastAPI and uvicorn for the server. On Python 3.12 the pip install pulled gpt-researcher 0.17.0, langchain 1.5.2, langchain-openai 1.8.5, langgraph 1.2.25, litellm 1.112.0, openai 3.61.0, mcp 1.30.0 and weasyprint 70.0. Needs a model key (OpenAI by default) and a search key (Tavily by default) to do anything.Checked Dec 1, 2026 · source
- Hardware needsGPU memory, RAM, disk; whether CPU-only is workable
- No GPU when using hosted model APIs. Disk is the main cost: in our container the pip install took 1.4 GB, the requirements.txt install for the web app 1.3 GB, the shallow clone 44 MB and the pip cache 433 MB. Running models locally through Ollama is documented but has its own hardware needs, which we did not test.Checked Dec 1, 2026 · source
- Latest releaseA push is not a release
- v3.8.0 on GitHub, published 9 November 2026. The PyPI package uses a separate version line: 0.17.0, uploaded the same day.Checked Dec 1, 2026 · source
- MaintainersHow many people the project depends on
- 30+ contributors; the top three account for 82% of commits among the 30 most active (all time)Checked Dec 1, 2026 · source
- Licence caveatsModel weights and commercial terms often differ from the code licence
- The repository LICENSE file is Apache-2.0, but the package metadata in pyproject.toml and on PyPI says MIT, so the two do not agree. The README calls it an experimental application provided as-is and says the code is shared for academic purposes. The model and search APIs it calls (OpenAI, Tavily, the optional TypeSafe Jev filter, Google Gemini for images) are paid services with their own terms.Checked Dec 1, 2026 · source
- DocumentationWhere the real docs live
- https://docs.gptr.dev, covering setup, configuration, model and search providers, costs, the MCP client, deep research and the front ends. The project site is https://gptr.dev.Checked Dec 1, 2026 · source
- Supported models and providersWhat it works with
- Models: openai, anthropic, azure_openai, cohere, google_vertexai, google_genai, fireworks, ollama, together, mistralai, huggingface, groq, bedrock, litellm, minimax, atlascloud and nebius, plus any OpenAI-compatible endpoint via OPENAI_BASE_URL. The docs say it is tuned and tested mainly on GPT models. Search: Tavily by default, with Bing, Brave, Google, SearchApi, SerpApi, Serper, SearX, DuckDuckGo, arXiv, OpenAlex, Semantic Scholar, Exa, PubMed Central, MCP servers and others selectable through RETRIEVER.Checked Dec 1, 2026 · source
- Security recordAdvisories and security policy
- The security policy says the FastAPI and WebSocket server ships without authentication or network access controls by design and should be run locally or behind the operator's own auth and reverse proxy. It lists SSRF and local file access through user-supplied URLs, and command execution through user-supplied MCP server configs, as out of scope when the server is exposed without auth. Reports go through GitHub private vulnerability reporting or the maintainer's email.Checked Dec 1, 2026 · source
- BackingCompany or solo maintainer
- Hosted on the personal GitHub account of its author, Assaf Elovic, not an organisation account. The project site and docs are at gptr.dev; support is through a Discord community.Checked Dec 1, 2026 · source
