Vercel + Kernel
Kernel partners with Vercel to provide seamless browser automation capabilities for your Vercel applications. Our integration offers two powerful ways to add browser automation to your projects:Vercel Marketplace Integration
The Vercel Marketplace integration allows you to install and configure Kernel directly from the Vercel dashboard. This integration:- Automatically provisions a Kernel Organization and API key
- Syncs your
KERNEL_API_KEYto your Vercel project’s environment variables - Manages billing directly through Vercel
- Syncs team members and roles between Vercel and Kernel
AI SDK Tool for Browser Automation
The@onkernel/ai-sdk package provides a Vercel AI SDK-compatible tool that enables AI agents to execute Playwright code on Kernel remote browsers. This tool integrates seamlessly with:
- Vercel AI SDK’s
generateText()- For direct LLM-powered browser automation - Vercel AI SDK’s
Agent()class - For building autonomous browser automation agents
Getting Started
- Install the Kernel integration from the Vercel Marketplace
- Connect Kernel to your Vercel project to sync your API key
- Install the AI SDK tool in your application:
- Start building browser automation agents
Use Cases
- Web Scraping & Data Extraction - Extract data from websites using natural language
- Automated Testing - Build AI-powered test automation
- Web Monitoring - Monitor websites for changes or specific content
- Form Automation - Automate form submissions and data entry
- Content Generation - Generate screenshots, PDFs, or capture web content
Example
Here’s a quick example using the AI SDK tool with Vercel’sgenerateText():

