Closedloop.ai
Getting Started

Install the Desktop app

Download, install, and launch the Closedloop Desktop app on macOS or Linux.

The Desktop app finds and analyzes the AI coding sessions on your machine. Install it first — it's where onboarding starts.

Download

The installer is built and signed by ClosedLoop's release pipeline and published to the public closedloop-ai/closedloop-ai repository so you can download it without a GitHub account. It is not built from that repository's source at the release tag — the tag names the version, so identify the build you are running by its version number rather than by the tagged commit.

Verify the signature (macOS)

The signature and notarization are on the app, not the .dmg — the disk image itself is not code-signed, so verify the installed app. After dragging Closedloop.app into /Applications, confirm it was signed by ClosedLoop's Developer ID (Developer ID Application: ClosedLoop.ai, Inc., Apple Team ID S3789XCTMA):

# Signature intact AND signed by ClosedLoop's Team ID. Exit 0 with
# "explicit requirement satisfied" passes; a build signed by anyone
# else — even another notarized Developer ID — fails this check.
codesign --verify --strict --verbose=2 \
  -R '=anchor apple generic and identifier "ai.closedloop.desktop" and certificate leaf[subject.OU] = "S3789XCTMA"' \
  /Applications/Closedloop.app

# Gatekeeper's own verdict and the signer it resolved
spctl --assess --type exec --verbose=4 /Applications/Closedloop.app

spctl prints accepted, source=Notarized Developer ID, and origin=Developer ID Application: ClosedLoop.ai, Inc. (S3789XCTMA).

Packaged macOS builds auto-update through the ClosedLoop update service. The client checks on boot and every five minutes after that, downloading updates in the background and installing them on the next quit.

Older builds installed from closedloop-ai/closedloop-electron do not auto-upgrade across repositories. Install the latest Desktop DMG manually once using the download link above; subsequent updates follow the current update service.

First launch

The first launch opens guided onboarding. Click Start Analyzing My Sessions and follow Your first run for every step.

The app also adds a menu bar (tray) icon. Its menu has Open ClosedLoop, Open Agent Dashboard, and Quit.

Use an API key (optional)

In the Desktop app, open Settings → Labs → Desktop App. Under Security Settings → Manage API Key, paste a Closedloop API key (it starts with sk_live_) and click Set. The key is encrypted with Electron safeStorage.

Alternatively, export CLOSEDLOOP_API_KEY in your shell before launching. The environment value is used only when no key is stored in the app. The SYMPHONY_API_KEY variable is accepted as a legacy fallback.

Verify the gateway

With the Desktop app running, you can probe the public health route from any loopback process:

curl http://127.0.0.1:19432/health

A ready gateway responds with:

{
  "status": "ok",
  "machineName": "<your-host>",
  "capabilities": {
    "versions": {},
    "commandSigning": false
  },
  "onboardingCompleted": true,
  "version": "<package version>",
  "port": 19432
}

The active port is also written in plaintext to ~/.closedloop-ai/electron-port so other tools can discover it.

If the default port is in use, the client will fall back through 19433 → 19434 → 19435. The discovery file always reflects the active port.

Run from source (contributors)

The desktop source is published in the public community-edition repository, closedloop-ai/closedloop-ai:

git clone https://github.com/closedloop-ai/closedloop-ai.git
cd closedloop-ai
pnpm install
pnpm -C apps/desktop dev

Prerequisites, environment setup, and the pull request workflow live in that repository's CONTRIBUTING.md, which is the authoritative contributor guide.

That tree is re-synced from our internal repository periodically rather than continuously, so it lags the packaged build offered above. As with the release tags described earlier, identify the build you are running by its version number rather than by this source.

Next step

With the Desktop app running, continue to Your first run.

On this page