~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
Merge branch 'main' into feature/ai-code-reviewer
LearningCircuit6652ab316b98
diff --cc .gitleaks.tomlindex 6b849897f9,c039a35b0c..9cb808fc81--- a/.gitleaks.toml+++ b/.gitleaks.toml@@@ -1,14 -1,112 +1,118 @@@- # Gitleaks configuration for local-deep-research+ title = "Gitleaks Configuration for Local Deep Research"+ # Extend default rules with custom ones+ [extend]+ useDefault = true++ # Custom rules for this repository+ [[rules]]+ description = "GitHub personal access token"+ id = "github-pat"+ regex = '''ghp_[a-zA-Z0-9]{36}'''+ keywords = ["ghp_"]++ [[rules]]+ description = "GitHub app token"+ id = "github-app-token"+ regex = '''(ghu|ghs|ghr)_[a-zA-Z0-9]{36}'''+ keywords = ["ghu_", "ghs_", "ghr_"]++ [[rules]]+ description = "Google API key"+ id = "google-api-key"+ regex = '''AIza[0-9A-Za-z_-]{35}'''+ keywords = ["AIza"]++ [[rules]]+ description = "Brave Search API key"+ id = "brave-api-key"+ regex = '''BS[a-zA-Z0-9_-]{32}'''+ keywords = ["BS"]++ [[rules]]+ description = "SERPAPI key"+ id = "serpapi-key"+ regex = '''[a-zA-Z0-9]{64}'''+ keywords = ["serpapi"]++ [[rules]]+ description = "Tavily API key"+ id = "tavily-api-key"+ regex = '''tvly-[a-zA-Z0-9_-]{40}'''+ keywords = ["tvly-"]++ [[rules]]+ description = "SQLCipher database key"+ id = "sqlcipher-key"+ regex = '''PRAGMA key = ['"][a-zA-Z0-9/+]{44}['"]'''+ keywords = ["PRAGMA key"]++ [[rules]]+ description = "Generic private key"+ id = "private-key"+ regex = '''-----BEGIN (RSA |OPENSSH |DSA |EC |PGP )?PRIVATE KEY-----'''+ keywords = ["BEGIN PRIVATE KEY", "BEGIN RSA PRIVATE KEY", "BEGIN OPENSSH PRIVATE KEY"]++ [[rules]]+ description = "Generic secret/password pattern"+ id = "generic-secret"+ regex = '''(?i)(password|secret|token|key)\s*[:=]\s*['"]?[a-zA-Z0-9_\-@#$%^&*]{8,}['"]?'''+ keywords = ["password", "secret", "token", "key"]++ # Allowlist - exclude common false positives[allowlist]- description = "Allowlist for known false positives"+ description = "Global allowlist"+ paths = [+ '''\.git''',+ '''\.venv''',+ '''node_modules''',+ '''\.pytest_cache''',+ '''__pycache__''',+ '''coverage''',+ '''\.coverage''',+ '''test_results''',+ '''screenshots''',+ '''build''',+ '''dist''',+ '''\.mypy_cache''',+ '''\.tox''',+ '''tests/.*\.py$''',+ '''examples/.*\.py$''',+ '''.*test.*\.py$''',+ '''.*example.*\.py$''',+ '''mock.*\.py$''',+ '''fixture.*\.py$'''+ ]+ files = [+ "\\.env\\.example$",+ "\\.env\\.template$",+ "config\\.example\\..*$",+ "docker-compose\\.example\\.yml$"+ ]-commits = [''']- (?i)(placeholder|example|test|mock|fake|dummy).*key-''']++commits = [++ # AI reviewer documentation commit with API key explanation++ "b31ff6fec15c9fe6f523d1f93f23e321b8803799"++]++# Allow comments that explain API key usage but don't contain actual keys+[[allowlist.regexes]]+regex = '''# API_KEY: OpenRouter API key'''+description = "Documentation comment in ai-reviewer.sh explaining API key parameter"- # Allow the specific commit that contains the documentation- [[allowlist.commits]]- id = "b31ff6fec15c9fe6f523d1f93f23e321b8803799"- description = "Refactor commit with API key documentation in comments"+ # Target specific files for scanning+ [target]+ paths = [+ '''src/''',+ '''scripts/''',+ '''docs/''',+ '''\.py$''',+ '''\.js$''',+ '''\.ts$''',+ '''\.json$''',+ '''\.yml$''',+ '''\.yaml$''',+ '''\.env$''',+ '''\.sh$''',+ '''Dockerfile.*''',+ '''docker-compose.*''',+ ]diff --cc .pre-commit-hooks/file-whitelist-check.shindex f09b02d1e8,63f4c1a7f2..42a09b8488--- a/.pre-commit-hooks/file-whitelist-check.sh+++ b/.pre-commit-hooks/file-whitelist-check.sh@@@ -27,6 -27,12 +27,9 @@@ ALLOWED_PATTERNS="^\.coveragerc$""^\.secrets\.baseline$""^\.gitleaks\.toml$"+ "^\.semgrepignore$"+ "^\.trivyignore$"+ "\.semgrep/.*\.yml$"- "^pyproject\.toml$"- "^\.semgrepignore$"- "^\.trivyignore$""^pytest\.ini$""^LICENSE$""^README$"