Web Search & Fetch
Stravia's Web search page (/web-search) lets you configure platform-managed search and page fetching for MCP tools and keys with web_search transparent injection.

Prerequisites
- For External Route mode (recommended in Community Edition): At least one enabled Model Route with Purpose: Web Search (
web_search) backed by a search-capable vendor (such as DeepSeek native web search, OpenAI Codex hosted search, or Antigravity). - For Stravia model (Local) mode: At least one enabled
inferenceModel Route capable of tool calling, and a deployment that registers at least one Web Provider extension viaGatewayBuilder::web_provider_factory(discovered dynamically throughGET /api/v1/web-provider-kinds). The default Community Edition build does not bundle built-in Web Provider extensions or a local Chromium runtime.
When opening Web search for the first time, the UI pre-selects External Route, while the server starts with Web Search disabled until you pick a valid route or Web Provider configuration and save.
Steps
Choose a Web Search backend
Open Advanced Features → Web search:
- External Route: Select a
web_search-purpose route. The upstream vendor performs search and returns citations that Stravia validates against domain rules and public DNS/URL checks. Each external call runs independently (no multi-turn continuation;max_turnsandtotal_time_secondsdo not apply). - Use a Stravia model (Local): Select an
inferencemodel route and configure Max turns (default12, range1–20) and Total time budget (default600s, range10–600s). Stravia orchestrates search and page-fetch turns across registered Web Access provider extensions and supports search continuation.
- External Route: Select a
Configure Web Access providers (when extensions are installed)
If your deployment registers Web Provider extensions, use the Web Access section on
/web-searchto add services, order search and page sources, and choose Proxy (proxy_mode: Use system proxy by default, No proxy, or a named proxy from Settings → Network → Proxy; legacy per-proxy bypass rules were removed in v0.7.8).In default v0.7.8 builds without Web Provider extensions, the section shows No Web Provider extensions available—switch the search method to External Route. If you upgraded from v0.7.5 or earlier, migration
0058_generalize_web_providers.sqlremoves the retired built-inweb-provider-localseed andweb_access_browser_pathsetting while keeping existing non-local rows visible as Not installed so you can inspect or delete them; migration0060_proxy_list_and_selection.sqlmigratesuse_proxybooleans on any retained rows intoproxy_mode.Enable and authorize API keys
Save the binding, turn Web Search Enabled, and authorize specific API keys via
mcp_access_enabledortransparent_injections: ["web_search"]. You can restrict domains per call viaStraviaRead.body.allowed_domains(up to20items).
Verify
Call the gateway using an authorized API key (or StraviaSearch via /mcp) with a query about a recent public topic, and check Monitor → Request history for completed search tool calls and verified public source URLs.
Troubleshooting
- No Web Provider extensions available / providers shown as Not installed: Core builds removed the bundled
LocalWebChromium runtime and hardcodedlocal/exa/zhipuadapters in v0.7.6. Switch Search method to External Route with aweb_searchroute (DeepSeek, Codex, or Antigravity), or deploy a build that injects Web Provider extensions, and delete any retired unregistered rows. - External Route option cannot be enabled: Create a Model Route with
Purpose: Web Searchfirst (inferenceroutes are excluded from the External Route dropdown).
Next
- Models, Routing & Thinking — create dedicated
web_searchroutes for DeepSeek, Codex, or Antigravity. - MCP Server & History Recall — inspect
StraviaRead.body.allowed_domains.