Local Deep Researcher is a powerful, AI-driven tool designed to assist in deep, iterative research by leveraging local Large Language Models (LLMs) and web searches.
It is inspired by the IterDRAG approach, which involves decomposing queries into sub-queries, retrieving relevant documents, and iteratively refining the search process to address knowledge gaps.
Key Features
- LLM Integration: Local Deep Researcher supports LLMs hosted by platforms like Ollama and LMStudio. Users can select models such as DeepSeek R1 or qwen_qwq-32b to perform research tasks.
- Web Search Capabilities: The tool integrates with various search engines, including DuckDuckGo, Tavily, and Perplexity. This allows users to customize their search experience based on privacy preferences or specific needs.
- Iterative Research Process: The tool generates a web search query based on a user-provided topic, summarizes the findings, identifies knowledge gaps, and repeats the process to refine the summary. This iterative approach ensures comprehensive coverage of the research topic.
- Output and Visualization: The final output is a markdown file containing a detailed research summary with citations to sources used. Users can visualize the research process and sources in LangGraph Studio.
Deployment And Configuration
- Setup: Users can clone the repository from GitHub and configure environment variables in the
.env
file to select models and search engines1. - Running the Application: It can be run locally using a virtual environment or deployed as a Docker container. The LangGraph Studio UI provides a user-friendly interface for configuring and monitoring research tasks1.
Benefits
- Privacy: Local Deep Researcher offers privacy-focused operation by running entirely on the user’s machine when using local models.
- Flexibility: It supports multiple LLMs and search engines, allowing users to tailor their research setup according to specific needs.
- Comprehensive Reports: The tool generates well-structured reports with proper citations, making it suitable for academic and scientific research.
In summary, Local Deep Researcher is a versatile tool that enhances research efficiency by combining AI-driven analysis with customizable web search capabilities, making it an invaluable asset for both personal and professional research endeavors.