agent-browser 0.23.4 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -626,7 +626,7 @@ The dashboard displays:
626
626
  - **Live viewport** -- real-time JPEG frames from the browser
627
627
  - **Activity feed** -- chronological command/result stream with timing and expandable details
628
628
  - **Console output** -- browser console messages (log, warn, error)
629
- - **Session creation** -- create new sessions from the UI with local engines (Chrome, Lightpanda) or cloud providers (Browserbase, Browserless, Browser Use, Kernel)
629
+ - **Session creation** -- create new sessions from the UI with local engines (Chrome, Lightpanda) or cloud providers (AgentCore, Browserbase, Browserless, Browser Use, Kernel)
630
630
 
631
631
  ## Configuration
632
632
 
@@ -1317,6 +1317,39 @@ When enabled, agent-browser connects to a Kernel cloud session instead of launch
1317
1317
 
1318
1318
  Get your API key from the [Kernel Dashboard](https://dashboard.onkernel.com).
1319
1319
 
1320
+ ### AgentCore
1321
+
1322
+ [AWS Bedrock AgentCore](https://aws.amazon.com/bedrock/agentcore/) provides cloud browser sessions with SigV4 authentication.
1323
+
1324
+ To enable AgentCore, use the `-p` flag:
1325
+
1326
+ ```bash
1327
+ agent-browser -p agentcore open https://example.com
1328
+ ```
1329
+
1330
+ Or use environment variables for CI/scripts:
1331
+
1332
+ ```bash
1333
+ export AGENT_BROWSER_PROVIDER=agentcore
1334
+ agent-browser open https://example.com
1335
+ ```
1336
+
1337
+ Credentials are automatically resolved from environment variables (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`) or the AWS CLI (`aws configure export-credentials`), which supports SSO, profiles, and IAM roles.
1338
+
1339
+ Optional configuration via environment variables:
1340
+
1341
+ | Variable | Description | Default |
1342
+ | -------------------------- | -------------------------------------------------------------------- | ---------------- |
1343
+ | `AGENTCORE_REGION` | AWS region for the AgentCore endpoint | `us-east-1` |
1344
+ | `AGENTCORE_BROWSER_ID` | Browser identifier | `aws.browser.v1` |
1345
+ | `AGENTCORE_PROFILE_ID` | Browser profile for persistent state (cookies, localStorage) | (none) |
1346
+ | `AGENTCORE_SESSION_TIMEOUT`| Session timeout in seconds | `3600` |
1347
+ | `AWS_PROFILE` | AWS CLI profile for credential resolution | `default` |
1348
+
1349
+ **Browser profiles:** When `AGENTCORE_PROFILE_ID` is set, browser state (cookies, localStorage) is persisted across sessions automatically.
1350
+
1351
+ When enabled, agent-browser connects to an AgentCore cloud browser session instead of launching a local browser. All commands work identically.
1352
+
1320
1353
  ## License
1321
1354
 
1322
1355
  Apache-2.0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-browser",
3
- "version": "0.23.4",
3
+ "version": "0.24.0",
4
4
  "description": "Browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "files": [
@@ -693,6 +693,25 @@ Priority (lowest to highest): `~/.agent-browser/config.json` < `./agent-browser.
693
693
  | [references/profiling.md](references/profiling.md) | Chrome DevTools profiling for performance analysis |
694
694
  | [references/proxy-support.md](references/proxy-support.md) | Proxy configuration, geo-testing, rotating proxies |
695
695
 
696
+ ## Cloud Providers
697
+
698
+ Use `-p <provider>` (or `AGENT_BROWSER_PROVIDER`) to run against a cloud browser instead of launching a local Chrome instance. Supported providers: `agentcore`, `browserbase`, `browserless`, `browseruse`, `kernel`.
699
+
700
+ ### AgentCore (AWS Bedrock)
701
+
702
+ ```bash
703
+ # Credentials auto-resolved from env vars or AWS CLI (SSO, IAM roles, etc.)
704
+ agent-browser -p agentcore open https://example.com
705
+
706
+ # With persistent browser profile
707
+ AGENTCORE_PROFILE_ID=my-profile agent-browser -p agentcore open https://example.com
708
+
709
+ # With explicit region
710
+ AGENTCORE_REGION=eu-west-1 agent-browser -p agentcore open https://example.com
711
+ ```
712
+
713
+ Set `AWS_PROFILE` to select a named AWS profile.
714
+
696
715
  ## Browser Engine Selection
697
716
 
698
717
  Use `--engine` to choose a local browser engine. The default is `chrome`.