Documentation

cockpit accounts

Generated reference for cockpit accounts, including its syntax, options, results, and constraints from the canonical cockpit CLI source.

Applies to
CLI
WindowsmacOSLinux
GuestAGI Labo member

Verified 2026-08-27 · v4.61.0

Markdown

This reference is generated from the same canonical source distributed as cockpit CLI help. See Cockpit CLI for concepts and safe operating guidance.

Usage:

cockpit accounts [list] [--agent-type <type>]
cockpit accounts create <name> [--agent-type <type>]
cockpit accounts remove <name|id> [--agent-type <type>] --confirm
cockpit accounts login [<name|id|default>] [--agent-type <type>]

List, create, remove, and sign in to agent account profiles. With no --agent-type, accounts and accounts list return every account for claude, codex, grok, antigravity, cursor, and qoder. Each entry includes its agentType. The default agent type for create, remove, and login remains claude.

cockpit accounts
cockpit accounts list --agent-type claude
cockpit accounts --agent-type claude
cockpit accounts --agent-type codex
cockpit accounts --agent-type grok
cockpit accounts --agent-type antigravity
cockpit accounts --agent-type cursor
cockpit accounts --agent-type qoder
cockpit accounts create work --agent-type codex
cockpit accounts login work --agent-type codex
cockpit accounts remove work --agent-type codex --confirm
Option Description Default
--agent-type Agent type: claude, codex, grok, antigravity, cursor, or qoder All types for list; claude otherwise

When listing all types, each entry contains agentType. Every entry also contains profileId (null for the default account), name, emailAddress when available, loggedIn, provider-specific usage, usageState, and usageFetchedAt. Accounts with auth_required or error usage states remain in the response with those states intact; treat them as unusable.

create creates an isolated profile and returns it. login opens Settings → Agents in the target Cockpit and starts that provider's existing interactive authentication flow; the command returns after the navigation is sent or queued, not after authentication completes. Omit the account selector to sign in to the default account. remove deletes only named profiles, never the default account, and requires --confirm. Removal is rejected while a task or Autorun uses the profile.

All commands also accept the task transport options --host, --port, and --https to operate another Cockpit. A remote login opens the authentication flow on that remote Cockpit.

Assign a task or Autorun to an account with --account <auto|name|id|default>. Both default to auto, which selects the signed-in account whose remaining usage should be consumed first and switches accounts after a usage limit. Each Autorun execution resolves Auto again, so recurring runs are not pinned to the account selected for an earlier run. --claude-profile and --codex-profile remain compatibility aliases.

cockpit task run --instruction "Instruction text" --directory /path/to/repo --agent-type grok --account work
cockpit autorun create --name "Daily review" --instruction "Review changes" --directory /path/to/repo --agent-type cursor --account work --type cron --expression "0 9 * * *"

Switch a running task to another account with cockpit task account <id> <name|id|default> (see cockpit help task).

Antigravity profile sign-in uses a browser-based Google OAuth flow and stores token files inside that profile instead of the operating-system keyring. Cockpit starts Agy with the selected profile's app-data directory and prevents fallback to the shared keyring, keeping credentials, conversations, logs, and usage history separate. Developer shell resources and non-credential Antigravity settings are shared with the normal home so tools and existing preferences continue to work. On macOS, isolated profiles use the host user's Keychain search list so GitHub CLI, Git credential helpers, and other developer tools can reuse existing Keychain-backed credentials without sharing Antigravity profile data.