Reference and support
Troubleshoot task state, settings, storage, agent authentication, Fleet, Remote Access, Browser Identities, and App Surface.
Use this reference to read current state accurately and isolate a problem to a small boundary. First record the task, agent, target connection, operating system, and app version, then follow the relevant recovery path.
Task states
| State | Meaning | What to check next |
|---|---|---|
running |
The agent is running | Current turn, logs, and queue |
waiting_confirmation |
Waiting for input, approval, usage capacity, or resume | waitingReason and the on-screen guidance |
completed |
The task was moved to completed | Artifacts and Worktree preservation |
error |
Launch or runtime failed | errorMessage and diagnostics |
turn_complete means one response ended; it does not complete the whole task. needsResume is supplemental state indicating that an incomplete task lost its runtime process and needs a resume action.
Common waitingReason values include turn_complete, permission, question, terminal_prompt, usage_limit, runtime_error, idle_timeout, and unknown. Use cockpit task get <id> to inspect state and source from the CLI.
Settings and shortcuts
The application menu at bottom left opens appearance, notifications, shortcuts, agents, setup, skills, Browser Identities, history, Remote Access, and Autorun. The CLI exposes supported settings and constraints through cockpit settings list and cockpit settings describe.
Choose View → Reload Window from the Desktop application menu to reload only the renderer without stopping agents or the main process. Cockpit restores the selected task, unsent composer drafts for each task, and the right-side panel that was open for the selected task. Cmd/Ctrl+R is intentionally unassigned, so run this operation from the menu.
Primary shortcuts include Quick Task, task search, and the send key. The send key can be Enter or Cmd/Ctrl+Enter; Shift+Enter inserts a line break. Shortcut conflicts and OS registration failures are rejected before saving.
After changing a setting, inspect the returned saved value. Numeric settings can be clamped to an accepted range. Existing Autoruns retain their saved runtime configuration and are not automatically changed by new global defaults.
Open Cockpit at login
In Settings → Setup, turn on Open at login to start Cockpit when you log in to this computer. It is off by default. Crews that were running resume when Cockpit starts. Use an installed copy: the Applications folder on macOS, a permanent AppImage location or the deb package on Linux.
Windows support is included in the v4.141.0 Microsoft Store submission, which is awaiting certification as of November 23, 2026; it is not yet publicly available. Once that version is installed, Windows uses its Store startup task. Other Windows distributions do not support this setting. If Windows disabled it, enable AGI Cockpit in Windows Settings → Apps → Startup. Organization policy can lock it on or off, and Cockpit cannot override that policy.
The CLI uses cockpit settings get app.launchAtLogin and cockpit settings set app.launchAtLogin true. An unreadable state is shown as Unknown rather than off. If a change is unconfirmed, check the current state before retrying: Windows may apply it later, and Cockpit does not retry automatically. See the settings reference for OS-managed states and error details.
Data locations
| Data | Primary location |
|---|---|
| Cockpit tasks, Autoruns, Fleets, templates, CLI, and logs | ~/.agi-tools/data/cockpit |
| User-wide CLI launcher | ~/.agi-tools/bin |
| Persistent workspaces | ~/.agi-tools/workspaces |
| Project files and Git Worktrees | Location selected when creating the task |
| Electron authentication, attachments, and browser profiles | OS AGI Cockpit application-data area |
| Authentication tokens and API keys | OS Keychain or keyring |
cockpit doctor reports the connected instance, CLI runtime, pidVisibility, loopback and file-IPC authentication results, and the selected effectiveTransport. Diagnostic logs can contain local paths, agent names, and session state, so inspect them before external sharing.
The app does not update
Start with Update AGI Cockpit to check the method for the current OS and distribution, the last install result, and diagnostic logs. If the problem remains, include capability, lastError, and the last install result from cockpit update status, plus the relevant time from ~/.agi-tools/data/cockpit/logs/updater.jsonl, in the report.
See the cockpit update reference for the exact CLI contract and Release history for published changes.
macOS sign-in reports an unresponsive Keychain
If Cockpit says The system keychain did not respond. Try again., bring any macOS Keychain prompt to the front, unlock the login Keychain if needed, and allow the request. Then run the Cockpit sign-in again.
Cockpit stops waiting for an unresponsive Keychain after about two seconds instead of hanging indefinitely. This timeout does not clear the pending OAuth state or disable encrypted storage, so retry after resolving the prompt. Cockpit does not bypass the Keychain by falling back to plaintext storage.
Sign-in information cannot be read
From v4.140.0, an unreadable or corrupt AGI Lab credential store is treated as verification unavailable, rather than proof that you signed out or the session expired. Cockpit does not delete the saved credentials, revoke existing paired credentials, or reset account preferences merely because a read failed. Explicit sign-out and confirmed expiry or revocation retain their normal effects.
Choose Retry after restoring access to the OS Keychain or keyring. The sign-in screen also offers Continue locally for local work and voluntary Sign in through the browser. Continuing locally does not verify an account or unlock member features. It does not complete onboarding or initialize signed-out account defaults. Cancelling a voluntary sign-in returns to local continuation without deleting saved credentials.
Operations requiring verified authentication or membership cannot proceed while the store is unreadable. For example, cockpit account status, Smart Routing task creation, and explicit smartRouting.* settings reads or changes return verification-unavailable with HTTP 503. An unscoped settings list omits unverifiable Smart Routing values; unrelated settings remain readable. Remote sign-in reports temporary unavailability and cannot issue new paired credentials. Restore storage access and retry rather than treating this state as a confirmed sign-out or repeatedly creating replacement tasks.
AGI Lab sign-in expires
AGI Lab sign-in and agent-provider sign-in are separate. When AGI Lab reports an expiry within three days, Cockpit shows a notice and desktop notification. An expired or revoked sign-in shows renewal guidance; select Sign in and complete browser authorization to restore member features. Each state notifies once and clears after successful sign-in. Dismissing the notice does not renew authentication.
Use cockpit account status to inspect refreshRequired, notice, expiresAt, and the last membership-check reason; cockpit account login starts browser sign-in. Autorun keeps an authentication retry one minute later rather than consuming a one-time schedule. ~/.agi-tools/data/cockpit/logs/auth-session.jsonl records rejected membership checks and failed renewals with time, HTTP status, and failure category, without tokens or email addresses. See the account reference.
The requirement to sign in again after expiry or revocation survives an app restart. Restarting alone does not restore member features; complete sign-in.
An agent is missing or does not launch
- Under Settings → Updates, use Agent CLIs to inspect the installed version, latest version, and update status. Select Check to refresh the result and Update CLI when an update is available.
- Run
cockpit setup agent status <agent>to read the command, installed version, available latest version, andupdateAvailable. This command is read-only and does not perform an update. - In Agent settings, check the launch command, UI mode, and account authentication state.
- If native option discovery failed, restore the connection and authentication before selecting a fixed model or reasoning value.
- Terminal UI cannot use native UI sign-in guidance, so complete authentication inside that CLI's terminal flow.
If only the LM Studio list is stale or missing, select Reload models beside the default model or LM Studio URL in Cockpit Agent settings. An edited URL is tested before it is saved. From the CLI, cockpit settings refresh-models lmstudio uses the saved URL. After a successful list response that omits the selected model, Settings blocks Save until you choose an available model. A connection failure keeps the selection, so check the URL and that LM Studio is running, then retry. This operation does not start, stop, or reload the model itself.
If Cockpit Agent cannot load OpenCode Go or OpenCode Zen models, confirm that the selected provider matches the saved API key, then reload the models. Go and Zen use separate API keys; neither key substitutes for the other.
If a Codex model list is empty or differs from another account, confirm the target account and select Reload models. Codex does not borrow candidates across accounts; after a failure it retains only a list previously fetched for that same account. If a custom catalog path is shown, inspect model_catalog_json in that account's config.toml and the referenced file. See Agents and models for named-account isolation and migration.
Merely checking the Grok Build model list does not launch the Grok Build CLI or open a sign-in page. When signed out, Cockpit shows built-in candidates and guidance to sign in from Settings. If an expired access token has a refresh token, the account remains authReason: expired_refreshable and authState: ok; Cockpit shows known or built-in candidates and refreshes when the next task starts. network_failure does not require sign-in. Sign in again only for refresh_refused, expired_without_refresh, or provider_rejected.
For a possible temporary service incident from Claude, Codex, Antigravity, Cursor, or Grok Build, such as a 404, 5xx response, or gateway timeout, follow Check provider status from the error surface to the provider's status page. Cockpit does not show this link for authentication, usage-limit, quota, rate-limit, or billing errors.
An invalid credential appears as Session expired or authState: expired, with loggedIn: false. Sign in again with cockpit accounts login <account> --agent-type <type>, then confirm authState: ok in cockpit accounts list. cockpit doctor also lists affected accounts under accounts.expired.
For an unavailable model, inspect the error in the conversation and use the offered Switch to Codex default or Choose another model action. Switching to the default also clears a fixed model on the owning Crew or Autorun. Check the conversation before resending a failed message with attachments or an unidentified message after restart. See Task details. For agent expiry or missing-sign-in notices, Sign in opens that agent's Settings; see Accounts and Auto.
A usage limit puts the task in waiting_confirmation with usage_limit. If Auto cannot recover, add or choose another available profile, then send a new instruction. After a known reset time, Cockpit re-evaluates usage and resumes the task when capacity has recovered. If it remains stopped, check whether the guidance says the account is still exhausted, usage could not be checked, or the account must sign in again, then wait, retry, or sign in again as directed.
If Antigravity quota appears to belong to the wrong profile, inspect credential and quota source, home, and scope in Usage or cockpit accounts list --agent-type antigravity. quotaScope: host_login identifies shared authentication. Preview the targets with cockpit accounts logout <account> --agent-type antigravity, inspect its shared impact, and only then add --confirm.
If image attachments fail in Antigravity Native UI, check that the selected image is readable and uses a supported format. Images are sent as ACP image data, so a staging directory inside the workspace is unnecessary.
A Fleet cannot start or a gate failure is unclear
For Fleet run accounts are unusable, sign in to every node and account named in issues, verify authState: ok with cockpit accounts list, then create the Run again. Use --skip-account-check only when the Run intentionally contains an unusable account, such as a workflow that signs in while earlier nodes execute.
For a failed command gate, inspect the failed files and choose Open full log in the Fleet panel, or run cockpit fleet output <runId> --node <gateId> --attempt <n>. Each attempt has a separate file under fleet-runs/<runId>/gates/; a log over 20 MB keeps its head and tail and omits the middle. Use that full saved output to find errors omitted from the logs --node summary.
Inspect memory use and guard stops
Run cockpit doctor --memory for a current sample of Cockpit and task memory use, the guard's mode and state, and recent guard events. Prefer footprintBytes to RSS on macOS; RSS can count shared pages repeatedly and omit compressed or swapped memory. VM, simulator, and Docker memory in system processes is not attributed to Cockpit. Command lines are not returned.
The guard operates only on macOS. With a fallback probe, measurements can be estimates and the guard only notifies. For a stopped task, review the cause before selecting Resume; restarting Cockpit does not clear the hold. See Task list for recovery and doctor reference for fields and diagnostic limits.
A task does not resume
Inspect needsResume and waitingReason, then use cockpit task resume <id> to restore a saved session. A Terminal task starts a new shell in the same directory, so its previous foreground process is not restored. When Antigravity is waiting for a background command, it tracks the completion notice and final answer in the same turn; do not treat the interim answer as turn completion.
CLI connections are not forwarded automatically to another instance. Inspect instance, the runtime path, transports.loopback, transports.fileIpc, and effectiveTransport from cockpit doctor, then run the command against the correct Cockpit. File IPC remains limited to the connection supplied by that same instance. Do not guess another destination and resend after instance_mismatch.
Remote Access does not connect
- Confirm Remote Access is running in Desktop.
- In Tailscale-only mode, confirm both devices are authenticated in the same tailnet.
- For HTTPS, enable MagicDNS and HTTPS Certificates. Run
cockpit remote-access certificate statusand inspectexpired,daysRemaining,renewal.failed, andrenewal.lastAttempt.error. If automatic renewal failed, follow the displayed reason and select Renew. - Confirm the QR code or connection URL uses HTTPS.
- Sign in with the same AGI Lab account as the target PC. Select the sign-in button again to switch accounts. After three sign-in starts, wait 30 seconds. A credential-store error requires restoring access to the store, not a new pairing code.
- Run
cockpit remote-access status --verboseto isolate mode, scope, certificate, and membership state. Automatic renewal retries after six hours, but resolve authentication, membership, Tailscale, or TLS reload failures first.
Do not switch casually to local Wi-Fi mode. Restore the certificate or Tailscale setup. See Remote Access.
Browser Identity cannot sign in
Confirm the Identity name and color assigned to the task. Signing in through another Identity does not transfer state to the current task. On macOS, open the target site in Chrome and use cockpit browser import-session to copy eligible cookies and localStorage into the selected Identity.
If passkeys fail, run cockpit browser diagnostics and inspect platform-authenticator state and the most recent WebAuthn attempt. For no-matching-credential on macOS, register a new passkey in the in-app browser, use a password, or use cockpit browser import-session. discoverable-credential-unavailable means saved-passkey sign-in is unsupported, while user-verification-unavailable means Cockpit cannot collect required verification such as a security-key PIN. not-allowed covers cancellation, timeout, or no authenticator able to answer. An unsigned or development macOS build can lack the entitlement or real Keychain needed to start Touch ID. On Linux, use a security key or a password; a security key completes only a request that does not ask for a PIN, and signing in with a saved passkey is not supported yet.
See Browser Identity and cockpit browser for details.
App Surface does not attach
- Run
cockpit app doctorto inspect ADB, Xcode, the control runtime, and current attachments. - Run
cockpit app targetsto confirm the target is online and not used by another task. - Boot an iOS Simulator in Xcode first.
- Enable debugging for an Android physical device and approve it on the device.
- After attachment, run
cockpit app statusand inspect mirror, accessibility, input, and keyboard health.
An offline or stale Surface keeps only the last frame and cannot accept input. Prepare the target with platform tools and reattach; Cockpit does not start or stop the target or its app.
See App Surface for details.
Graphics processing keeps stopping
After repeated GPU failures, Cockpit can switch to software rendering and continue. A brief notice says it switched how it draws the screen. If display problems persist, include the time and GPU-related entries from diagnostic logs when reporting the problem.
Report a problem
If Cockpit stops or becomes unresponsive, run cockpit doctor while the problem is happening; it can run even when Cockpit is not running. Save the output. Once Cockpit responds again or has restarted, include the relevant, reviewed output in your bug report. For repeated PWA disconnects, inspect the host's reconnection diagnostics.
Collect reproduction steps, expected and actual results, AGI Cockpit version, OS and architecture, selected agent and UI mode, and error codes. Include relevant portions of cockpit doctor, updater logs, or a diagnostic report when needed.
Remove tokens, cookies, sign-in links and secrets, personal names in local paths, and secret file content. Check Release notes for an already published fix, then report the problem in the AGI Cockpit GitHub Issues.
When signed in to AGI Lab, you can also send an AGI Cockpit bug report or feature request directly to staff with cockpit feedback send --kind bug --title "Short title" --stdin (use --kind request for a request). Pipe the report body through stdin. This is local-only, sends immediately without a confirmation dialog, and accepts no attachments. Review the feedback data boundaries before sending. inbox and get are staff-only; they are not a personal sent-report list.