agent37-hermes browses the web out of the box with a Chromium inside the instance. To run that browser on Browser Use Cloud instead, with its stealth and residential proxies, pick the setup that matches who chats with the agent:
Anything in an instance’s environment, the agent can read and repeat back. When your users chat with their agents, a key in the environment is a key your users can take, so keep it on your server.
An agent per user
Paste this into your coding agent
agent37-platform/examples: hermes-browser-use
A broker server and a create script, plain Node with no dependencies. Your Browser Use key stays on the server; each user’s agent gets a link that opens only that user’s browser.
BROWSER_CDP_URL the way it reads a Chrome debugging port: it asks that URL’s /json/version for a browser and drives whatever comes back. Point it at your server with a token for the user:
- One browser per user. It is labelled with the user in your Browser Use dashboard and reused across that user’s chats until it times out (15 minutes by default), so a sign-in carries over between chats while it lives.
- A copied link opens one browser. A user who takes their link can only reach their own browser, and you cut them off in the token check.
- Concurrency. Each user holds at most one browser, so your Browser Use plan’s concurrent session limit caps how many users browse in the same window.
- If your server is down, browsing fails for that turn and the rest of the agent keeps working.
Your own agent
When you are the one chatting with the agent, put your Browser Use key straight into its environment, withTMPDIR set to /tmp:
TMPDIR works around a Hermes bug that makes Browser Use sessions fail when Hermes keeps its temp files under the home directory (hermes-agent#122786); without it the browser tool fails and the agent falls back to fetching pages without a browser.
- One browser per turn. Each chat turn that browses opens its own cloud browser, and Hermes closes it when the turn ends. A sign-in does not carry over to the next turn.
- Fallback to the instance. If Browser Use won’t start a browser, for example because the account is out of credits or at its concurrency limit, Hermes loads the page in the instance’s own Chromium and the turn still completes.
Check it works
Ask the agent to open an IP lookup page with its browser tool:org that is a consumer internet provider (Charter, Comcast, and the like) means the page loaded through Browser Use’s residential proxy. A cloud or hosting company means it did not: either the browser ran inside the instance, or the agent fetched the page without a browser.
Browser Use Cloud or the built-in browser
Use the built-in browser for sites that don’t fight automation, and Browser Use Cloud when the sites your agents visit block datacenter traffic. To watch the built-in browser work and take over a sign-in, see Browser and desktop.