~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
added config for webserver
LearningCircuit34955be63e6c
diff --git a/pyproject.toml b/pyproject.tomlindex 488e4e4889..3c3619cb1d 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"[project]name = "local-deep-research"-version = "0.1.0"+version = "0.1.1"description = "AI-powered research assistant with deep, iterative analysis using LLMs and web searches"readme = "README.md"requires-python = ">=3.8"diff --git a/src/local_deep_research/defaults/main.toml b/src/local_deep_research/defaults/main.tomlindex 9fc749837c..fdf7136dc3 100644--- a/src/local_deep_research/defaults/main.toml+++ b/src/local_deep_research/defaults/main.toml@@ -14,6 +14,11 @@ knowledge_accumulation_context_limit = 2000000# Enable fact checking (experimental, works better with large LLMs)enable_fact_checking = false+[web]+port = 5000+host = "0.0.0.0"+debug = true+[search]# Search tool to use (auto, wikipedia, arxiv, duckduckgo, serp, google_pse, etc.)# "auto" intelligently selects based on query content (recommended)diff --git a/src/local_deep_research/web/app.py b/src/local_deep_research/web/app.pyindex b9d92babe1..50c5f74171 100644--- a/src/local_deep_research/web/app.py+++ b/src/local_deep_research/web/app.py@@ -1183,6 +1183,13 @@ def main():Entry point for the web application when run as a command.This function is needed for the package's entry point to work properly."""+ # Import settings here to avoid circular imports+ from local_deep_research.config import settings++ # Get web server settings with defaults+ port = settings.web.port+ host = settings.web.host+ debug = settings.web.debug# Check for OpenAI availability but don't import it unless necessarytry:@@ -1202,8 +1209,6 @@ def main():except Exception as e:print(f"Error checking OpenAI availability: {e}")-- socketio.run(app, debug=True, host='0.0.0.0', port=5000, allow_unsafe_werkzeug=True)-+ socketio.run(app, debug=debug, host=host, port=port, allow_unsafe_werkzeug=True)if __name__ == '__main__':main()\ No newline at end of file