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
Add Kernel (https://kernel.sh) as a third-party cloud browser provider,
following the same pattern as Browserbase and Browser Use integrations.
Features:
- Launch browser with `-p kernel` flag or `AGENT_BROWSER_PROVIDER=kernel`
- Configurable via environment variables:
- KERNEL_API_KEY (required)
- KERNEL_HEADLESS (default: false)
- KERNEL_STEALTH (default: true)
- KERNEL_TIMEOUT_SECONDS (default: 300)
- KERNEL_PROFILE_NAME (optional, for persistent sessions)
- Profile find-or-create: automatically creates profile if it doesn't exist
- Profile persistence: cookies/logins saved back to profile on session close
- Uses raw fetch() calls for API communication (no SDK dependency)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -739,6 +739,40 @@ When enabled, agent-browser connects to a Browser Use cloud session instead of l
739
739
740
740
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.
741
741
742
+
### Kernel
743
+
744
+
[Kernel](https://www.kernel.sh) provides cloud browser infrastructure for AI agents with features like stealth mode and persistent profiles.
745
+
746
+
To enable Kernel, use the `-p` flag:
747
+
748
+
```bash
749
+
export KERNEL_API_KEY="your-api-key"
750
+
agent-browser -p kernel open https://example.com
751
+
```
752
+
753
+
Or use environment variables for CI/scripts:
754
+
755
+
```bash
756
+
export AGENT_BROWSER_PROVIDER=kernel
757
+
export KERNEL_API_KEY="your-api-key"
758
+
agent-browser open https://example.com
759
+
```
760
+
761
+
Optional configuration via environment variables:
762
+
763
+
| Variable | Description | Default |
764
+
|----------|-------------|---------|
765
+
| `KERNEL_HEADLESS` | Run browser in headless mode (`true`/`false`) | `false` |
| `KERNEL_TIMEOUT_SECONDS` | Session timeout in seconds | `300` |
768
+
| `KERNEL_PROFILE_NAME` | Browser profile name for persistent cookies/logins (created if it doesn't exist) | (none) |
769
+
770
+
When enabled, agent-browser connects to a Kernel cloud session instead of launching a local browser. All commands work identically.
771
+
772
+
**Profile Persistence:** When `KERNEL_PROFILE_NAME` is set, the profile will be created if it doesn't already exist. Cookies, logins, and session data are automatically saved back to the profile when the browser session ends, making them available for future sessions.
773
+
774
+
Get your API key from the [Kernel Dashboard](https://dashboard.onkernel.com).
0 commit comments