Skip to main content

GPT Researcher is an autonomous agent designed for comprehensive online research on a variety of tasks.

Project description

🔎 GPT Researcher

Official Website Discord Follow GitHub Repo stars Twitter Follow PyPI version

GPT Researcher is an autonomous agent designed for comprehensive online research on a variety of tasks.

The agent can produce detailed, factual and unbiased research reports, with customization options for focusing on relevant resources, outlines, and lessons. Inspired by the recent Plan-and-Solve and RAG papers, GPT Researcher addresses issues of speed, determinism and reliability, offering a more stable performance and increased speed through parallelized agent work, as opposed to synchronous operations.

Our mission is to empower individuals and organizations with accurate, unbiased, and factual information by leveraging the power of AI.

PIP Package

Step 0 - Install Python 3.11 or later. See here for a step-by-step guide. Step 1 - install GPT Researcher package PyPI page

$ pip install gpt-researcher

Step 2 - Create .env file with your OpenAI Key and Tavily API key or simply export it

$ export OPENAI_API_KEY={Your OpenAI API Key here}
$ export TAVILY_API_KEY={Your Tavily API Key here}

Step 3 - Start Coding using GPT Researcher in your own code, example:

from gpt_researcher import GPTResearcher
import asyncio


async def get_report(query: str, report_type: str) -> str:
    researcher = GPTResearcher(query, report_type)
    report = await researcher.run()
    return report

if __name__ == "__main__":
    query = "what team may win the NBA finals?"
    report_type = "research_report"

    report = asyncio.run(get_report(query, report_type))
    print(report)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt-researcher-0.0.6.tar.gz (20.1 kB view hashes)

Uploaded Source

Built Distribution

gpt_researcher-0.0.6-py3-none-any.whl (22.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page