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.
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 |
| Temporary copies of external images for Antigravity Native UI | Workspace .agi-cockpit-attachments; Git-ignored per session and removed when it stops |
| 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.
An agent is missing or does not launch
- Open Setup from the application menu and check CLI detection and version.
- Run
cockpit setup agent status <agent>to inspect the command, installed version, and available 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.
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.
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 only image attachments fail before an Antigravity Native UI turn starts, confirm that the task workspace is writable and that .agi-cockpit-attachments is a normal directory. Cockpit stages an image from outside the workspace there temporarily, so it safely rejects a read-only workspace, a file with that name, or a symbolic link.
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.
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, then obtain the certificate again.
- Confirm the QR code or connection URL uses HTTPS.
- Check for an expired pairing code or the 30-second lock after three failures.
- Run
cockpit remote-access status --verboseto isolate mode, scope, certificate, and membership state.
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. On Linux, use a security key or password.
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.
Report a problem
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, pairing codes, 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.