~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
sync: adopt dev's encrypted_db.py isolation_level changes
LearningCircuit8c5683d21fcf
diff --git a/src/local_deep_research/database/encrypted_db.py b/src/local_deep_research/database/encrypted_db.pyindex 19f2217e02..1fff042afe 100644--- a/src/local_deep_research/database/encrypted_db.py+++ b/src/local_deep_research/database/encrypted_db.py@@ -192,8 +192,10 @@ class DatabaseManager:sqlcipher3 = get_sqlcipher_module()# Create tables directly with SQLCipher, bypassing SQLAlchemy DDL- # Use DEFERRED isolation level for proper transaction handling- conn = sqlcipher3.connect(str(db_path), check_same_thread=False)+ # Use isolation_level=None to prevent locking issues+ conn = sqlcipher3.connect(+ str(db_path), isolation_level=None, check_same_thread=False+ )# Use centralized SQLCipher setupset_sqlcipher_key(conn, password)apply_sqlcipher_pragmas(conn, creation_mode=True)@@ -237,7 +239,9 @@ class DatabaseManager:def create_sqlcipher_connection():"""Create a properly initialized SQLCipher connection."""- conn = sqlcipher3.connect(str(db_path), check_same_thread=False)+ conn = sqlcipher3.connect(+ str(db_path), isolation_level=None, check_same_thread=False+ )cursor = conn.cursor()# Use centralized SQLCipher setup@@ -336,7 +340,9 @@ class DatabaseManager:def create_sqlcipher_connection():"""Create a properly initialized SQLCipher connection."""- conn = sqlcipher3.connect(str(db_path), check_same_thread=False)+ conn = sqlcipher3.connect(+ str(db_path), isolation_level=None, check_same_thread=False+ )cursor = conn.cursor()# Use centralized SQLCipher setup