Browser sessions
Unless otherwise noted,
id arguments refer to the browser session ID, not invocation IDs returned by Kernel commands.kernel browsers list
List all browser sessions.
kernel browsers create
Create a new browser session.
kernel browsers delete <session-id>
Delete a browser session. Use -y to skip confirmation.
kernel browsers view <session-id>
Return a live view URL for remote monitoring and control.
kernel browsers get <session-id>
Get detailed information about a browser session.
kernel browsers update <session-id>
Update a running browser session — change or remove its proxy, load a profile, resize the viewport, or toggle telemetry.
kernel browsers curl <session-id> <url>
Make an HTTP request through the browser’s network stack, inheriting its TLS fingerprint, cookies, proxy, and headers. Works like curl, but requests go through the browser session. See Browser curl for examples.
kernel browsers ssh <session-id>
Open an interactive SSH session to a browser VM. Requires websocat to be installed locally.
Browser logs
kernel browsers logs stream <session-id>
Stream browser logs from the supervisor or a file path.
Log lines longer than 64 KiB are truncated.
Telemetry
kernel browsers telemetry stream <session-id>
Stream live telemetry events from a browser session. Filters are applied client-side and don’t change what the session captures.
Replays
kernel browsers replays list <session-id>
List replay recordings for a browser session.
kernel browsers replays start <session-id>
Start recording a replay.
kernel browsers replays stop <session-id> <replay-id>
Stop an active replay recording.
kernel browsers replays download <session-id> <replay-id>
Download a replay video.
Process control
kernel browsers process exec <session-id> [--] [command...]
Execute a command synchronously inside the browser VM.
kernel browsers process spawn <session-id> [--] [command...]
Execute a command asynchronously in the browser VM.
kernel browsers process kill <session-id> <process-id>
Send a signal to a process running in the browser VM.
kernel browsers process status <session-id> <process-id>
Check process status information.
kernel browsers process stdin <session-id> <process-id>
Write base64-encoded data to a process stdin.
kernel browsers process stdout-stream <session-id> <process-id>
Stream stdout and stderr from a process.
Filesystem
kernel browsers fs new-directory <session-id>
Create a directory in the browser VM.
kernel browsers fs delete-directory <session-id>
Delete a directory.
kernel browsers fs delete-file <session-id>
Delete a file.
kernel browsers fs download-dir-zip <session-id>
Download a directory as a zip archive.
kernel browsers fs file-info <session-id>
Retrieve metadata for a file or directory.
kernel browsers fs list-files <session-id>
List directory contents.
kernel browsers fs move <session-id>
Move or rename a file or directory.
kernel browsers fs read-file <session-id>
Read a file from the browser VM.
kernel browsers fs set-permissions <session-id>
Update file permissions or ownership.
kernel browsers fs upload <session-id>
Upload one or more files.
kernel browsers fs upload-zip <session-id>
Upload a zip file and extract it.
kernel browsers fs write-file <session-id>
Write a local file to the browser VM.
Computer controls
kernel browsers computer click-mouse <session-id>
Click the mouse at specific coordinates.
kernel browsers computer move-mouse <session-id>
Move the mouse pointer.
kernel browsers computer screenshot <session-id>
Capture a screenshot.
kernel browsers computer type <session-id>
Type text into the browser VM.
kernel browsers computer press-key <session-id>
Press one or more keys.
kernel browsers computer scroll <session-id>
Scroll the mouse wheel.
kernel browsers computer drag-mouse <session-id>
Drag the mouse along a path.
Playwright
kernel browsers playwright execute <session-id> [code]
Execute Playwright/TypeScript code against a running browser session.
WebMCP
These commands require CLI v0.41.0 or later. See the WebMCP guide and custom WebMCP tools.kernel browsers webmcp list <session-id>
List native and custom WebMCP tools across every tab and frame in the browser.
kernel browsers webmcp invoke <session-id>
Invoke one tool by its tool_ref. The CLI doesn’t retry invocations automatically.
kernel browsers webmcp custom-tools list <session-id>
List registered custom tool definitions, including ones that don’t currently match an open page.
kernel browsers webmcp custom-tools add <session-id>
Register a namespaced batch of custom tools from a JavaScript source file. The CLI doesn’t retry registration automatically.
For example, to register the tools from
hn-tools.js:
kernel browsers webmcp custom-tools remove <session-id> <tool-id>
Remove one custom tool definition by its generated ct_… ID. Invocations already in progress keep running.