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_NAMEName of an existing browser profile to load(none)
KERNEL_PROFILE_SAVE_CHANGESSave session changes back to the profilefalse

Profile persistence: KERNEL_PROFILE_NAME loads an existing Kernel profile (create it first in Kernel). Set KERNEL_PROFILE_SAVE_CHANGES=true to save cookies, logins, and session data back to the profile when the session ends.

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.