Kernel
This example wires together Kernel and Inkbox so your agent has a real email address and a cloud browser in the same loop. No local Chrome needed — Kernel spins up a fresh stealth browser session in the cloud for each run.
Setup
Requires uv.
| Variable | Required | Description |
|---|---|---|
INKBOX_API_KEY | yes | Your Inkbox API key from console.inkbox.ai |
KERNEL_API_KEY | yes | Your Kernel API key from kernel.sh |
OPENAI_API_KEY | yes (OpenAI) | OpenAI API key — used by default |
ANTHROPIC_API_KEY | yes (Anthropic) | Anthropic API key — used with --provider anthropic |
Quickstart
On first run a new Inkbox identity is created automatically with a fresh email address.
LLM providers
The example supports both OpenAI and Anthropic. Pass --provider to switch:
How it works
- A new Inkbox identity is created with a real email address
- A fresh Kernel cloud browser session is spun up in stealth mode
- The agent loads a system prompt from
SKILL.mdwith the identity's handle and email interpolated - The LLM runs a tool-use loop: it calls browser and email tools, receives results, and continues until the task is complete or the step limit is reached
- The Kernel browser session is deleted on exit
Tools
| Category | Tool | Description |
|---|---|---|
| Browser | navigate | Go to a URL |
| Browser | get_page_text | Read visible text on the current page |
| Browser | click_element | Click an element by CSS selector |
| Browser | fill_input | Type into a form field |
| Browser | press_key | Press a keyboard key (Enter, Tab, Escape, etc.) |
| Browser | execute_js | Run arbitrary JavaScript |
send_email | Send or reply to an email | |
check_inbox | List recent emails | |
read_email | Read a specific email in full |