AgentKit
DocsKitsCLI ReferenceDesktop App

Desktop app

Troubleshoot the Desktop app

Diagnose first-launch, license, local-data, platform, and staged-update problems without deleting user state.

Start with the symptom below. Keep the verified v2.12.0 artifact and preserve AgentKit state while you diagnose the issue.

The window does not open

SymptomMeaningSafe next step
ak gui prints a Desktop download hint and exits 1You ran the standard non-Wails CLI artifactRun the verified Desktop artifact directly
Linux ARM64 or Windows ARM64 prints an availability warning and exits 0v2.12.0 has no Desktop package for that architectureUse the CLI or browser dashboard; do not substitute an x64 binary
macOS blocks the appGatekeeper has not allowed this bundleRecheck SHA-256, then use the allow-once flow in Installation
Linux reports permission deniedThe AppImage is not executableRun chmod +x ak-gui_2.12.0_linux_amd64.AppImage as your user
Linux reports a FUSE errorThe host lacks the AppImage FUSE compatibility layerInstall the distribution's compatibility package; do not run as root
Windows shows SmartScreenWindows is evaluating the downloaded executableRecheck SHA-256 before choosing More info → Run anyway for the matching release artifact
Windows reports that Microsoft Edge WebView2 Runtime was not foundThe startup preflight could not find the required WebView2 runtimeInstall or repair WebView2 from Microsoft's official download page, then retry

Desktop requires a graphical session. --no-interactive does not suppress the window, and --json and --quiet do not create a structured or silent launch. For a headless host, use CLI commands or start the separate browser dashboard without opening a local browser:

ak config start --no-open

Expose that server beyond its default loopback bind only after applying the appropriate authentication and network controls.

Desktop remains on the license screen

A successful CLI login does not activate Desktop. Enter a valid App license in Desktop while online. If the 72-hour offline grace period has expired, reconnect so Desktop can verify it again.

If Desktop reports that it cannot read or save the session, inspect ownership and permissions of $AGENTKIT_HOME/auth/session.json. Do not paste the file into a support request and do not delete the whole AgentKit home. Profile → Sign out clears only the local App slot; ak logout clears only the CLI slot.

Kits, Activity, or Sessions look empty

  • Refresh the App session and network connection when the entitled Kit catalog is unavailable. A Kit appears installable only when the App session grants it.
  • Rerun the local scan when a newly installed coding assistant or registered project is missing. After installing a Kit, restart that assistant or open a new runtime session.
  • Activity reads $AGENTKIT_HOME/activity/events.ndjson. Sessions reconcile supported Claude Code and Codex sources into $AGENTKIT_HOME/analytics/analytics.db while Desktop is open. An empty view can mean there is no supported local evidence yet; it does not prove files were deleted.
  • Removing a project in Desktop removes only its AgentKit registry entry. It does not delete the project directory.

Desktop v2.12.0 does not launch Kit skills or agent runs. Run the skill in its coding assistant before expecting new Activity or session evidence.

A port is busy

Desktop itself binds no HTTP port. A conflict on 127.0.0.1:8766 belongs to the separately started browser dashboard; a conflict on 127.0.0.1:8765 belongs to the separately started API server. Check those processes with:

ak config status
ak api status

Closing Desktop stops its in-process services, streams, and reconciler, but it does not stop a dashboard or API server started separately.

An update will not complete

  • Windows x64 rejects paired Desktop apply in v2.12.0. Download and verify the replacement Desktop zip manually.
  • On macOS or Linux x64, keep the matching standard CLI installed and preserve $AGENTKIT_HOME/updater/pending-binary-update.json plus its reported staging directory.
  • Free disk space, fix ownership or permissions, close processes holding the executable, then reopen the same Desktop app to retry.
  • If rollback also failed, stop. Preserve the installed, staged, pending, and backup paths from the error instead of manually swapping files.

Read Update the Desktop app for the transaction boundary and the ak self-update reference for CLI output and exit behavior.

Capture safe diagnostics

Quit Desktop, open a terminal, and launch the exact installed executable:

/Applications/agentkit.app/Contents/MacOS/ak-gui
./ak-gui_2.12.0_linux_amd64.AppImage
.\ak-gui.exe

Desktop runtime, update, and launch diagnostics can appear as plain text on stderr. On Windows, Desktop also writes a launch log to %LOCALAPPDATA%\agentkit\logs\ak-gui.log. A windowless launch failure shows a native dialog with the error and log location; a missing WebView2 runtime also includes the official repair link. For another startup failure, check Event Viewer → Windows Logs → Application for an ak-gui.exe entry while keeping endpoint protection enabled.

Record the symptom, operating system, architecture, artifact name, SHA-256 result, and only the relevant stderr, log, or Event Viewer lines. Remove license keys, session content, private project paths, and unmasked configuration values before sharing diagnostics.

Reinstalling the same verified Desktop package can replace the app without removing AgentKit data. Delete only the installed app item described in Installation, never the entire AgentKit or runtime home.