Local Deep Research is a free, self-hosted research assistant: you ask a hard question in a web page on your own machine, and it searches the web, academic sources such as arXiv, PubMed and Semantic Scholar, and your own documents, then writes a report with citations. It works with a local model in Ollama or LM Studio, or with any cloud model you choose. In the first ten minutes, with Docker installed, one compose command starts it together with Ollama and a private SearXNG search engine; you pull a model, open localhost:5000, make an account and run a first quick summary.
It earns its place by going further than one search-and-summarise pass. Its LangGraph agent strategy lets the model choose which engines to query and when to stop, which is how the project reports about 95% on the SimpleQA benchmark with Qwen3.6-27B on a single RTX 3090. Sources it finds can be saved into an encrypted library that is indexed for later questions, so your knowledge base grows with each run, and topic subscriptions can send scheduled research digests. Each user's data sits in a separate SQLCipher database encrypted with their password, and an egress setting limits where a run may send traffic.
It is MIT-licensed and made by LearningCircuit with about 120 contributors, with about 9,700 stars since February 2025. It moves very fast, with 178 releases and over 1,300 open issues; version 2.0.5 came out on 28 November 2026.
- Repository: github.com/LearningCircuit/local-deep-research
- Licence: MIT (MIT License)
- Language: Python. Stars: 9,685. Forks: 960. Last push: Nov 28, 2026.
- Scan: safe, Nov 28, 2026, commit b5fcf28
Who it is for
Researchers, students, analysts and journalists who want cited answers while keeping control of their data, plus home-server and Unraid users. You need Docker, or Python 3.12 or newer with pip, a CPU with AVX, and for fully local research a GPU or Apple Silicon Mac that can run a mid-sized model; cloud models work too.
Getting started
1. Download the compose file and start Local Deep Research, Ollama and SearXNG (CPU only)
curl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.yml && docker compose up -d2. Pull a model into the bundled Ollama (the README's example; pick one your hardware can run)
docker exec ollama_service ollama pull gpt-oss:20b3. Open the web app after about 30 seconds and create your account
http://localhost:50004. Or install with pip, running Ollama and SearXNG yourself
pip install local-deep-research
python -m local_deep_research.web.app5. Stop it (your data stays in the Docker volume)
docker compose downThe compose file publishes port 5000 on every network interface and leaves sign-ups open, so anyone on your network can reach the page and create an account; after making yours, set LDR_APP_ALLOW_REGISTRATIONS=false, or change the port line to 127.0.0.1:5000:5000. Accounts, the library and settings live in a Docker volume, encrypted per user. A self-hosted SearXNG still forwards your queries to public search engines, cloud models see your prompts, and the journal-quality filter downloads public journal lists from OpenAlex, DOAJ and GitHub the first time it runs. The container starts as root only to fix volume ownership, then switches to an unprivileged user. Our scan covers the source, not the published Docker image.
Safety scan
We cloned LearningCircuit/local-deep-research at commit b5fcf28 on Nov 28, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.
- 14 secret hits, all made-up test values: xoxb-SECRET-TOKEN in tests/notifications/test_manager.py (6), a shortened PEM header in tests/security/test_data_sanitizer_extended.py, ghp_ABCD... and github_pat_ placeholders plus xoxb-internal-doc in tests/security/test_log_sanitizer.py (5), and AKIAABCDEFGHIJKLMNOP in tests/security/test_secure_logging_writes.py (2). They check that the app scrubs keys from its logs. No committed binaries across 4,942 files and about 2 million lines, about 1.26 million of them tests.
- 3 pattern hits. scripts/dev/restart_server.sh line 116 opens /dev/tcp to test whether a port is in use, in a developer restart script. The two Telegram hits are test files describing and checking how the notification code builds api.telegram.org URLs, which happens only if you set up Telegram alerts through Apprise.
- No install hooks or install scripts in the package; the one script the scanner lists is a CI helper for pre-commit updates. Docker images are signed with Cosign and ship SBOMs and provenance, and the compose file drops all capabilities, sets no-new-privileges and pins the bundled Ollama and SearXNG images by digest.
- 2 advisories in pdm.lock, both in unstructured 0.18.32, the document parser: 1 critical (GHSA-4mvj-m6j5-pmf7, server-side request forgery when partition() is handed a URL) and 1 moderate (XSS in its HTML output). The fixed releases do not install on Python 3.14, which the image uses. We checked the source: the app only calls partition(filename=...) on local files and keeps the extracted text, never imports the URL-taking loaders, and tests/security/test_unstructured_url_partition_tripwire.py fails the build if that changes. The 8 npm lockfiles (858 packages, front end and test tools) have none.
- The code calls only the search engines and model provider you configure (SearXNG and Ollama by default) plus the academic sources you pick; we found no analytics, matching the README's no-telemetry statement, and the app even switches off unstructured's own usage ping. 92 workflows; 3 run on pull_request_target, and all 3 check out the base branch: the AI code reviewer runs only when a maintainer adds a label and reads the pull request as a diff, and none runs fork code. 251 of 326 third-party action uses are pinned to commits. Security policy, Dependabot and CodeQL present; OpenSSF Scorecard gives it 8.7 out of 10.
What the scanner counted
| Check | Result |
|---|---|
| Secrets | 14 candidates found and read; see the notes above. |
| Suspicious code | 3 pattern hits found and read; every one is listed under the raw findings. |
| Install-time code | 1 installer script |
| Committed binaries | None. |
| CI workflows | 92 workflows. 5 use pull_request_target, 1 of which check out the pull request head. 75 of 326 third-party actions pinned to a tag rather than a commit. |
| Network hosts | 40 distinct hosts referenced from source; most often arxiv.org, a.com, example.test, github.com. 158 URLs to a bare IP address, listed under the raw findings. |
| Known vulnerabilities | 2 advisories across 813 pinned packages: 1 critical, 0 high, 1 moderate, 0 low. package-lock.json: 216 packages, 0 advisories; pdm.lock: 317 packages, 2 advisories; tests/accessibility_tests/package-lock.json: 287 packages, 0 advisories; tests/api_tests_with_login/package-lock.json: 54 packages, 0 advisories; tests/infrastructure_tests/package-lock.json: 91 packages, 0 advisories; tests/package-lock.json: 54 packages, 0 advisories; tests/puppeteer/package-lock.json: 126 packages, 0 advisories; tests/ui_tests/package-lock.json: 27 packages, 0 advisories; tests/ui_tests/playwright/package-lock.json: 3 packages, 0 advisories. |
| Project hygiene | Has security policy, automated dependency updates, CodeQL, licence file, contributing guide. |
| OpenSSF Scorecard | 8.7 out of 10, as of Nov 28, 2026. |
The raw findings
Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.
Secret candidates (14, redacted)
Pattern hits (3)
| Where | Rule | Match |
|---|---|---|
| scripts/dev/restart_server.sh:116 | raw-socket-shell | local probe='exec 3<>"/dev/tcp/$1/$2"' |
| tests/notifications/test_tgram_notify_log_utils.py:4 | exfil-host (test/example) | notifying (``telegram.py`` builds ``https://api.telegram.org/bot<token>/...`` |
| tests/security/test_tgram_notification_security.py:124 | exfil-host (test/example) | "https://api.telegram.org/bot123456789:Token_abc-123/sendMessage" |
URLs to bare IP addresses (158)
| Where | Rule | Match |
|---|---|---|
| tests/advanced_search_system/tools/test_fetch_cache_titles.py:27 | ip-literal-url | URL = "https://93.184.216.34/fixture-title" |
| tests/embeddings/test_ollama_embeddings.py:906 | ip-literal-url | "http://100.100.100.200", |
| tests/embeddings/test_openai_embeddings_ssrf.py:14 | ip-literal-url | "http://100.100.100.200/latest/meta-data", |
| tests/llm_providers/test_sampling_parameters.py:1660 | ip-literal-url | assert is_endpoint_local("http://100.101.102.103:8080/v1") is True |
| tests/llm_providers/test_sampling_parameters.py:1661 | ip-literal-url | assert is_endpoint_local("http://100.64.0.1:11434") is True |
| tests/llm_providers/test_sampling_parameters.py:1662 | ip-literal-url | assert is_endpoint_local("http://100.127.255.254:8080") is True |
| tests/research_library/downloaders/test_playwright_html_ssrf_guard.py:1851 | ip-literal-url | ("http://192.0.2.1/paper", "http://192.0.2.1/robots.txt"), |
| tests/research_library/downloaders/test_playwright_html_ssrf_guard.py:1851 | ip-literal-url | ("http://192.0.2.1/paper", "http://192.0.2.1/robots.txt"), |
| tests/research_library/downloaders/test_playwright_html_ssrf_guard.py:1853 | ip-literal-url | "http://192.0.2.1:8080/paper?view=full", |
| tests/research_library/downloaders/test_playwright_html_ssrf_guard.py:1854 | ip-literal-url | "http://192.0.2.1:8080/robots.txt", |
| tests/research_library/test_library_sync_contracts.py:2458 | ip-literal-url | refused_url = "https://8.8.8.8/papers/refused.pdf" |
| tests/security/test_egress_elasticsearch_host_shapes.py:250 | ip-literal-url | nodes = [f"http://{other_host}:9200", "http://198.18.3.4:9200"] |
| tests/security/test_egress_elasticsearch_host_shapes.py:268 | ip-literal-url | nodes = ["http://10.0.0.42:9200", "http://93.184.216.34:9200"] |
| tests/security/test_egress_elasticsearch_host_shapes.py:597 | ip-literal-url | PUBLIC_URL = "http://93.184.216.34:9200" |
| tests/security/test_egress_elasticsearch_host_shapes.py:598 | ip-literal-url | FAKE_IP_URL = "http://198.18.3.4:9200" |
| tests/security/test_egress_engine_run_overrides.py:28 | ip-literal-url | "search.engine.web.searxng.default_params.instance_url": "https://93.184.216.34", |
| tests/security/test_egress_fake_ip_classification.py:153 | ip-literal-url | "http://198.18.3.4:9200", |
| tests/security/test_egress_fake_ip_classification.py:204 | ip-literal-url | assert evaluate_url("http://198.18.3.4:8000/api", ctx).allowed |
| tests/security/test_egress_fake_ip_classification.py:254 | ip-literal-url | assert evaluate_url("http://198.18.0.7/", ctx).allowed |
| tests/security/test_egress_fullsearch.py:62 | ip-literal-url | _PUBLIC_URL = "http://93.184.216.34/page" |
| tests/security/test_egress_fullsearch.py:178 | ip-literal-url | sensitive_url = "http://93.184.216.34/secret/report?token=SUPERSECRET" |
| tests/security/test_egress_fullsearch.py:206 | ip-literal-url | assert logged_url == "http://93.184.216.34" |
| tests/security/test_egress_fullsearch.py:231 | ip-literal-url | _PUBLIC_HOP = "http://93.184.216.34/next" |
| tests/security/test_egress_fullsearch.py:639 | ip-literal-url | ("198.18.0.7:8080", "http://198.18.0.7:8080"), |
| and 134 more | ||
Installer scripts (1)
Worst known vulnerabilities (2 of 2)
| Advisory | Severity | Package | Summary |
|---|---|---|---|
| GHSA-4mvj-m6j5-pmf7 | critical | unstructured@0.18.32 | unstructured: Server-Side Request Forgery in the URL-based partitioning |
| GHSA-v5mq-3xhg-98m9 | moderate | unstructured@0.18.32 | unstructured: Stored XSS via unescaped HTML generation |
Workflows worth a look
- .github/workflows/advanced-search-reminder.yml: pull_request_target
- .github/workflows/ai-code-reviewer.yml: pull_request_target, checks out the PR head
- .github/workflows/dependency-pr-checks.yml: pull_request_target
- .github/workflows/pr-triage.yml: pull_request_target
- .github/workflows/welcome-first-time.yml: pull_request_target
By the numbers
| Stars | 9,685 |
|---|---|
| Forks | 960 |
| Contributors | 124 |
| Commits | 8,966 |
| Open issues | 1,385 |
| Open pull requests | 640 |
| Releases | 178 |
| Latest release | v2.0.5 |
| Licence | MIT |
| Main language | Python |
| Project age | 1 year |
| Last push | Nov 28, 2026 |
| Tracked files | 4,942 |
| Lines of code | 2M |
| Checkout size | 81 MB |
Lines by language: Python 1.6M, JavaScript 249.5K, Markdown 44.7K, JSON 25.9K, CSS 25.2K, YAML 24.4K.
Questions
Is Local Deep Research free?
Yes. It is MIT-licensed and free, with no paid tier. Costs come only from what you plug in: a cloud model or premium search APIs such as Tavily or SerpAPI bill you directly, while Ollama and SearXNG cost nothing.
Local Deep Research or GPT Researcher?
Local Deep Research for a full web app with accounts, an encrypted library of saved sources and a strong focus on local models and privacy. GPT Researcher, also on this list, for a lighter Python library and CLI that is quicker to drop into your own code.
Does Local Deep Research send my data anywhere?
Only where you point it. There is no telemetry; searches go to the engines you enable and prompts to the model you choose. With Ollama and only local sources under the Private only scope, a run stays on your machine, although SearXNG itself still queries public search engines.
What hardware do I need?
A CPU with AVX and Docker is enough with a cloud model. For fully local research, a GPU with 16 GB or more, or an Apple Silicon Mac with plenty of memory, runs the mid-sized models that give good reports; the headline benchmark used one RTX 3090.
Do I need to know how to code?
No coding, but you need to be comfortable running Docker commands. After that everything happens in the web page.
This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.
