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.com

Or use environment variables for CI/scripts:

export AGENT_BROWSER_PROVIDER=kernel
export KERNEL_API_KEY="your-api-key"
agent-browser open https://example.com

The -p flag takes precedence over AGENT_BROWSER_PROVIDER.

Configuration

VariableDescriptionDefault
KERNEL_API_KEYAPI key (required)
KERNEL_HEADLESSRun browser in headless modetrue
KERNEL_STEALTHEnable stealth mode to avoid bot detectionfalse
KERNEL_TIMEOUT_SECONDSSession timeout in seconds300
KERNEL_PROFILE_NAMEBrowser 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.