Use Kernel cloud browsers with the browser_* tools in
Hermes Agent. The plugin creates
a Kernel browser, gives Hermes its CDP endpoint, and deletes the browser when the
Hermes session ends or becomes inactive.
- A current Hermes Agent installation with the
BrowserProviderplugin API - A Kernel API key
- Node.js 20 or newer for Hermes's
agent-browserdependency
hermes plugins install kernel/hermes-browser-plugin --enableThe installer prompts for KERNEL_API_KEY and saves it to the active Hermes
profile's .env file. Then select Kernel as the browser provider:
hermes config set browser.cloud_provider kernelAlternatively, run hermes setup tools and choose Browser Automation →
Kernel. Restart a running Hermes CLI or gateway after changing the provider.
Verify the plugin and configuration:
hermes plugins list
hermes config show
hermes doctorKernel settings are read from the active Hermes profile's .env file.
| Variable | Default | Purpose |
|---|---|---|
KERNEL_API_KEY |
required | Authenticates requests to Kernel |
KERNEL_STEALTH |
true |
Enables Kernel's stealth browser mode |
KERNEL_HEADLESS |
true |
Set to false for a visible browser and live view |
KERNEL_TIMEOUT_SECONDS |
Kernel default | Browser inactivity timeout in seconds |
KERNEL_PROXY_ID |
unset | Attaches an existing Kernel proxy by ID |
KERNEL_PROFILE |
unset | Loads this profile and saves changes when the browser closes |
KERNEL_BASE_URL |
https://api.onkernel.com |
Overrides the Kernel API URL |
Boolean variables accept 0, false, no, and off as false values.
Run Hermes interactively so the browser remains available while you inspect it in the Kernel dashboard:
hermes chat --verbose --toolsets browserThen ask:
Use
browser_navigate, not web search, to open https://example.com. Callbrowser_snapshot, report the exact title andstealth_features, and tell me whether any cloud fallback warning occurred.
A passing run has all of these properties:
- The title is
Example Domain. stealth_featuresincludesstealth.- There is no
fallback_warning. - A matching browser appears in the Kernel dashboard.
- Exiting Hermes or waiting for inactivity cleanup removes the browser.
Hermes can fall back to local Chromium when a cloud provider fails. A successful navigation alone does not prove Kernel was used; check both the tool result and the Kernel dashboard.
Install uv, then run:
uv run pytest -q
uv run ruff check .To check registration against a Hermes source checkout:
scripts/check-hermes-integration.sh /path/to/hermes-agentThe integration check installs a temporary copy of the plugin, enables it, and
verifies that Hermes registers kernel alongside its bundled browser providers.
It does not create a live Kernel browser.
hermes plugins remove browser-kernelIf Kernel was the active browser provider, select another provider with
hermes setup tools or set local mode:
hermes config set browser.cloud_provider localMIT