Kernel
Kernel provides cloud browser infrastructure for AI agents with features like stealth mode and persistent profiles.
Setup
export KERNEL_API_KEY="your-api-key"
agent-browser -p kernel open https://example.comOr use environment variables for CI/scripts:
export AGENT_BROWSER_PROVIDER=kernel
export KERNEL_API_KEY="your-api-key"
agent-browser open https://example.comThe -p flag takes precedence over AGENT_BROWSER_PROVIDER.
Configuration
| Variable | Description | Default |
|---|---|---|
KERNEL_API_KEY | API key (required) | |
KERNEL_HEADLESS | Run browser in headless mode | true |
KERNEL_STEALTH | Enable stealth mode to avoid bot detection | false |
KERNEL_TIMEOUT_SECONDS | Session timeout in seconds | 300 |
KERNEL_PROFILE_NAME | Browser profile name for persistent cookies/logins | (none) |
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.
When enabled, agent-browser connects to a Kernel cloud session instead of launching a local browser. All commands work identically.
Get your API key from the Kernel Dashboard.