Skip to main content

Overview

Kernel is a platform that provides infrastructure for running browser and computer using agents. You can run your browser agents on Kernel to get top tier performance and developer experience. Kernel’s SDKs are tightly integrated with Laminar, allowing you to trace your agents down to the LLM calls and browser/computer actions.
A version of this guide is available in Kernel’s documentation.

Advantages of using Kernel

  • Reliable infrastructure and quick computer startup times.
  • Reusable sessions, cookies, browser history and more.
  • Stealth mode for browser automation avoids blockers and CAPTCHAs.
  • Framework agnostic automations – you can use any browser framework you want.

Prerequisites

  1. A Kernel account.
  2. A Laminar account or a self-hosted instance.
  3. API keys for both Kernel and Laminar set as KERNEL_API_KEY and LMNR_PROJECT_API_KEY environment variables.

Getting Started

Installation

Setting up API keys

  1. Signup on the Kernel dashboard.
  2. Create an API key during the onboarding process or in the API keys page.
  3. Store the API key in the KERNEL_API_KEY environment variable.
  4. Create a Laminar project.
  5. Navigate to the project settings and create a new project API key.

Running agents on Kernel

Browser Use

Laminar provides observability for Browser Use and Kernel, so if you host your Browser Use agents on Kernel, you will get full observability of both the browser agent and the computer interactions. Full guide on browser-use integration

Playwright

You can use Laminar to trace your Playwright browser sessions hosted on Kernel.

Deploying Kernel apps and using Kernel’s Computer and Process APIs

When you use Kernel’s App platform or use their Computer controls, Laminar will trace the computer and process interactions. In addition, you don’t have to observe your kernel app.actions and worry about manual trace flushing inside your Kernel apps.
Laminar will take care of trace lifecycle automatically.
As a result of the example below, you will see the following in the Laminar UI: Kernel app trace

Example Kernel app with Laminar tracing

To deploy this example on Kernel, follow the steps in Kernel’s documentation.

Next steps