LLM based autonomous agent that conducts deep local and web research on any topic and generates a long report with citations.
GPT Researcher is an innovative open-source deep research agent designed to facilitate comprehensive web and local research tasks. Its primary purpose is to generate detailed, factual, and unbiased research reports, addressing the challenges of misinformation and inefficiency in traditional research methods. Targeted at researchers, students, and organizations, GPT Researcher leverages advanced AI techniques to produce reliable results quickly. Built using Python, it incorporates technologies such as FastAPI for backend services, JavaScript for web scraping, and supports various document formats for input and output.
To get started with GPT Researcher, follow these installation instructions:
git clone https://github.com/assafelovic/gpt-researcher.git
cd gpt-researcher
.env
file:
export OPENAI_API_KEY={Your OpenAI API Key here}
export TAVILY_API_KEY={Your Tavily API Key here}
pip install -r requirements.txt
python -m uvicorn main:app --reload
For additional setups, such as using Docker or the PIP package, refer to the Getting Started page.
from gpt_researcher import GPTResearcher
query = "why is Nvidia stock going up?"
researcher = GPTResearcher(query=query)
research_result = await researcher.conduct_research()
report = await researcher.write_report()
This comprehensive overview of GPT Researcher highlights its capabilities, making it a valuable tool for anyone engaged in research activities.