Use local SearXNG for agent web search¶
Keryx can use a SearXNG instance that you operate yourself. It is an explicit search-provider option, not a general permission for the agent to access your local network.
Start SearXNG¶
For a quick local instance, follow the official SearXNG installation guide. A typical Docker command is:
Keryx does not run Docker or alter your SearXNG configuration.
Connect it in Keryx¶
In agent mode:
- Run
/search-providerand choose SearXNG. - Confirm or edit the default URL
http://localhostand port8080. - Run the connection test. A provider is not considered connected until this request returns the expected SearXNG JSON result shape.
- Run
/search-connectand select SearXNG. That list intentionally includes only providers with a successful connection test.
Then the agent can call web_search. When no provider is active, it returns
setup guidance rather than silently choosing another service.
Troubleshooting¶
- Connection refused: make sure SearXNG is running and its published port matches the configured port.
- Incompatible response: the configured endpoint must expose SearXNG's
/search?...&format=jsonAPI, not an HTML error page or a reverse-proxy login page. - Provider disappears from
/search-connect: edit/test it again. Changing configuration invalidates its connected state until a new test succeeds.
The SearXNG exception is limited to its configured loopback endpoint. It does
not make web_fetch or cloud search providers able to access private addresses.