~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
"""Backwards-compatibility shim.
The thread-safe research state now lives in :mod:`local_deep_research.web.research_state`.
This module re-exports everything so existing imports continue to work.
"""
from ..research_state import ( # noqa: F401
_active_research,
_termination_flags,
_lock,
is_research_active,
get_active_research_ids,
get_active_research_snapshot,
get_research_field,
set_active_research,
check_and_start_research,
update_active_research,
append_research_log,
update_progress_if_higher,
remove_active_research,
iter_active_research,
get_active_research_count,
get_usernames_with_active_research,
is_termination_requested,
set_termination_flag,
clear_termination_flag,
is_research_thread_alive,
update_progress_and_check_active,
cleanup_research,
reclaim_stale_user_active_research,
user_research_start_gate,
)