Skip to content

The agent that grows with you

docs: update agent-browser install docs for npx-based resolution

Zak B. Elep44170c271363
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e01511cafa0..bb157cc8f83 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -130,7 +130,7 @@ cd "${HERMES_HOME:-$HOME/.hermes}/hermes-agent"
# Add dev/test extras on top of the standard install.
uv pip install -e ".[all,dev]"
-# Optional: browser tools / docs site dependencies.
+# Optional: docs site + workspace dependencies.
npm install
```
@@ -167,7 +167,7 @@ export PATH="$VIRTUAL_ENV/bin:$PATH"
# Install with all extras (messaging, cron, CLI menus, dev tools)
uv pip install -e ".[all,dev]"
-# Optional: browser tools
+# Optional: workspace / docs dependencies
npm install
```
diff --git a/website/docs/developer-guide/browser-provider-plugin.md b/website/docs/developer-guide/browser-provider-plugin.md
index abf8a8e80f4..0f71b1684fe 100644
--- a/website/docs/developer-guide/browser-provider-plugin.md
+++ b/website/docs/developer-guide/browser-provider-plugin.md
@@ -126,7 +126,7 @@ def get_setup_schema(self) -> dict:
"prompt": "My Backend API key",
"url": "https://mybackend.example"},
],
- "post_setup": "agent_browser", # auto-installs the agent-browser npm dep
+ "post_setup": "agent_browser", # ensures local Chromium is installed (agent-browser itself resolves via npx)
}
```
diff --git a/website/docs/getting-started/termux.md b/website/docs/getting-started/termux.md
index 1dd3226c1af..fe84c3f77c4 100644
--- a/website/docs/getting-started/termux.md
+++ b/website/docs/getting-started/termux.md
@@ -155,11 +155,10 @@ hermes setup
### Install optional Node dependencies manually
-The tested Termux path skips Node/browser bootstrap on purpose. If you want to experiment with browser tooling later:
+The tested Termux path skips Node/browser bootstrap on purpose. If you want to experiment with browser tooling later, the only prerequisite is Node.js — `agent-browser` itself resolves lazily via `npx agent-browser` on first browser-tool use, so there's no separate install step:
```bash
pkg install nodejs-lts
-npm install
```
The browser tool automatically includes Termux directories (`/data/data/com.termux/files/usr/bin`) in its PATH search, so `agent-browser` and `npx` are discovered without any extra PATH configuration.
diff --git a/website/docs/user-guide/features/browser.md b/website/docs/user-guide/features/browser.md
index 4f7e36b1690..9b064a6bc00 100644
--- a/website/docs/user-guide/features/browser.md
+++ b/website/docs/user-guide/features/browser.md
@@ -472,10 +472,12 @@ AGENT_BROWSER_ARGS=--no-sandbox
### Install agent-browser CLI
+You don't need to install anything — `agent-browser` resolves automatically via
+`npx agent-browser` on first browser-tool use. To avoid the one-time npx fetch,
+you can install it globally ahead of time (optional):
+
```bash
npm install -g agent-browser
-# Or install locally in the repo:
-npm install
```
:::info