Skip to content

How-ToGPU

How to Run Local Deep Research With Ollama on Your PC

Local Deep Research is a free research assistant that writes cited reports with a model running on your PC. Here's how to set it up with Ollama and SearXNG in Docker, use your GPU on Windows and fix common problems.

By , Systems & Technical Editor

4 min read

How to Run Local Deep Research With Ollama on Your PC

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:

  1. 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.

  2. Check SearXNG is set as the search engine. The FAQ notes that "Search snippets only" must be enabled for SearXNG.

  3. 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.

  4. 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.

  1. Install Ollama for Windows and pull your model with ollama pull in a normal terminal.

  2. 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.

  3. 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.

The bottom line

Download the official docker-compose.yml, start it with docker compose up -d, pull a model into the ollama_service container (or point LDR at Ollama running on Windows via host.docker.internal:11434 to use your GPU), then open localhost:5000, create an account and check Ollama and SearXNG are selected in Settings. Use the biggest model your VRAM can hold and always check the cited sources in the finished report.

Sources

  1. 01GitHub, LearningCircuit/local-deep-research (README)
  2. 02Local Deep Research, Frequently Asked Questions
  3. 03Local Deep Research, Docker Compose Guide
  4. 04Local Deep Research, docker-compose.yml
  5. 05GitHub, Local Deep Research releases
  6. 06Ollama documentation, Windows

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Fix a Headset Not Detected in Windows 11

How-To

How to Fix a Headset Not Detected in Windows 11

If Windows 11 won't detect your headset, the cause is usually the jack or port, the wrong default device, a disabled device or a driver. Here's how to fix wired, USB, wireless-dongle and Bluetooth headsets, step by step, based on Microsoft's guidance.

Marcus Thorne5 min

Best Free Bootable Rescue USB Tools for Fixing a PC in 2026

Best Picks

Best Free Bootable Rescue USB Tools for Fixing a PC in 2026

The best free bootable rescue USB tools for fixing a PC that won't start: Ventoy, Hiren's BootCD PE, Rescuezilla, SystemRescue, MemTest86 and Windows Recovery Drive, chosen from official developer pages, plus how to build a two-stick kit.

Hannah Vance5 min

3DMark Steel Nomad vs Time Spy: Which GPU Benchmark Should You Run?

Versus

3DMark Steel Nomad vs Time Spy: Which GPU Benchmark Should You Run?

Steel Nomad is UL's successor to 3DMark Time Spy, rendering at 4K and roughly three times heavier. Using UL's official pages, we compare resolution, APIs, platforms and requirements, and explain which test to run and how to compare scores fairly.

Callum Reid4 min

How to Use PowerToys Workspaces to Launch Your Apps in a Saved Layout

How-To

How to Use PowerToys Workspaces to Launch Your Apps in a Saved Layout

PowerToys Workspaces captures a layout of open apps and relaunches them in the same positions with one click. Using Microsoft's official documentation, we show how to install it, capture and launch a workspace, add app arguments and avoid common pitfalls.

Marcus Thorne5 min