agentcore docs (#1120)

* agentcore docs

* fixes

* fixes
This commit is contained in:
Chris Tate
2026-04-02 20:31:14 -05:00
committed by GitHub
parent 8561a755ef
commit 13ed01b3bd
12 changed files with 288 additions and 86 deletions
+34 -1
View File
@@ -626,7 +626,7 @@ The dashboard displays:
- **Live viewport** -- real-time JPEG frames from the browser
- **Activity feed** -- chronological command/result stream with timing and expandable details
- **Console output** -- browser console messages (log, warn, error)
- **Session creation** -- create new sessions from the UI with local engines (Chrome, Lightpanda) or cloud providers (Browserbase, Browserless, Browser Use, Kernel)
- **Session creation** -- create new sessions from the UI with local engines (Chrome, Lightpanda) or cloud providers (AgentCore, Browserbase, Browserless, Browser Use, Kernel)
## Configuration
@@ -1317,6 +1317,39 @@ When enabled, agent-browser connects to a Kernel cloud session instead of launch
Get your API key from the [Kernel Dashboard](https://dashboard.onkernel.com).
### AgentCore
[AWS Bedrock AgentCore](https://aws.amazon.com/bedrock/agentcore/) provides cloud browser sessions with SigV4 authentication.
To enable AgentCore, use the `-p` flag:
```bash
agent-browser -p agentcore open https://example.com
```
Or use environment variables for CI/scripts:
```bash
export AGENT_BROWSER_PROVIDER=agentcore
agent-browser open https://example.com
```
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.
Optional configuration via environment variables:
| Variable | Description | Default |
| -------------------------- | -------------------------------------------------------------------- | ---------------- |
| `AGENTCORE_REGION` | AWS region for the AgentCore endpoint | `us-east-1` |
| `AGENTCORE_BROWSER_ID` | Browser identifier | `aws.browser.v1` |
| `AGENTCORE_PROFILE_ID` | Browser profile for persistent state (cookies, localStorage) | (none) |
| `AGENTCORE_SESSION_TIMEOUT`| Session timeout in seconds | `3600` |
| `AWS_PROFILE` | AWS CLI profile for credential resolution | `default` |
**Browser profiles:** When `AGENTCORE_PROFILE_ID` is set, browser state (cookies, localStorage) is persisted across sessions automatically.
When enabled, agent-browser connects to an AgentCore cloud browser session instead of launching a local browser. All commands work identically.
## License
Apache-2.0