Authentication

Agent Computer uses browser sessions for the dashboard and bearer tokens for API and CLI requests. Machine-specific auth helpers build on top of that base account auth.

Browser sessions

The dashboard uses cookie-backed browser sessions. When you open a machine in the browser from the dashboard or CLI, Agent Computer creates a short-lived access token that is scoped to that machine.

Bearer tokens

API requests use bearer tokens with the ac_live_ prefix.

$ Authorization: Bearer ac_live_...

CLI login

Run computer login to open the browser flow and create a dedicated local API key for the CLI. If you already have a key, pass it directly instead.

$ computer login
$ computer login --api-key ac_live_...

Subscription logins

Use these helpers after computer login when you want to install local Claude Code or Codex credentials onto a target machine.

$ computer claude-login
$ computer codex-login

computer claude-login runs the Claude browser flow and verifies the result on the machine. computer codex-login reuses your local Codex login and copies the resulting auth file to the machine.