Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

docs: add pip to Quick Start and move to Option 3 (#1880)

LearningCircuitf80184b36bb5
diff --git a/README.md b/README.md
index c6599135bd..eca245a616 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,15 @@ curl -O https://raw.githubusercontent.com/LearningCircuit/local-deep-research/ma
docker compose -f docker-compose.yml -f docker-compose.gpu.override.yml up -d
```
-Open http://localhost:5000 after ~30 seconds. [More install options →](#-installation-options)
+Open http://localhost:5000 after ~30 seconds.
+
+**pip install (for programmatic/API usage):**
+```bash
+pip install local-deep-research
+```
+> ⚠️ Docker is preferred for most users. pip installation requires manual setup of SQLCipher for database encryption—see [SQLCipher Guide](docs/SQLCIPHER_INSTALL.md). Best suited for programmatic integration into existing Python projects.
+
+[More install options →](#-installation-options)
## 🏗️ How It Works
@@ -347,7 +355,42 @@ docker compose -f docker-compose.default.yml up
[Docker Compose Guide →](docs/docker-compose-guide.md)
-### Option 3: Unraid
+### Option 3: Python Package (pip)
+
+> **Note:** This option is recommended primarily for **programmatic/API usage** or advanced users who want to integrate LDR into existing Python projects. For most users, **Docker is preferred** as it handles all dependencies automatically, including SQLCipher encryption which requires additional system libraries when installed via pip outside of Docker.
+
+```bash
+# Step 1: Install the package
+pip install local-deep-research
+
+# Step 2: Setup SearXNG for best results
+docker pull searxng/searxng
+docker run -d -p 8080:8080 --name searxng searxng/searxng
+
+# Step 3: Install Ollama from https://ollama.ai
+
+# Step 4: Download a model
+ollama pull gemma3:12b
+
+# Step 5: Start the web interface
+python -m local_deep_research.web.app
+```
+
+> **⚠️ SQLCipher Note:** The pip installation uses standard SQLite by default. For full SQLCipher encryption support (AES-256 encrypted databases), you'll need to install system-level SQLCipher libraries. See [SQLCipher Installation Guide](docs/SQLCIPHER_INSTALL.md) for platform-specific instructions. Docker images include SQLCipher pre-configured.
+
+> **Note:** For development from source, see the [Development Guide](docs/developing.md).
+
+#### Optional Dependencies
+
+VLLM support (for running transformer models directly):
+```bash
+pip install "local-deep-research[vllm]"
+```
+This installs torch, transformers, and vllm for advanced local model hosting. Most users running Ollama or LlamaCpp don't need this.
+
+[Full Installation Guide →](https://github.com/LearningCircuit/local-deep-research/wiki/Installation)
+
+### Option 4: Unraid
**For Unraid users:**
@@ -381,37 +424,6 @@ If you prefer using Docker Compose on Unraid:
[Complete Unraid Setup Guide →](docs/deployment/unraid.md)
-### Option 4: Python Package
-
-```bash
-# Step 1: Install the package
-pip install local-deep-research
-
-# Step 2: Setup SearXNG for best results
-docker pull searxng/searxng
-docker run -d -p 8080:8080 --name searxng searxng/searxng
-
-# Step 3: Install Ollama from https://ollama.ai
-
-# Step 4: Download a model
-ollama pull gemma3:12b
-
-# Step 5: Start the web interface
-python -m local_deep_research.web.app
-```
-
-> **Note:** For development from source, see the [Development Guide](docs/developing.md).
-
-#### Optional Dependencies
-
-VLLM support (for running transformer models directly):
-```bash
-pip install "local-deep-research[vllm]"
-```
-This installs torch, transformers, and vllm for advanced local model hosting. Most users running Ollama or LlamaCpp don't need this.
-
-[Full Installation Guide →](https://github.com/LearningCircuit/local-deep-research/wiki/Installation)
-
## 💻 Usage Examples
### Python API