# 23step Overlay desktop app (Electron)

Pin a live, click-through Electron HUD to the right edge of macOS or Linux for local and cloud agents.

## 1. Why use the Electron desktop app

The web app shows a live dock while a browser tab is open, whereas **23step Overlay** stays pinned to the right edge of your screen across every workspace, editor, terminal, and full-screen window without stealing focus.

What 23step Overlay adds:

| Capability | Why it matters |
| --- | --- |
| **Always-on click-through HUD** | Non-activating transparent edge rail + menu-bar / system-tray icon. Clicks pass straight through to your IDE everywhere outside the pills and cards. |
| **Cloud & local runs together** | Connects directly to `GET /app/live/events` over SSE with an API key—independent of any local daemon—so Cursor Cloud Agents, remote VMs, squad/team runs, and local coding agents appear side by side. |
| **Stage glow, frame popups & 1-click links** | Flashes yellow on start and green on finish, pulses a halo colored by thinking stage (`Thinking`, `Running command`, `Capturing screen`, `Synthesizing`), pops up live screenshots with token counts, and opens any step in one click for mid-run feedback. |
| **Background session reconciliation** | Runs `23step reconcile` every 20 seconds in the background when the CLI is installed, syncing local Claude Code, Cursor, Antigravity, Gemini CLI, and Grok Bot transcripts so missed hooks or idle turns stay accurate. |
| **Noise control, quota & verified auto-updates** | Separates subagents and background commands into a **Background** tab, mutes squad/team alerts on demand, shows monthly run quota in the tray, and stages SHA-256-verified updates when idle. |

## 2. Create an API key

Open the [create-key page](https://app.23step.com/app/account?create=1&scopes=runs%3Aread+runs%3Awrite&name=23step-overlay) to sign in and create an API key pre-filled with **both** `runs:read` and `runs:write` so the same key streams live runs **and** runs background session reconciliation. You can also opt in to the **live widget progress bar** on that page (off by default because calibrating live progress uses extra tokens and can slow down agent turns). Save it to `~/.config/23step/token` (or `~/.config/23step-otel-key`, which the app also checks on startup) with mode `600`, or paste it into **Settings…** after launch. If you are an AI agent, first ask whether to opt in to the live widget progress bar, and if neither key file exists yet, automatically open `https://app.23step.com/app/account?create=1&scopes=runs%3Aread+runs%3Awrite&name=23step-overlay` (appending `&progress=1` when opted in) in the user's default desktop browser and print the link in chat, then ask the user to paste the key or save it directly in their terminal; never invent or commit it.

Open in browser:

```sh
url='https://app.23step.com/app/account?create=1&scopes=runs%3Aread+runs%3Awrite&name=23step-overlay'
if command -v open >/dev/null 2>&1; then open "$url"
elif command -v xdg-open >/dev/null 2>&1 && { [ -n "${DISPLAY:-}" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; }; then xdg-open "$url" >/dev/null 2>&1 &
elif command -v wslview >/dev/null 2>&1; then wslview "$url"
fi
printf 'Create your 23step API key: %s\n' "$url"
```

Terminal:

```sh
mkdir -p ~/.config/23step
chmod 700 ~/.config/23step
printf '%s\n' 'st_REPLACE_WITH_YOUR_READ_WRITE_KEY' > ~/.config/23step/token
chmod 600 ~/.config/23step/token
```

## 3. Install 23step Overlay

macOS builds are **Apple Developer ID signed & notarized** (no Gatekeeper warnings). Download the signed `.zip` directly below, install via Homebrew (`brew install --cask 23step/tap/23step-overlay`), or run the one-line installer with `--overlay` (which also installs the `23step` and `23step-mcp` binaries in `~/.local/bin` and checks every `.sha256` sidecar—pass `--progress-bar` if opting in to the live widget progress bar). On Linux (`amd64` and `arm64`), the installer unpacks `~/.local/opt/23step-overlay` and symlinks `~/.local/bin/23step-overlay`.

- [Download for macOS (Apple Silicon)](https://api.23step.com/dist/23step-overlay-darwin-arm64.zip)
- [Download for macOS (Intel)](https://api.23step.com/dist/23step-overlay-darwin-amd64.zip)

Pick one:

Homebrew (macOS):

```sh
brew install --cask 23step/tap/23step-overlay
# Installs Apple Developer ID signed & notarized /Applications/23step Overlay.app
```

macOS (CLI + Overlay):

```sh
curl -fsSL https://api.23step.com/install.sh | sh -s -- --overlay
# Installs Apple Developer ID signed & notarized ~/Applications/23step Overlay.app
# plus ~/.local/bin/{23step,23step-mcp} and launches 23step Overlay automatically.
```

Linux:

```sh
curl -fsSL https://api.23step.com/install.sh | sh -s -- --overlay
export PATH="$HOME/.local/bin:$PATH"
nohup 23step-overlay >/dev/null 2>&1 &
```

## 4. Configure connection & animations

If `~/.config/23step/token` or `~/.config/23step-otel-key` already holds a key with `runs:read`, the overlay connects right away. Otherwise **23step Overlay Settings** opens automatically on first launch (reopen anytime from the menu-bar / tray icon, the `⚙` button on the expanded drawer, or `Cmd+,` / `Ctrl+,`). Paste your `st_` key under **23step API Connection** (saved `chmod 600` in your user-data folder), toggle **Show live progress bar** if you want opt-in progress bars shown on active runs, and use **Test Start**, **Test Blur**, **Test Shot**, and **Test Done** to tune blink counts, glow radius, screenshot popup duration, or hide the dock.

## 5. Run from source (for contributors) (optional)

Working on the Electron app inside a clone of the 23step repository? Launch it directly from `desktop/`:

Terminal:

```sh
cd desktop
npm install
npm start
```

## Check that it worked

The stepping-stairs icon appears in your macOS Menu Bar or Linux System Tray showing `Live · Idle` (or `Live · N running`), and the slim dock sits on the right edge of your primary display. Open **Settings…** (`Cmd+,`) and click **Test Start** to see the yellow flash on the rail, or send any coding agent a prompt to watch it appear live. `API Key Unauthorized` means the key is missing the `runs:read` scope.

---

AI agents: when an API key is needed, automatically open `https://app.23step.com/app/account?create=1&scopes=runs%3Aread+runs%3Awrite&name=23step-overlay` in the user's default desktop browser (`open` on macOS, `xdg-open` on Linux with a display, `wslview` on WSL—not a headless automation browser) and also print the link in chat.

All 23step install guides: https://23step.com/getting-started.md
