Web Search¶
Lumiverse can connect SearXNG, Exa, Tavily, or DeepSeek to the Council so members can look up current, factual, or source-backed information mid-deliberation. Results are condensed into a context block and handed back to the calling tool.
This is a host-level feature — once configured, any council member you assign the Web Search tool to can use it.
How It Works¶
- A council member calls the Web Search tool with a search-engine-style query.
- Lumiverse forwards the query to your configured provider.
- SearXNG results are fetched and converted to clean text using the same scraper that powers Databanks. Exa, Tavily, and DeepSeek return extracted content directly, so no follow-up page fetch is needed.
- The combined snippets and page content are packaged into a single context block.
- That context block is stored under the variable
web_search_contextand exposed to the rest of the deliberation.
With SearXNG, the search request goes only to your own instance. Exa, Tavily, and DeepSeek are hosted APIs and receive the search query plus their provider-specific request options.
Setting Up SearXNG¶
Web Search needs a reachable SearXNG instance that returns JSON.
- Run SearXNG somewhere Lumiverse can reach (a Docker container on the same host is the easiest path).
- Enable JSON output in your SearXNG
settings.yml:search: formats: - html - json - (Optional) Require an API key by putting a reverse proxy in front of SearXNG that checks the
Authorization: Bearer …header. Lumiverse sends the key you provide using this scheme. - Note your instance's base URL — for example
https://searxng.example.comorhttp://localhost:8080.
Public SearXNG instances will rate-limit you
The community list at searx.space is fine for testing, but instances there throttle quickly and may block the JSON endpoint entirely. For day-to-day use, run your own.
Setting Up Exa, Tavily, or DeepSeek¶
Hosted providers need an API key, available from their respective dashboards. In Settings → Web Search, select Exa, Tavily, or DeepSeek and paste the key. Lumiverse uses their fixed HTTPS endpoints automatically and stores each provider's key separately. Switching providers preserves each provider's saved preferences and key.
Tavily searches use its documented POST https://api.tavily.com/search endpoint with Authorization: Bearer <key>. Lumiverse requests Tavily's basic search depth and native plain-text extraction when page content is needed.
DeepSeek uses POST https://api.deepseek.com/v1/tools/search with your regular DeepSeek API key. Queries must be at most 128 Unicode characters and support operators such as site:, lang:, and after:. Lumiverse requests native page content for context, falling back to DeepSeek's longer summary or snippet when unavailable. Results-only searches skip content extraction. See DeepSeek's Search & Fetch guide for supported syntax, billing, and rate limits.
Configuring Lumiverse¶
Open Settings → Web Search.
Required Fields¶
| Field | What it does |
|---|---|
| Enable web search | Master switch. While off, the Council web_search tool is hidden and the test button is the only thing that runs. |
| Provider | Choose SearXNG, Exa, Tavily, or DeepSeek. |
| API URL | For SearXNG, your instance base URL; Lumiverse appends /search if you only give a host. Exa, Tavily, and DeepSeek use their fixed API URLs. |
| API Key | Optional for SearXNG and sent as Authorization: Bearer <key> if set. Required for Exa, Tavily, and DeepSeek. The label shows (configured) once a key is saved. |
Search Tuning¶
| Field | Default | Range | What it does |
|---|---|---|---|
| Engines | (empty) | up to 20 | Comma-separated SearXNG engine allowlist (google, brave, duckduckgo). Leave empty to use whatever your SearXNG instance has enabled by default. |
| Language | all |
any SearXNG code | Result language filter. all accepts everything; en-US, de, ja etc. narrow it. |
| Safe Search | Moderate | Off / Moderate / Strict | Maps to SearXNG's safesearch=0/1/2. |
| Timeout (ms) | 15,000 | 5,000 – 120,000 | How long Lumiverse waits for both the search request and each page fetch before giving up. |
| Default Results | 3 | 1 – 10 | Result count used when the council member doesn't specify one. |
| Max Results | 5 | 1 – 20 | Hard cap on results, even if a tool asks for more. Must be ≥ Default Results. |
| Pages to Scrape | 3 | 1 – 10 | Of the search results, how many to extract text from. SearXNG fetches those pages; Exa, Tavily, and DeepSeek use their native extraction. Smaller is faster; larger gives the model more material to work with. |
| Chars per Page | 3,000 | 500 – 20,000 | Per-page text cap applied after extraction. Keeps the context block from blowing past the chat context. |
Saving & Testing¶
- Fill in the fields, optionally paste a new API key.
- Click Save Web Search Settings.
- Enter a phrase in Test Query and click Test Web Search.
The test uses whatever is currently in the form, including any unsaved API key — so you can validate a setup change before committing it. A successful test reports how many results were retrieved and how many pages were extracted, and shows the resulting context block in the Preview pane.
Using Web Search in the Council¶
Once Web Search is enabled and the provider is configured (including an API key for Exa, Tavily, or DeepSeek), a new Web Search tool appears under the Context category in the Council Tools picker.
To use it:
- Open the Council panel and select a member.
- Check Web Search in the tool list.
- That member can now decide to call Web Search during deliberation. The tool's planning guidance encourages it to use short, keyword-heavy search phrases ("latest OpenRouter pricing", "Tokyo weather today") rather than full sentences or roleplay narration.
The tool accepts two arguments:
| Argument | Required | Notes |
|---|---|---|
query |
Yes | The search phrase. The model is prompted to produce a real search-engine query, not narration. |
result_count |
No | How many results to fetch. Clamped to your Max Results setting. Defaults to your Default Results when omitted. |
The tool stores its output in the deliberation under the variable web_search_context. Any downstream member can read that variable — though it does not appear in the deliberation transcript by default, to keep the context block from leaking into prose.
Web Search is gated
The tool only shows up in the Council picker while Web Search is enabled and the provider is configured. Hosted providers also require a saved API key. Toggling it off again removes the tool from any member that had it assigned for the duration the gate is closed.
Related: OpenRouter Web Plugin¶
OpenRouter connections have their own Web Search plugin that runs on the provider side — it asks OpenRouter to augment the LLM response with web results before returning. You'll find it under Connections → (OpenRouter connection) → Plugins → Web Search.
This plugin is independent of Lumiverse's configured Web Search provider:
- Lumiverse Web Search runs on your infrastructure and is used by Council members as a tool.
- OpenRouter Web is a provider-side feature that affects responses from that OpenRouter connection regardless of whether you've configured SearXNG.
You can use neither, either, or both.
Troubleshooting¶
| Symptom | Likely cause |
|---|---|
| "SearXNG returned HTTP 403" on test | Your instance has JSON output disabled, or a fronting proxy is blocking unauthenticated requests. Set an API Key or relax the proxy rule. |
| "SearXNG returned HTTP 429" | Rate-limited. If you're testing against a public instance, switch to a self-hosted one. |
| "Tavily returned HTTP 401" | The API key is missing, invalid, or was entered under another provider. Select Tavily and save the correct key. |
| "DeepSeek returned HTTP 401" | Select DeepSeek and save a valid DeepSeek API key. |
| "DeepSeek returned HTTP 402" | Your DeepSeek account needs additional balance. |
| "DeepSeek returned HTTP 429" | Your DeepSeek account has hit its search rate limit. Wait before retrying. |
| "DeepSeek search queries must be at most 128 Unicode characters" | Shorten the query, including any search operators. Lumiverse preserves queries rather than silently truncating them. |
| Tool never gets called by the Council | The member needs the tool explicitly checked. The model also won't call it for questions it can answer from the current chat — that's by design. |
| Empty results despite a working query in your browser | Your engine allowlist is too narrow, or your SearXNG instance has those engines disabled. Clear the Engines field and retest. |
Pages return as Fetch note: … instead of content |
The page blocks scraping (bot protection, login walls, JS-only rendering). The snippet from SearXNG is still included. |
Loopback URLs are allowed
For Owner users, http://localhost, 127.0.0.1, and private-range hosts are allowed as the Web Search API URL — Lumiverse's normal "no private IPs" guard is relaxed here so you can point at a SearXNG container running alongside it.