Local Deep Research: AI-Powered, Privacy-Focused Research Assistant for Academia
This repository profile is provided by osrepos.com, an open source repository discovery platform.

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.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Local 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.
Installation
Getting started with Local Deep Research is straightforward, with several deployment options available. The recommended methods involve Docker for ease of setup.
Option 1: Docker
For a quick setup, you can run Local Deep Research and its dependencies using Docker:
# Step 1: Pull and run SearXNG for optimal search results
docker run -d -p 8080:8080 --name searxng searxng/searxng
# Step 2: Pull and run Local Deep Research
docker run -d -p 5000:5000 --network host \
--name local-deep-research \
--volume 'deep-research:/data' \
-e LDR_DATA_DIR=/data \
localdeepresearch/local-deep-research
Option 2: Docker Compose (Recommended)
Docker Compose simplifies the deployment by bundling the web app and all its dependencies.
Quick Start (CPU-only base):
curl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.yml && docker compose up -d
Add NVIDIA GPU Acceleration (Linux only):
After installing the NVIDIA Container Toolkit (refer to the official documentation for detailed steps), use the override file:
curl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.yml && \
curl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.gpu.override.yml && \
docker compose -f docker-compose.yml -f docker-compose.gpu.override.yml up -d
Open http://localhost:5000 in your browser after approximately 30 seconds.
Other Options
Local 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.
Examples
Local Deep Research offers flexible interaction through its Python API, HTTP API, and command-line tools.
Python API
Perform quick queries or manage multiple operations with the Python client:
from local_deep_research.api import LDRClient, quick_query
# Option 1: Simplest - one line research
summary = quick_query("username", "password", "What is quantum computing?")
print(summary)
# Option 2: Client for multiple operations
client = LDRClient()
client.login("username", "password")
result = client.quick_research("What are the latest advances in quantum computing?")
print(result["summary"])
HTTP API
Integrate Local Deep Research into other applications using its authenticated HTTP API. For ready-to-use examples, visit the HTTP API Examples directory.
import requests
from bs4 import BeautifulSoup
# Create session and authenticate (simplified for brevity)
session = requests.Session()
# ... authentication logic ...
# Make API request
response = session.post("http://localhost:5000/api/start_research",
json={"query": "Your research question"},
headers={"X-CSRF-Token": "your_csrf_token"})
Command Line Tools
Manage benchmarks and rate limiting directly from your terminal:
# Run benchmarks from CLI
python -m local_deep_research.benchmarks --dataset simpleqa --examples 50
Why Use Local Deep Research?
Local Deep Research stands out as a powerful and secure AI research assistant due to several key advantages:
- Privacy-Focused: Designed to run entirely locally with tools like Ollama and SearXNG, ensuring your research queries and data never leave your environment.
- Flexible: Supports a wide array of LLMs, search engines, and vector stores, allowing you to tailor the system to your specific needs.
- Comprehensive: Offers multiple research modes, from quick summaries to detailed reports, and can analyze your private documents.
- Transparent: Provides built-in analytics to track costs and performance, maintaining full visibility into the research process.
- Open Source: Released under the MIT license, fostering an active community and continuous development.
Security & Privacy Highlights
The project prioritizes data security with features like:
- Signal-level encryption: SQLCipher with AES-256 protects all user data at rest.
- Per-user isolated databases: Each user benefits from their own encrypted database for complete data isolation.
- Zero-knowledge architecture: No password recovery mechanism ensures true privacy.
Performance & Supported LLMs
Achieving approximately 95% accuracy on the SimpleQA benchmark, Local Deep Research demonstrates strong performance. It supports a variety of LLMs, including:
- Local Models (via Ollama): Llama 3, Mistral, Gemma, DeepSeek, keeping processing local and avoiding API costs.
- Cloud Models: OpenAI (GPT-4, GPT-3.5), Anthropic (Claude 3), Google (Gemini), and over 100 models via OpenRouter.
Extensive Search Sources
Access information from a broad range of sources:
- Free Search Engines: arXiv, PubMed, Semantic Scholar, Wikipedia, SearXNG, GitHub, Wayback Machine.
- Premium Search Engines: Tavily, Google (via SerpAPI), Brave Search.
- Custom Sources: Local documents, LangChain Retrievers, and Meta Search capabilities.
Links
For more information and to get involved with the Local Deep Research project, explore the following resources:
- GitHub Repository: https://github.com/LearningCircuit/local-deep-research
- Official Documentation: https://github.com/LearningCircuit/local-deep-research/wiki/Installation
- Discord Community: https://discord.gg/ttcqQeFcJ3
- Reddit Community: https://www.reddit.com/r/LocalDeepResearch/
Related repositories
Similar repositories that may be relevant next.

A-MEM: Self-Evolving Memory for Coding Agents
August 17, 2026
A-MEM is an innovative self-evolving memory system designed for coding agents, organizing knowledge into a dynamic Zettelkasten-style graph. It allows memories to evolve and connect over time, enhancing an agent's ability to recall and utilize information effectively. This system offers both semantic and structural search capabilities for a richer knowledge base.

Agent Sandbox: Secure Local Development for AI Coding Agents
August 17, 2026
Agent Sandbox provides a robust and secure local development environment specifically designed for collaborating with AI coding agents. It ensures minimal filesystem access, configurable network egress policies, and secure secret injection, protecting your local machine from potentially risky agent operations. This project supports various AI agents and integrates seamlessly with both CLI and popular IDE devcontainer setups.
Agent-Memory: Persistent Memory for AI Coding Agents
August 16, 2026
Agent-Memory provides persistent memory for AI coding agents, ensuring they remember past interactions and learned patterns across sessions. Built on the iii engine, it eliminates the need for re-explaining context, significantly improving agent efficiency and reducing token usage. This solution integrates seamlessly with various agents, offering a robust memory management system.

code-session-memory: Automatic Vector Memory for AI Coding Sessions
August 15, 2026
code-session-memory provides automatic vector memory for various AI coding tools like OpenCode, Claude Code, Cursor, VS Code, Codex, and Gemini CLI. It indexes new messages into a vector database after each AI agent turn, enabling semantic search across all your past coding sessions. This tool ensures memory is shared across different platforms, enhancing developer productivity.
Source repository
Open the original repository on GitHub.
19 counted GitHub visits