Your first browser
Install the Kernel SDK first:
- Typescript/Javascript:
npm install @onkernel/sdk - Python:
pip install kernel - Go:
go get github.com/kernel/kernel-go-sdk
session_id, cdp_ws_url, webdriver_ws_url, and browser_live_view_url.
If your environment restricts outbound traffic, add Kernel’s domains and ports to its allowlist.
Pick the right shape
Most of what you’ll tune at creation time falls into four buckets:Headless vs headful
headful (default) supports live view, replays, and better stealth — ideal for agent workflows on bot-detected sites. headless is lighter (1 gb vs 8 gb), good for simple scraping.
Stealth and proxies
Turn on stealth mode and route through residential, ISP, or datacenter proxies when you’re hitting sites with bot detection.
GPU acceleration
Required for WebGL, video, and canvas-heavy workloads. Trades off standby support.
Profiles and auth
Persist cookies, storage, and authenticated sessions across runs with a profile, or learn how to hand supported login flows off to Kernel with Managed Auth.
On demand or from a pool
browsers.create() boots a browser for you on the spot. It’s the default while you’re building, and it stays the right fit when your configuration changes per user as you scale.
A browser pool keeps browsers already booted on one fixed configuration, so acquire hands you one that’s ready to drive. Consider one once you’ve built and scaled your workload and every run uses the same attributes, or when you need to acquire browsers faster than the rate limit on browsers.create() allows. See Scale to decide which fits your workload.
If you’re on an Enterprise plan, speak with your account manager about applicable rate limits for
browsers.create() and what’s best for your workloads.