You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d01253d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1920,7 +1920,7 @@ Get your API key from the [Browserbase Dashboard](https://browserbase.com/overvi
1920
1920
1921
1921
### Browser Use
1922
1922
1923
-
[Browser Use](https://browser-use.com) provides cloud browser infrastructure forAI agents. Use it when running agent-browserin environments where a local browser isn't available (serverless, CI/CD, etc.).
1923
+
[Browser Use](https://browser-use.com) is an open-source browser automation project forAI agents with [over 100,000 GitHub stars](https://github.com/browser-use/browser-use), plus a managed Cloud browser service. Browser Use Cloud is useful when running agent-browserin environments where a local browser isn't available, such as serverless and CI environments.
agent-browser open https://example.com
1938
1938
```
1939
1939
1940
-
When enabled, agent-browser connects to a Browser Use cloud session instead of launching a local browser. All commands work identically.
1940
+
Optional Browser Use Cloud settings:
1941
1941
1942
-
Get your API key from the [Browser Use Cloud Dashboard](https://cloud.browser-use.com/settings?tab=api-keys). Free credits are available to get started, with pay-as-you-go pricing after.
| `BROWSER_USE_PROFILE_ID` | Profile UUID for persistent cookies and logins |
1945
+
| `BROWSER_USE_PROXY_COUNTRY` | Managed proxy country, or `none`/`direct` to disable proxy |
1946
+
| `BROWSER_USE_ENABLE_RECORDING` | Record the Cloud browser session |
1947
+
1948
+
```bash
1949
+
export BROWSER_USE_PROFILE_ID="your-profile-uuid"
1950
+
export BROWSER_USE_PROXY_COUNTRY="de"
1951
+
export BROWSER_USE_ENABLE_RECORDING="true"
1952
+
agent-browser -p browseruse open https://example.com
1953
+
```
1954
+
1955
+
When enabled, agent-browser creates a Browser Use Cloud V4 session and connects to its CDP endpoint. Browser Use setup is limited to 18 seconds, with up to 4 more seconds for cleanup if setup times out. Within setup, creation waits up to 10 seconds and CDP attachment up to 8 seconds; each stop request waits up to 4 seconds. Navigation and other page commands keep their existing timeouts. If creation fails before a browser id is returned, the outcome is unknown; inspect the Browser Use Cloud dashboard before retrying, since a browser may still have been created.
1956
+
1957
+
The Cloud browser stays active between commands. Run `agent-browser close` when the task finishes. The daemon also attempts cleanup on exit, including its default one-hour idle timeout; a failed stop can leave the Cloud browser running.
1958
+
1959
+
`close` succeeds only after Browser Use acknowledges the browser as stopped. On a failed stop, `close` returns an error and keeps the session id, so running `agent-browser close` again retries the same browser, and a new launch is blocked until the pending browser is released.
1960
+
1961
+
If the daemon exits before a stop succeeds, inspect the Browser Use Cloud dashboard and stop the browser there.
1962
+
1963
+
If a stop keeps returning 404, verify the browser status in Browser Use Cloud. After confirming it has stopped, use a new `--session` name to continue; agent-browser does not treat 404 as proof of a successful stop.
1964
+
1965
+
Get your API key from the [Browser Use Cloud Dashboard](https://cloud.browser-use.com/settings?tab=api-keys).
0 commit comments