kernel-python-sdk
When to Use This Skill
Use the Kernel Python SDK when you need to:
- Build browser automation scripts - Create Python programs that control remote browsers
- Execute server-side automation - Run Playwright code directly in the browser VM without local dependencies
- Manage browser sessions programmatically - Create, configure, and control browsers from code
- Build scalable scraping/testing tools - Use browser pools and profiles for high-volume automation
- Deploy automation as actions - Package scripts as Kernel actions for invocation via API
When NOT to use:
- For CLI commands (e.g.,
kernel browsers create), use thekernel-cliskill instead - For quick one-off tasks, the CLI may be simpler than writing code
Core Concepts
SDK Architecture
The SDK is organized into resource-based modules:
More from kernel/skills
kernel-agent-browser
Best practices for using agent-browser with Kernel cloud browsers. Use when automating websites with agent-browser -p kernel, dealing with bot detection, iframes, login persistence, or needing to find Kernel browser session IDs and live view URLs.
347kernel-cli
Complete guide to Kernel CLI - cloud browser platform with automation, deployment, and management
295kernel-typescript-sdk
Build browser automation scripts using the Kernel TypeScript SDK with Playwright, CDP, and remote browser management.
271kernel-auth
Setup and manage Kernel authentication connections for any website (Gmail, GitHub, Outlook, or custom domains). Handles managed auth flows with automatic reauthentication support.
246profile-website-bot-detection
Profile a website for bot detection vendors using stealth vs non-stealth Kernel browsers. Use when analyzing bot detection on a website, comparing stealth effectiveness, identifying anti-bot vendors and products, or detecting challenge types.
219kernel-replays
Record, manage, and download video replays of browser sessions
5