gpt-researcher
Skill30k starsChanged 5 months agoApache-2.0View on GitHub
GPT Researcher is an autonomous deep research agent that conducts web and local research, producing detailed reports with citations. Use this skill when helping developers understand, extend, debug, or integrate with GPT Researcher - including adding features, understanding the architecture, working with the API, customizing research workflows, adding new retrievers, integrating MCP data sources, or troubleshooting research pipelines.
- Reads credentials
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about assafelovic/gpt-researcher
- pydantic/pydantic-ai“deep research example”GitHub · Feb 12, 2025 · 7 reactions
- @michabbb.bsky.social“• Smart image scraping and filtering • JavaScript-enabled web crawling • Export to PDF, Word & other …”Bluesky · Feb 8, 2025 · 5 likes
- @github-trending.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 assafelovic / gpt-researcher ⭐ 16,421 (+177) 🗒 Python LLM based …”Bluesky · Feb 5, 2025 · 3 likes
- zai-org/GLM-OCR“Apache-2.0 declaration conflicts with mandatory AGPL dependency (pymupdf)”GitHub · Apr 15, 2026 · 2 reactions
- @capetorch.bsky.social“Another great use of LLM observability tools like Weave: 🤔 Navigating a new codebase I am building an …”Bluesky · Nov 8, 2024 · 2 likes
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub and Bluesky (58 times).
On GitHub · 50
- Feb 12, 2025deep research example — pydantic/pydantic-ai7 reactions · 11 comments
- Apr 15, 2026Apache-2.0 declaration conflicts with mandatory AGPL dependency (pymupdf) — zai-org/GLM-OCR2 reactions · 1 comment
- Feb 28, 2025Curation Support Tools for the Creation of a Lung Cancer Disease Map — nrnb/GoogleSummerOfCode1 reaction · 21 comments
- Sep 11, 2024Add number of stars to the list — e2b-dev/awesome-ai-agents1 reaction · 2 comments
- Sep 10, 2024Have a look at GPT-Researcher — stanford-oval/storm1 reaction
45 more on GitHub
- Nov 22, 2026chore(deps): update dependency assafelovic/gpt-researcher to v3.8.0 — SmadjaPaul/kube-ops0 reactions · 1 comment
- Nov 16, 2026Replace claims ledgers atomically — joeconstanti/scholar-skills0 reactions
- Nov 16, 2026مرشحون جدد للدليل (2026-11-16) — mgrd281/Skill-0 reactions
- Nov 16, 2026chore(deps): bump gpt-researcher from 0.16.1 to 0.17.0 — TIM-Intelegence-market/tim-ai-platform0 reactions · 1 comment
- Nov 14, 2026[研究] 从综合项目提炼五工具协作、证据管理与停止条件 — MattLYT/websearch-mcpserver-dashboard0 reactions · 1 comment
- Nov 9, 2026agent-skills.github.assafelovic.gpt-researcher: 3.7.0 → 3.8.0 — sudosubin/agents.nix0 reactions
- Nov 9, 2026fix(deps): update build updates (non-major) — ocraviotto/container-images0 reactions
- Nov 7, 2026Horizon 独立桌面应用:四模块与飞书适配器决策地图 — Moke110/horizon0 reactions · 1 comment
- Oct 28, 2026Market Lab: web research through GPT-Researcher over our SearXNG, model calls via Tank — Tervory-AI/tervory-tank0 reactions
- Oct 28, 2026Reports are written with CRLF line endings on Windows — Gaincontrol-Pte-Ltd/quin-agent-scanner0 reactions
- Oct 26, 2026chore(deps): bump gpt-researcher from 0.16.0 to 0.16.1 — TIM-Intelegence-market/tim-ai-platform0 reactions · 1 comment
- Oct 24, 2026Prepare optional GPT Researcher report checkpoint bridge — SAVER-SI/saver-verifier0 reactions
- Oct 21, 2026fix(deps): update all dependencies (patch) - autoclosed — SmadjaPaul/kube-ops0 reactions
- Oct 18, 2026Proposal: 可审计行业搜索与证据采集——固定代码、Skill 与小/大模型级联 — zehaoli0324-cloud/groundsignal0 reactions
- Oct 17, 2026chore(deps): bump gpt-researcher from 0.15.1 to 0.16.1 — patrickab/gigachad-bot0 reactions · 1 comment
- Oct 9, 2026audit 2026-10-09: the spend cap depends on whether the payer was imported — dhyabi2/gpt-researcher-x402-retriever0 reactions
- Oct 3, 2026agent-skills.github.assafelovic.gpt-researcher: 3.6.1 → 3.7.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026agent-skills.github.assafelovic.gpt-researcher: init at 3.6.1 — sudosubin/agents.nix0 reactions
- Sep 22, 2026chore(deps): update build updates (non-major) — ocraviotto/container-images0 reactions
- Jul 25, 2026Drive GPT Researcher as the synthesiser behind the citation-lineage research boundary — sipyourdrink-ltd/bernstein0 reactions · 2 comments
- Jul 18, 2026Update repo table — arran4/arran40 reactions
- Jul 2, 2026Update repo table — arran4/arran40 reactions
- Jul 1, 2026Source rot detected — 2026-07-01 — luongs3/skill-atlas0 reactions · 5 comments
- Jun 28, 2026Update repo table — arran4/arran40 reactions
- Jun 27, 2026Update repo table — arran4/arran40 reactions
- Jun 26, 2026Feature Request: GPT-Researcher Deep Research als eigenen Webresearch-Modus aktivieren — Matze383/amo-telegram-bot0 reactions · 1 comment
- Jun 25, 2026Update repo table — arran4/arran40 reactions
- Jun 24, 2026Update repo table — arran4/arran40 reactions
- Jun 23, 2026Update repo table — arran4/arran40 reactions
- Jun 21, 2026Update repo table — arran4/arran40 reactions
- Jun 19, 2026Update repo table — arran4/arran40 reactions
- Jun 18, 2026Update repo table — arran4/arran40 reactions
- Jun 17, 2026Update repo table — arran4/arran40 reactions
- Jun 16, 2026Update repo table — arran4/arran40 reactions
- Jun 14, 2026Update repo table — arran4/arran40 reactions
- Jun 12, 2026Update repo table — arran4/arran40 reactions
- Jun 10, 2026Update repo table — arran4/arran40 reactions
- Jun 7, 2026Update repo table — arran4/arran40 reactions
- Jun 6, 2026content(mcp): add GPT Researcher MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
- Jun 6, 2026Update repo table — arran4/arran40 reactions
- Jun 5, 2026Update repo table — arran4/arran40 reactions
- Jun 4, 2026build(deps): update gpt-researcher requirement from >=0.14.0 to >=0.15.1 — patrickab/gigachad-bot0 reactions
- Jun 3, 2026[Add] gpt-researcher (assafelovic/gpt-researcher) — PyTorchKR/landscape0 reactions · 2 comments
- May 29, 2026Submodul-Update: gpt_researcher v3.5.0 — 45 Commits behind — Mueller-Systems-Lab/Researcher0 reactions · 5 comments
- May 28, 2026chore(deps): update all dependencies (minor) — theepicsaxguy/homelab0 reactions · 32 comments
On Bluesky · 8
- Feb 8, 2025• Smart image scraping and filtering • JavaScript-enabled web crawling • Export to PDF, Word & other formats • Context retention throughout… — @michabbb.bsky.social5 likes and reposts
- Feb 5, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 assafelovic / gpt-researcher ⭐ 16,421 (+177) 🗒 Python LLM based autonomous agent that conducts deep… — @github-trending.bsky.social3 likes and reposts
- Nov 8, 2024Another great use of LLM observability tools like Weave: 🤔 Navigating a new codebase I am building an agentic GPT-powered researcher and… — @capetorch.bsky.social2 likes and reposts · 1 reply
- May 7, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 assafelovic / gpt-researcher ⭐ 8,902 (+100) 🗒 Python GPT based autonomous agent that does online… — @github-trending.bsky.social1 likes and repost
- Mar 1, 2024GPT Researcherを動かしながらコードリーディング🧑💻 assafelovic/gpt-researcher: GPT based autonomous agent that does online comprehensive research on any… — @codenote.net1 likes and repost
3 more on Bluesky
- Jul 12, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 assafelovic / gpt-researcher ⭐ 458 (+224) 🗒 Python GPT based autonomous agent that does online… — @github-trending.bsky.social1 likes and repost · 1 reply
- Feb 25, 2025⚙️ La vera difficoltà è addestrare il modello a creare le query e la pianificazione nel modo giusto. 🔍 GPT Researcher è un nuovo esempio:… — @alessiopomaro.it0 likes and reposts · 1 reply
- May 12, 2024🚀 Skyrocketing! 🚀 (200+ new stars) 📦 assafelovic / gpt-researcher ⭐ 9,941 (+276) 🗒 Python GPT based autonomous agent that does online… — @github-trending.bsky.social0 likes and reposts · 1 reply
In this repositoryOne other file it gives its agents.
- gpt-researcherSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 182
Always use graceful degradation in skills:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GPT Researcher Development Skill
GPT Researcher is an LLM-based autonomous agent using a planner-executor-publisher pattern with parallelized agent work for speed and reliability.
Quick Start
Basic Python Usage
from gpt_researcher import GPTResearcher
import asyncio
async def main():
researcher = GPTResearcher(
query="What are the latest AI developments?",
report_type="research_report", # or detailed_report, deep, outline_report
report_source="web", # or local, hybrid
)
await researcher.conduct_research()
report = await researcher.write_report()
print(report)
asyncio.run(main())Run Servers
# Backend
python -m uvicorn backend.server.server:app --reload --port 8000
# Frontend
cd frontend/nextjs && npm install && npm run devKey File Locations
| Need | Primary File | Key Classes |
| Main orchestrator | gpt_researcher/agent.py | GPTResearcher |
| Research logic | gpt_researcher/skills/researcher.py | ResearchConductor |
| Report writing | gpt_researcher/skills/writer.py | ReportGenerator |
| All prompts | gpt_researcher/prompts.py | PromptFamily |
| Configuration | gpt_researcher/config/config.py | Config |
| Config defaults | gpt_researcher/config/variables/default.py | DEFAULT_CONFIG |
| API server | backend/server/app.py | FastAPI app |
| Search engines | gpt_researcher/retrievers/ | Various retrievers |
Architecture Overview
User Query → GPTResearcher.__init__()
│
▼
choose_agent() → (agent_type, role_prompt)
│
▼
ResearchConductor.conduct_research()
├── plan_research() → sub_queries
├── For each sub_query:
│ └── _process_sub_query() → context
└── Aggregate contexts
│
▼
[Optional] ImageGenerator.plan_and_generate_images()
│
▼
ReportGenerator.write_report() → Markdown reportFor detailed architecture diagrams: See references/architecture.md
Core Patterns
Adding a New Feature (8-Step Pattern)
- Config → Add to
gpt_researcher/config/variables/default.py - Provider → Create in
gpt_researcher/llm_provider/my_feature/ - Skill → Create in
gpt_researcher/skills/my_feature.py - Agent → Integrate in
gpt_researcher/agent.py - Prompts → Update
gpt_researcher/prompts.py - WebSocket → Events via
stream_output() - Frontend → Handle events in
useWebSocket.ts - Docs → Create
docs/docs/gpt-researcher/gptr/my_feature.md
For complete feature addition guide with Image Generation case study: See references/adding-features.md
Adding a New Retriever
# 1. Create: gpt_researcher/retrievers/my_retriever/my_retriever.py
class MyRetriever:
def __init__(self, query: str, headers: dict = None):
self.query = query
async def search(self, max_results: int = 10) -> list[dict]:
# Return: [{"title": str, "href": str, "body": str}]
pass
# 2. Register in gpt_researcher/actions/retriever.py
case "my_retriever":
from gpt_researcher.retrievers.my_retriever import MyRetriever
return MyRetriever
# 3. Export in gpt_researcher/retrievers/__init__.pyFor complete retriever documentation: See references/retrievers.md
Configuration
Config keys are lowercased when accessed:
# In default.py: "SMART_LLM": "gpt-4o"
# Access as: self.cfg.smart_llm # lowercase!Priority: Environment Variables → JSON Config File → Default Values
For complete configuration reference: See references/config-reference.md
Common Integration Points
WebSocket Streaming
class WebSocketHandler:
async def send_json(self, data):
print(f"[{data['type']}] {data.get('output', '')}")
researcher = GPTResearcher(query="...", websocket=WebSocketHandler())MCP Data Sources
researcher = GPTResearcher(
query="Open source AI projects",
mcp_configs=[{
"name": "github",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {"GITHUB_TOKEN": os.getenv("GITHUB_TOKEN")}
}],
mcp_strategy="deep", # or "fast", "disabled"
)For MCP integration details: See references/mcp.md
Deep Research Mode
researcher = GPTResearcher(
query="Comprehensive analysis of quantum computing",
report_type="deep", # Triggers recursive tree-like exploration
)For deep research configuration: See references/deep-research.md
Error Handling
Always use graceful degradation in skills:
async def execute(self, ...):
if not self.is_enabled():
return [] # Don't crash
try:
result = await self.provider.execute(...)
return result
except Exception as e:
await stream_output("logs", "error", f"⚠️ {e}", self.websocket)
return [] # Graceful degradationCritical Gotchas
| ❌ Mistake | ✅ Correct |
config.MY_VAR | config.my_var (lowercased) |
| Editing pip-installed package | pip install -e . |
| Forgetting async/await | All research methods are async |
websocket.send_json() on None | Check if websocket: first |
| Not registering retriever | Add to retriever.py match statement |
Reference Documentation
| Topic | File |
| System architecture & diagrams | references/architecture.md |
| Core components & signatures | references/components.md |
| Research flow & data flow | references/flows.md |
| Prompt system | references/prompts.md |
| Retriever system | references/retrievers.md |
| MCP integration | references/mcp.md |
| Deep research mode | references/deep-research.md |
| Multi-agent system | references/multi-agents.md |
| Adding features guide | references/adding-features.md |
| Advanced patterns | references/advanced-patterns.md |
| REST & WebSocket API | references/api-reference.md |
| Configuration variables | references/config-reference.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

