Appearance
Install
Kernel ships two installation paths: a CLI for project scaffolding and deployment, and a TypeScript SDK for programmatic browser control.
CLI (macOS via Homebrew)
bash
brew install kernel/tap/kernelUpgrade an existing install:
bash
brew upgrade kernel/tap/kernelnpm/pnpm global alternative:
bash
npm install -g @onkernel/cli
# or
pnpm install -g @onkernel/cliVerify the install:
bash
kernel --version
# requires >= v0.16.0Authenticate:
bash
kernel loginThis opens a browser flow. Poll kernel auth to confirm the session is active.
TypeScript SDK (for programmatic use)
bash
npm install @onkernel/sdkThe SDK is published at @onkernel/sdk under the Apache-2.0 license.
Set your API key as an environment variable:
bash
export KERNEL_API_KEY=your_api_key_hereTemplate Starter
Scaffold a new computer-use agent project:
bash
kernel create --template computer-useThis writes a starter agent.ts (and supporting files) into a new directory ready to deploy.