Quick start with Puppeteer
- Create a free Kernel account and generate an API key from Settings → API Keys
- Remix the Kernel Puppeteer val
- Add your
KERNEL_API_KEYto the val’s Environment Variables (left sidebar) - Click Run
- View logs for output
Quick start with Playwright
- Remix the Kernel Playwright val
- Add your
KERNEL_API_KEYto Environment Variables - Set
TMPDIRto/tmpto avoid Playwright file-system warnings - Click Run
- Check the logs for output
Quick start with Stagehand + Gemini
Run an autonomous browser agent powered by Gemini 2.5’s computer use capabilities and Stagehand.- Remix the Kernel Stagehand + Gemini val
-
Add the following to Environment Variables:
KERNEL_API_KEY— from Kernel’s API keys pageGOOGLE_API_KEY— from Google AI Studio
-
Import
runAgentinto your val and call it with a task, starting URL, and timeout: -
The agent returns an object with a
successstatus and amessagecontaining the results.