Repository navigation
Opt-in keyless web search for Hermes sandboxes (no credential to inject) #14408
KGKallasmaa
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Hermes in NemoClaw has two web search states today: Tavily with a key, or none. Since #13620, "none" hides
web_searchandweb_extract. That fixes the policy-denied keyless attempts from #13584, but users without a Tavily account still end up with an agent that has no search. #14349 and #14309 show what happens next: the model works around the gap withcurl, environment scans or plain-text tool calls.Idea
Add a third, opt-in choice that needs no credential:
NEMOCLAW_WEB_SEARCH_PROVIDER=keenablefor Hermes. Hermes already ships Keenable as a bundled web backend (plugins/web/keenable). Its keyless path calls two public endpoints and sends no key.nemoclaw-blueprint/policies/presets/keenable.yaml, shaped liketavily.yaml, with norequest_body_credential_rewriteand nothing for the gateway to inject:agents/hermes/config/build-env.ts: accept"keenable"inreadWebSearchProvider.agents/hermes/config/managed-policy.ts: writeweb: { backend: "keenable", keyless_fallback: false }. Hermes then uses only the backend the policy allows, and the other keyless ring members that the policy would deny are never tried.POST /v1/search/public.This keeps the current security posture: there is no secret in the sandbox or the gateway, and egress is limited to one host and two paths. Today's defaults stay the same: "none" stays none, and Tavily stays the keyed option. The keyless tier is rate limited per IP (1,000 requests per hour). Users who need more can add a
KEENABLE_API_KEYlater through the existing credential path, which would be a separate preset rule for/v1/searchand/v1/fetch.I work with Keenable. If a maintainer accepts the scope, I can send the PR with the preset, the Hermes config change, the onboarding entry and tests next to the existing Tavily cases in
hermes-managed-policy.test.ts.All reactions