Skip to content

First run in the cockpit

What the person named by --user-email sees, in order, the first time they open the proxied address.

The login page

webview-login answers every browser request except its own health check and the PWA assets, so the cockpit is never the first thing on screen. WEBVIEW_AUTH_DRIVER decides what that page is: a username and password form served by agentctl, or a redirect to your own identity provider and back. Both end at the same cookie.

Which driver a host runs, and what each one needs configured, is Cockpit login.

On success the proxy sets a wv_session cookie — an HMAC token over WEBVIEW_HMAC_KEY, 30 days by default, WEBVIEW_SESSION_TTL to change it. It then reverse-proxies to the cockpit with the authenticated address in X-User-Email.

That address is the routing key. It is matched against the ledger, and the session is scoped to the single agent it maps to. An address that maps to no agent authenticates successfully and is then refused with HTTP 403 — a page naming the signed-in address and saying no agent is provisioned for it on this host. That is what a mistyped --user-email looks like from the browser.

An admin gets the same cockpit as anyone else. What the role adds is the fleet mini-app in the launcher and a deep link to another agent, /?agent=<name>&host=<host>.

Sign out sits at the bottom of the left sidebar.

What is on screen

Region Contents
header files-sidebar toggle, theme switch, mini-app launcher strip, all-apps drawer, tile sessions, agent panel toggle, restart, notifications bell
left sidebar sessions, open by default, stacked over the workspace tree rooted at ~/workspace
centre the transcript, with the composer pinned below it
session band the session control, directly above the composer, on every viewport
composer row attach, camera (coarse-pointer devices only), microphone for a voice note, text box, send
right panel closed by default, every section collapsed — scheduled jobs, history, memories, skills, subagents, secrets, connections, passkeys, settings

The session control names the current lane, shows a status dot, and carries a count with the worst status of the other lanes. The composer stays put while a file tab or a mini-app owns the pane above it. The right panel's history section is every transcript the agent has written, which is a different list from the live lanes the session control picks between.

Below 720px the header is hidden and its four toggles — files sidebar, all-apps, agent panel, bell — move into a thumb band above the composer. They are the same nodes relocated, not a second copy. The sessions block in the left sidebar is hidden at that width.

The first message

The agent boots on the provider API key it was added with, so the transcript is live as soon as the page is: type into the composer and the first message is an ordinary turn.

Note

A message sent before the agent's session is up is answered with ⏳ Still connecting — try again in a moment. The harness is not attached yet; this is not a failure.

Finding what the agent can do

Type / at the start of an empty composer to list the agent's activated skills, filtered as you type. Picking one inserts /<name>. A new agent carries the default skill set, including onboarding — see Onboarding.

The launcher strip shows the agent's active mini-apps. Activation derives from what the agent has wired, so the strip is short on a fresh agent and grows with each MCP added. An app that declares no provider needs no MCP to activate, but the admin and supervisor apps are additionally filtered to a viewer holding that role. Every new agent is wired with browser, so the live browser view is there from the start.

Files

The workspace tree is the only way to browse ~/workspace, and it edits in place. Its controls are refresh, new folder, new file, upload, and collapse-all.

Upload from Lands at
the workspace tree the path selected in the tree
the composer staged for that one message

Both go through the same resumable uploader, so a large file over a phone connection survives a dropped tab.

Next
Install as a PWA the 30-day session is sized for this
The cockpit detail on every surface
The webview gateway the two host services

An agent added with --runtime claude signs in to a claude.com account instead of carrying an API key, and shows an auth card on its first turn: Logging an agent in.