{"name":"Local Deep Research: AI-Powered, Privacy-Focused Research Assistant for Academia","description":"Local Deep Research is an AI-powered assistant designed for deep, iterative research, achieving high accuracy on benchmarks. It supports both local and cloud LLMs, searches over 10 sources including academic papers and private documents, and ensures privacy with local, encrypted operations. This tool is ideal for researchers, students, and professionals seeking accurate, transparent, and secure information retrieval.","github":"https://github.com/LearningCircuit/local-deep-research","url":"https://osrepos.com/repo/learningcircuit-local-deep-research","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/learningcircuit-local-deep-research","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/learningcircuit-local-deep-research.md","json":"https://osrepos.com/repo/learningcircuit-local-deep-research.json","topics":["AI","Research Tool","Local LLM","Privacy","Encryption","Python","Self-Hosted","RAG"],"keywords":["AI","Research Tool","Local LLM","Privacy","Encryption","Python","Self-Hosted","RAG"],"stars":null,"summary":"Local Deep Research is an AI-powered assistant designed for deep, iterative research, achieving high accuracy on benchmarks. It supports both local and cloud LLMs, searches over 10 sources including academic papers and private documents, and ensures privacy with local, encrypted operations. This tool is ideal for researchers, students, and professionals seeking accurate, transparent, and secure information retrieval.","content":"## Introduction\n\nLocal Deep Research is an AI-powered research assistant designed for deep, iterative research, achieving approximately 95% accuracy on the SimpleQA benchmark. This robust tool supports both local and cloud Large Language Models (LLMs), enabling comprehensive searches across more than 10 diverse sources, including academic databases like arXiv and PubMed, general web content, and your private documents. With a strong emphasis on privacy and security, Local Deep Research ensures all operations are local and encrypted, making it an ideal solution for researchers, students, and professionals who require accurate, transparent, and secure information retrieval. It systematically breaks down complex questions, verifies information across multiple sources, and generates comprehensive reports with proper citations.\n\n## Installation\n\nGetting started with Local Deep Research is straightforward, with several deployment options available. The recommended methods involve Docker for ease of setup.\n\n### Option 1: Docker\n\nFor a quick setup, you can run Local Deep Research and its dependencies using Docker:\n\nbash\n# Step 1: Pull and run SearXNG for optimal search results\ndocker run -d -p 8080:8080 --name searxng searxng/searxng\n\n# Step 2: Pull and run Local Deep Research\ndocker run -d -p 5000:5000 --network host \\\n  --name local-deep-research \\\n  --volume 'deep-research:/data' \\\n  -e LDR_DATA_DIR=/data \\\n  localdeepresearch/local-deep-research\n\n\n### Option 2: Docker Compose (Recommended)\n\nDocker Compose simplifies the deployment by bundling the web app and all its dependencies.\n\n#### Quick Start (CPU-only base):\n\nbash\ncurl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.yml && docker compose up -d\n\n\n#### Add NVIDIA GPU Acceleration (Linux only):\n\nAfter installing the NVIDIA Container Toolkit (refer to the official documentation for detailed steps), use the override file:\n\nbash\ncurl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.yml && \\\ncurl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.gpu.override.yml && \\\ndocker compose -f docker-compose.yml -f docker-compose.gpu.override.yml up -d\n\n\nOpen [http://localhost:5000](http://localhost:5000) in your browser after approximately 30 seconds.\n\n### Other Options\n\nLocal Deep Research also supports installation as a Python package or deployment on Unraid servers. For a complete guide on all installation methods, please refer to the [Official Installation Guide](https://github.com/LearningCircuit/local-deep-research/wiki/Installation).\n\n## Examples\n\nLocal Deep Research offers flexible interaction through its Python API, HTTP API, and command-line tools.\n\n### Python API\n\nPerform quick queries or manage multiple operations with the Python client:\n\npython\nfrom local_deep_research.api import LDRClient, quick_query\n\n# Option 1: Simplest - one line research\nsummary = quick_query(\"username\", \"password\", \"What is quantum computing?\")\nprint(summary)\n\n# Option 2: Client for multiple operations\nclient = LDRClient()\nclient.login(\"username\", \"password\")\nresult = client.quick_research(\"What are the latest advances in quantum computing?\")\nprint(result[\"summary\"])\n\n\n### HTTP API\n\nIntegrate Local Deep Research into other applications using its authenticated HTTP API. For ready-to-use examples, visit the [HTTP API Examples](https://github.com/LearningCircuit/local-deep-research/tree/main/examples/api_usage/http/) directory.\n\npython\nimport requests\nfrom bs4 import BeautifulSoup\n\n# Create session and authenticate (simplified for brevity)\nsession = requests.Session()\n# ... authentication logic ...\n\n# Make API request\nresponse = session.post(\"http://localhost:5000/api/start_research\",\n                       json={\"query\": \"Your research question\"},\n                       headers={\"X-CSRF-Token\": \"your_csrf_token\"})\n\n\n### Command Line Tools\n\nManage benchmarks and rate limiting directly from your terminal:\n\nbash\n# Run benchmarks from CLI\npython -m local_deep_research.benchmarks --dataset simpleqa --examples 50\n\n\n## Why Use Local Deep Research?\n\nLocal Deep Research stands out as a powerful and secure AI research assistant due to several key advantages:\n\n*   **Privacy-Focused**: Designed to run entirely locally with tools like Ollama and SearXNG, ensuring your research queries and data never leave your environment.\n*   **Flexible**: Supports a wide array of LLMs, search engines, and vector stores, allowing you to tailor the system to your specific needs.\n*   **Comprehensive**: Offers multiple research modes, from quick summaries to detailed reports, and can analyze your private documents.\n*   **Transparent**: Provides built-in analytics to track costs and performance, maintaining full visibility into the research process.\n*   **Open Source**: Released under the MIT license, fostering an active community and continuous development.\n\n### Security & Privacy Highlights\n\nThe project prioritizes data security with features like:\n\n*   **Signal-level encryption**: SQLCipher with AES-256 protects all user data at rest.\n*   **Per-user isolated databases**: Each user benefits from their own encrypted database for complete data isolation.\n*   **Zero-knowledge architecture**: No password recovery mechanism ensures true privacy.\n\n### Performance & Supported LLMs\n\nAchieving approximately 95% accuracy on the SimpleQA benchmark, Local Deep Research demonstrates strong performance. It supports a variety of LLMs, including:\n\n*   **Local Models (via Ollama)**: Llama 3, Mistral, Gemma, DeepSeek, keeping processing local and avoiding API costs.\n*   **Cloud Models**: OpenAI (GPT-4, GPT-3.5), Anthropic (Claude 3), Google (Gemini), and over 100 models via OpenRouter.\n\n### Extensive Search Sources\n\nAccess information from a broad range of sources:\n\n*   **Free Search Engines**: arXiv, PubMed, Semantic Scholar, Wikipedia, SearXNG, GitHub, Wayback Machine.\n*   **Premium Search Engines**: Tavily, Google (via SerpAPI), Brave Search.\n*   **Custom Sources**: Local documents, LangChain Retrievers, and Meta Search capabilities.\n\n## Links\n\nFor more information and to get involved with the Local Deep Research project, explore the following resources:\n\n*   **GitHub Repository**: [https://github.com/LearningCircuit/local-deep-research](https://github.com/LearningCircuit/local-deep-research)\n*   **Official Documentation**: [https://github.com/LearningCircuit/local-deep-research/wiki/Installation](https://github.com/LearningCircuit/local-deep-research/wiki/Installation)\n*   **Discord Community**: [https://discord.gg/ttcqQeFcJ3](https://discord.gg/ttcqQeFcJ3)\n*   **Reddit Community**: [https://www.reddit.com/r/LocalDeepResearch/](https://www.reddit.com/r/LocalDeepResearch/)","metrics":{"detailViews":3,"githubClicks":5},"dates":{"published":null,"modified":"2025-12-21T12:01:13.000Z"}}