RUST_LOG
optional
Sets the log level; warn is recommended for MCP stdio.
HTTP_TIMEOUT_SECS
optional
Sets the HTTP request read timeout in seconds; defaults to 30.
HTTP_CONNECT_TIMEOUT_SECS
optional
Sets the TCP connect timeout in seconds; defaults to 10.
OUTBOUND_LIMIT
optional
Sets the maximum concurrent outbound HTTP connections; defaults to 16.
MAX_CONTENT_CHARS
optional
Sets the maximum characters returned per scraped page; defaults to 10000.
CORTEX_SCOUT_TOOL_TIMEOUT_SECS
optional
Sets the hard timeout for tool calls; configure as needed.
CORTEX_SCOUT_SCRAPE_STAGE_TIMEOUT_SECS
optional
Sets the shared timeout for scrape stages; configure as needed.
CHROME_EXECUTABLE
optional
Sets the Chromium, Chrome, or Brave executable path; otherwise it is auto-detected.
SEARCH_CDP_FALLBACK
optional
Controls Chromium CDP fallback when search is blocked; enabled by default.
SEARCH_TIER2_NON_ROBOT
optional
Set to 1 to allow hitl_web_fetch as a last-resort search escalation.
MAX_LINKS
optional
Sets the maximum links followed per crawled page; defaults to 100.
SEARCH_ENGINES
optional
Sets the comma-separated search engines; defaults to google,bing,duckduckgo,brave.
SEARCH_MAX_ENGINES_PER_QUERY
optional
Sets the maximum search engines queried per search; defaults to 3.
SEARCH_MAX_RESULTS_PER_ENGINE
optional
Sets the results per search engine; defaults to 10.
SEARCH_ENGINE_STAGGER_MS
optional
Sets the delay between search engine launches; defaults to 125 milliseconds.
SEARCH_COMMUNITY_TRIGGER_RESULTS
optional
Sets the primary-result threshold for Reddit/HN community expansion; defaults to 4.
SEARCH_SHARED_CACHE
optional
Controls sharing successful search results across processes on the same host; enabled by default.
SEARCH_SHARED_CACHE_TTL_SECS
optional
Sets the shared search cache lifetime in seconds; defaults to 300.
SEARCH_HOST_MIN_GAP_MS
optional
Sets the minimum search request spacing for the same host IP; engine-tuned by default.
SEARCH_HOST_MAX_GAP_MS
optional
Sets the maximum search request spacing and jitter for the same host IP; engine-tuned by default.
SCRAPE_HOST_MIN_GAP_MS
optional
Sets the minimum scrape request spacing to the same host; defaults to 900 milliseconds.
SCRAPE_HOST_MAX_GAP_MS
optional
Sets the maximum scrape request spacing and jitter to the same host; defaults to 1800 milliseconds.
CORTEX_SCOUT_HOST_GUARD_DISABLED
optional
Set to 1 to disable shared host-level throttling.
IP_LIST_PATH
optional
Optional path to ip.txt; put one HTTP or SOCKS5 proxy per line.
PROXY_SOURCE_PATH
optional
Optional path to proxy_source.json used by proxy_control grab.
LANCEDB_URI
optional
Sets the persistent research memory directory; omit it to disable memory.
CORTEX_SCOUT_MEMORY_DISABLED
optional
Set to 1 to disable semantic memory.
MODEL2VEC_MODEL
optional
Sets the embedding HuggingFace model ID or local path.
DEEP_RESEARCH_ENABLED
optional
Controls whether deep_research is enabled at runtime; enabled by default.
OPENAI_BASE_URL
optional
Sets the OpenAI-compatible API endpoint; defaults to https://api.openai.com/v1.
DEEP_RESEARCH_LLM_MODEL
optional
Sets the synthesis model identifier; defaults to gpt-4o-mini.
DEEP_RESEARCH_SYNTHESIS
optional
Controls whether LLM synthesis is enabled; enabled by default.
DEEP_RESEARCH_HOP_TIMEOUT_SECS
optional
Sets the scrape timeout per research hop in seconds; defaults to 90.
DEEP_RESEARCH_SYNTHESIS_MAX_TOKENS
optional
Sets the maximum synthesis response tokens; defaults to 1024.
DEEP_RESEARCH_SYNTHESIS_MAX_SOURCES
optional
Sets the maximum source documents sent to LLM synthesis; defaults to 8.
DEEP_RESEARCH_SYNTHESIS_MAX_CHARS_PER_SOURCE
optional
Sets the maximum extracted characters per synthesis source; defaults to 2500.
CORTEX_SCOUT_PORT
optional
Sets the HTTP server listening port; defaults to 5000.
PORT
optional
Sets the HTTP server listening port; defaults to 5000.