Local Deep Research (LDR) is a free, open-source research assistant that searches the web, academic databases and your own documents, then writes a cited report using a language model running on your own PC. This guide shows how to set it up with Ollama and the SearXNG search engine using Docker, how to use your graphics card on Windows, and how to fix the most common problems. 0.5, checked on 1 December 2026.
What you need
A 64-bit PC with an AVX-capable CPU. The README says LDR needs an Intel Sandy Bridge or AMD Bulldozer (2011) or newer processor; older chips can crash with "Illegal instruction" errors.
Enough memory for your model. The FAQ lists 8GB of RAM as a minimum and 16GB for larger models, and gives rough VRAM guides of 4GB for 7B models, 8GB for 13B models and 16GB for 30B models.
Disk space. Allow 1-2GB for SearXNG and 5-15GB per Ollama model, according to the FAQ.
Docker. Docker Desktop on Windows or macOS, or Docker Engine on Linux. LDR can also be installed with pip, but Docker keeps Ollama, SearXNG and LDR together.
Bigger models give better reports, because deep research means many long prompts full of web page text. If you're not sure what fits your card, see our guides to the best local LLMs for 12GB of VRAM and 16GB of VRAM.
Step 1: Start the Docker Compose stack
The official Compose file starts three containers: LDR itself, Ollama and SearXNG. Open a terminal (PowerShell on Windows) in an empty folder and run:
curl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/main/docker-compose.yml
docker compose up -d
This is the CPU-only setup, which the Compose guide says works on Windows, macOS and Linux. On Linux with an NVIDIA graphics card, install the NVIDIA Container Toolkit first, download docker-compose.gpu.override.yml from the same repository, and start the stack with:
docker compose -f docker-compose.yml -f docker-compose.gpu.override.yml up -d
Running models on the CPU works but is slow. On Windows, or with an AMD card, see Step 4 for a way to use your GPU.
Step 2: Download a model
The bundled Ollama container doesn't come with a model. Pull one into it, replacing the model name with one that suits your hardware:
docker exec ollama_service ollama pull gemma3:12b
The FAQ lists gemma3:12b as a balanced choice and llama3:8b, mistral:7b or gemma:7b as faster options. The developers also maintain a community benchmarks dataset on Hugging Face, linked from the FAQ, showing how different models have performed for other LDR users.
Step 3: Create an account and run your first research
After about 30 seconds, open http://localhost:5000 in your browser. Create an account when asked; LDR keeps each user's data in a separate encrypted database. Then:
Open Settings and check the LLM provider is Ollama and your model is selected. If it isn't in the list, the FAQ says you can type the exact model name.
Check SearXNG is set as the search engine. The FAQ notes that "Search snippets only" must be enabled for SearXNG.
Type a question on the home page and start the research. Quick modes are better for simple facts; the default LangGraph agent strategy decides for itself what to search, including academic engines such as arXiv, PubMed and Semantic Scholar.
When it finishes, read the report and check the cited sources. You can export reports as PDF or Markdown, and save useful sources to your library.
You can also upload your own files on the Collections page so LDR can search them alongside the web.
Step 4: Use your GPU on Windows
The bundled Ollama container runs on the CPU unless you use the NVIDIA Linux override. On Windows, a simpler route is to install Ollama directly on Windows and point LDR at it. Ollama's documentation says the Windows app supports NVIDIA and AMD Radeon GPUs and needs Windows 10 22H2 or newer. Our guide to running Ollama in Docker covers the container side if you prefer that.
Install Ollama for Windows and pull your model with ollama pull in a normal terminal.
Open docker-compose.yml in a text editor and change the LDR_LLM_OLLAMA_URL line from http://ollama:11434 to http://host.docker.internal:11434. The official file sets this address as an environment variable, and the FAQ gives host.docker.internal:11434 as the way to reach Ollama on the host from inside a container; the Compose file already maps that name for the LDR container.
Run docker compose up -d again so LDR picks up the change, then check your model appears in Settings.
LM Studio works too. The Compose guide's example sets the provider to lmstudio with the URL http://host.docker.internal:1234/v1; Docker containers can't reach your PC's localhost directly, which is why that address is used. See Ollama vs LM Studio if you're choosing between them.
Troubleshooting
SearXNG blocked or no web results. Since v1.10.3, LDR blocks localhost and LAN search URLs by default as a security measure. The official Compose file already approves its own SearXNG container. If you run SearXNG separately, add its address to the LDR_SEARCH_PRIVATE_ENGINE_URL_ALLOWLIST environment variable (v1.10.5 or newer), then restart.
Cannot connect to Ollama. From inside a container, use http://ollama:11434 (the bundled container) or http://host.docker.internal:11434 (Ollama on the host), not localhost.
Container won't start. Check docker compose logs local-deep-research and make sure nothing else is using port 5000.
Rate limits or captchas. The FAQ suggests changing the rate-limiting profile in settings, using SearXNG, or adding a paid search API such as Tavily.
Updating. Run docker compose pull and then docker compose up -d. Be careful with docker compose down -v, which deletes all your data.