~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
"""Shared search-query limits for the notes and unified-search routes.
Both route modules cap the user-supplied free-text ``q`` / ``search``
param that flows into ``ILIKE %...%`` over unbounded TEXT columns (and the
embedding call). The cap lived as an independent ``MAX_SEARCH_LEN = 512``
in each module, linked only by a "mirrors the other file" comment that
would rot the moment one side changed. One definition here removes the
manual-sync hazard.
"""
# 512 chars — an order of magnitude above any realistic UI query input.
MAX_SEARCH_LEN = 512