Search and network
The assistant searches the web to answer questions about current things. This page covers which search engine it uses, how to send traffic through a proxy, what the Python sandbox may connect to, and where API keys are kept.
Choose a search provider
Pick one in Settings → Search → Search provider:
| Provider | Setup | Notes |
|---|---|---|
| Auto (the default) | None | Takes turns between Yahoo, Brave, DuckDuckGo and Bing, and skips engines that are failing. |
| DuckDuckGo | None | One engine only, so it may get rate limited. |
| Brave Search | API key | Free key with 2,000 queries a month from brave.com/search/api. The most reliable option. |
| SearXNG | Instance URL | Unlimited, if you host it yourself. |
| Browser-assisted | Chrome or Chromium | Drives a hidden browser, so it can reach engines that block simple requests (it adds Startpage). |
Free public engines are unreliable: they rate-limit and change their pages. If searches keep failing, use a Brave key or SearXNG. To see how each engine is doing, open the log viewer's Stats tab: it shows totals for this session and all time, and a By day table of searches that worked, so an engine that broke today stands out.
Brave Search: paste the key into Brave API Key. It is saved when you leave the field. Remove key deletes it.
Browser-assisted: any Chromium-based browser works (Chrome, Chromium, Brave, Edge). Haruspex finds it for you; if it doesn't, set Browser path. Searches take about twice as long and the browser uses about 1.2 GB of RAM while it runs. It starts when you search and quits when idle. It uses the Web Search Proxy. If no browser works, or that proxy needs a password, searches fall back to the normal rotation and say so.
Result recency limits results to the past day, week, month or year. The default is Any time.
Deep research and slow mode
The deep research button in the chat box makes the assistant search more sources. If deep research is on, the provider is Auto and you have no Brave key, searches use slow mode: they wait longer between engines so the engines don't block you. A search step in the chat says when this is happening. A Brave key or SearXNG skips slow mode.
How the assistant reads a page
It reads a page's title and visible text, with up to 40 links to other pages on the same site, or a JSON, XML, CSV or plain-text response as it is, so it can use an API or a feed. A long page is cut to fit the model's context, more for a model with a bigger window, and the assistant is told how much it read. It doesn't run a page's JavaScript, so a page that builds itself in the browser can come back nearly empty. PDFs and other files are downloaded to the working directory and read there.
What pages the assistant may open
Pages, images and downloads the assistant fetches must be on the internet. An address on this computer or your local network is refused, and so is a name that leads there, such as nas.local or a Tailscale peer. Through a proxy, the proxy decides where a name leads.
Use a proxy
Settings → Network has two proxies.
- Network Proxy covers everything except web search: model downloads, MCP servers, calendar and contacts, ComfyUI installs, the Python sandbox, and Home's Weather and News cards. Choose None (the default) or Manual and enter a Proxy URL.
- Web Search Proxy covers web search, the pages it opens and image search. Choose None, Network proxy (the default: use the same proxy as above) or Manual with its own URL.
The URL looks like http://host:port. Add user:pass@ if the proxy needs a login; the password is moved to the system keychain and hidden from the field.
Proxy Bypass List holds addresses reached directly: one per line, as a hostname, IP or CIDR subnet. A hostname also matches its subdomains. localhost is always bypassed.
Each MCP server can also choose its own proxy use (Use the app setting, Always, Never) on its card in Settings → MCP servers. See the mcp-servers page.
Control what Python code can reach
When the Python sandbox is on, Settings → Chat → Python Sandbox → Network access decides what code the model writes may connect to:
- Internet only: public addresses.
- Internet and local network (the default): also devices on your network, and Tailscale peers (100.64.0.0/10).
- Everything, including this computer: also services on your own machine, including Haruspex's own model, speech and remote access servers.
Sandbox traffic uses the Network Proxy.
Where API keys are kept
API keys for remote model servers and OpenRouter are managed in Settings → API keys. Give each key a name; the remote server and OpenRouter forms, and per-job model choices, refer to it by name, so changing a key here changes it everywhere.
Keys, email and calendar passwords, MCP server tokens, and proxy passwords go in your system keychain (GNOME Keyring or KWallet on Linux, Keychain on macOS, Credential Manager on Windows). Where no keychain works, Haruspex keeps them in an encrypted file in its data folder. On Windows that file is tied to your login; on Linux and macOS anything that can read your files can read it, so set up a keychain if you can. If even the data folder can't be written, they are kept only until Haruspex closes. A password field's tooltip says which applies, and Settings → API keys says so in one line when the keychain isn't used. An MCP server's arguments and URL are plain settings, so keep keys out of them: a network server has a token field, and a server on this computer has Add secret variable, which passes a key as an environment variable.