Skip to content

Local search runtime

The retained WebSearch tool calls packages/grok-bot-harness/src/local/web-search.ts, which queries this local SearXNG instance. It returns titles, source URLs and snippets through the original tool result renderer. Search queries reach the configured public search engines; model credentials are never attached to search requests.

Pinned image: docker.io/searxng/searxng@sha256:6869f20676fd91e3f856bcaefc510bc363fdd126f7bd860f49f2ffcb3b305da0

Configuration is read-only. Cache data is temporary container memory. The instance has no published host port, no vendor login and no inference key. runtime/manage.cjs generates a separate local instance secret. Edit settings.yml to change search engines, then restart the search service.

The configured engines are listed in settings.yml. Search engine availability, rate limits and CAPTCHA behavior can change independently of GBH; failures are reported rather than converted into empty successful results.

Configuration ยท WebSearch adapter