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(architecture): fix stale database path and engine registration claim (#5547)

LearningCircuitef0e9b6812f5
diff --git a/docs/architecture.md b/docs/architecture.md
index c55b2617b0..d85b0549d0 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -376,7 +376,7 @@ The codebase follows a consistent pattern for extensibility:
New search engines can be added by:
1. Creating a class inheriting from `BaseSearchEngine`
2. Placing it in `web_search_engines/engines/`
-3. Auto-discovery handles registration
+3. Register the engine in `ENGINE_REGISTRY` and add it to the security module allowlist in `security/module_whitelist.py`
```python
# Example: Adding a new search engine
@@ -568,7 +568,7 @@ While the project scores highly overall, these areas have room for growth:
| Search Engines | `src/local_deep_research/web_search_engines/engines/` | 25 search engine implementations |
| Report Generation | `src/local_deep_research/report_generator.py` | `IntegratedReportGenerator` |
| Web API | `src/local_deep_research/web/routes/` | Flask routes and WebSocket handlers |
-| Database | `src/local_deep_research/web/database/` | SQLCipher models and migrations |
+| Database | `src/local_deep_research/database/` | SQLCipher models and migrations |
| Encrypted DB | `src/local_deep_research/database/encrypted_db.py` | Per-user SQLCipher engine lifecycle |
| Thread Sessions | `src/local_deep_research/database/thread_local_session.py` | Thread-safe session management and cleanup |
| Settings | `src/local_deep_research/config/` | Configuration and LLM setup |