OpenClicky is a native macOS menu-bar companion by Jason Kneen. It provides push-to-talk voice help, screen-aware responses, a cursor overlay for pointing at UI elements, and an Agent Mode dashboard for coding, research, writing, and automation tasks.
OpenClicky uses local configuration only. There is no Google login requirement and no hosted key-sync flow.
- macOS 14.2 or newer
- Xcode with the macOS SDK
- A signing team configured in Xcode for local runs
- Local API keys supplied outside the repository
leanring-buddy.xcodeprojandleanring-buddy/contain the macOS app target.leanring-buddyTests/contains focused app tests.leanring-buddyUITests/contains UI test scaffolding.AppResources/OpenClicky/contains bundled model instructions, skills, wiki seed, Codex runtime, and completion audio.appcast.xml,clicky-demo.gif, anddmg-background.pngsupport distribution and release packaging.docs/APP_UPDATES.mddocuments the Sparkle update feed and direct-distribution release flow.
The legacy leanring-buddy folder and scheme names are kept for project continuity. The product, bundle display name, and app identity are OpenClicky.
Do not commit API keys to this repository.
OpenClicky can read local secrets from:
- the in-app Settings fields
- launch environment variables
- a secrets file at
~/.config/openclicky/secrets.env - a custom file path set with
OPENCLICKY_SECRETS_FILE
Supported values:
ANTHROPIC_API_KEY=your_anthropic_key
ELEVENLABS_API_KEY=your_elevenlabs_key
ELEVENLABS_VOICE_ID=your_elevenlabs_voice_id
OPENAI_API_KEY=your_openai_or_codex_keyGoogle Workspace access is intentionally handled through local tooling, not OpenClicky-hosted Google login or key sync. See Google Workspace via gogcli.
Recommended local setup:
mkdir -p ~/.config/openclicky
chmod 700 ~/.config/openclicky
$EDITOR ~/.config/openclicky/secrets.env
chmod 600 ~/.config/openclicky/secrets.envThe repo .gitignore excludes .env and .env.local, but the app no longer reads repo-local .env files. Keep secrets outside the project directory.
Open the project in Xcode:
open leanring-buddy.xcodeprojIn Xcode:
- Select the
leanring-buddyscheme. - Select the OpenClicky app target.
- Set your signing team.
- Run the app with
Cmd+R. - Grant Accessibility, Microphone, and Screen Recording permissions when macOS asks.
Do not use terminal xcodebuild for permission testing. macOS TCC permissions are tied to the signed app identity and install path, and throwaway command-line builds can cause permission loops.
For a lightweight syntax check that does not disturb macOS permissions, run swiftc -parse over the changed source files. Avoid launching unsigned or temporary build products for permission testing.
The external-control bridge can be checked with:
scripts/test-external-control-bridge.shThe script performs Swift parse/typecheck checks, verifies the local bridge, exercises MCP descriptors, screenshot capture, captions, secondary cursors, SSE events, and confirms that primary cursor guidance uses OpenClicky's native choreography without warping the real system pointer.
OpenClicky exposes a local-only control bridge for agents and other trusted local apps:
http://127.0.0.1:32123
The bridge is intentionally non-invasive. It drives OpenClicky's overlay, screenshots, and TTS, but does not start dictation, submit prompts, create new agent sessions, or mutate the normal OpenClicky conversation state.
Useful endpoints:
GET /healthchecks bridge status.GET /mcp/toolslists MCP-style tool descriptors.POST /cursorpoints with the primary OpenClicky cursor, or creates one secondary marker withmode: "secondary".POST /cursorsshows multiple temporary secondary markers at once.POST /captionshows a short caption near a coordinate or the current cursor.POST /screenshotcaptures local screenshots with display-frame metadata for locating UI.POST /speakspeaks through OpenClicky's TTS without entering voice mode.POST /clearclears bridge-created overlay elements.GET /eventsstreams server-sent bridge events.
Primary cursor behavior matters: default /cursor uses OpenClicky's existing smooth pointing choreography, the same behavior used by voice prompts like "show me the Apple menu". The OpenClicky triangle zips to the target, shows the caption, and returns to the real pointer. It should not warp the macOS pointer and should not draw a duplicate primary cursor.
Secondary cursors are explicit temporary markers. Use them for multi-point explanations, alternatives, or screen-tour overlays. They automatically disappear after durationMs or can be cleared with /clear.
Example primary pointer cue:
curl -s -X POST http://127.0.0.1:32123/cursor \
-H 'Content-Type: application/json' \
-d '{"x":640,"y":520,"caption":"Click this menu","durationMs":4500}'Example simultaneous multi-marker cue:
curl -s -X POST http://127.0.0.1:32123/cursors \
-H 'Content-Type: application/json' \
-d '{"durationMs":4500,"cursors":[{"x":640,"y":520,"caption":"Editor","accentHex":"#60A5FA"},{"x":900,"y":520,"caption":"Logs","accentHex":"#F59E0B"}]}'Example screenshot-to-pointer workflow:
curl -s -X POST http://127.0.0.1:32123/screenshot \
-H 'Content-Type: application/json' \
-d '{"focused":false}'
curl -s -X POST http://127.0.0.1:32123/cursor \
-H 'Content-Type: application/json' \
-d '{"x":1180,"y":760,"caption":"Use this button"}'Bundled agent skills for this bridge live in AppResources/OpenClicky/OpenClickyBundledSkills/:
google-workspace-gogcli: local Google Workspace access throughgogclifor Gmail, Calendar, Drive, Docs, Sheets, Slides, Chat, Contacts, Tasks, Admin, Groups, and related Google services.openclicky-screen-control: quick point, caption, screenshot, speak, and clear commands.openclicky-screen-tour: recordable visual tours with multiple simultaneous markers, area-focused overlays, speech, and primary cursor choreography.
OpenClicky can connect agents to Google Workspace through the local gogcli command, installed as gog. This keeps Google authentication local to the user's machine and avoids adding hosted OAuth, Google login, or cloud key sync to OpenClicky.
If gogcli uses the encrypted file keyring, OpenClicky agents need the same keyring password non-interactively. Put it in ~/.config/openclicky/secrets.env as GOG_KEYRING_PASSWORD=..., or migrate gogcli to the macOS Keychain backend. If Google's OAuth screen says "Clicky", that branding comes from the local OAuth client stored in ~/Library/Application Support/gogcli/credentials.json; replace it with an OpenClicky-owned Desktop OAuth client to change the consent-screen app name.
Install on macOS:
brew install gogcliCheck status from OpenClicky Settings → Google, or from the terminal:
scripts/check-gogcli-workspace.shOr manually:
gog --version
gog auth status --json
gog auth listInitial setup requires a Google Cloud Desktop OAuth client JSON owned by the user or their Workspace organization. Store it in gogcli, not in this repository:
gog auth credentials ~/Downloads/client_secret_....jsonAuthorize with least-privilege scopes for the services needed:
# Read-only Gmail + Drive example
gog auth add you@example.com --services gmail,drive --gmail-scope readonly --drive-scope readonly
# Calendar + Tasks read-only example
gog auth add you@example.com --services calendar,tasks --readonlyFor Workspace-specific clients/domains:
gog --client work auth credentials ~/Downloads/work-client.json --domain example.com
gog auth alias set work you@example.comCommon read commands:
gog gmail search 'newer_than:7d' --account work --json
gog calendar events --account work --json
gog drive search "name contains 'proposal'" --account work --json
gog contacts search 'Jane Doe' --account work --jsonWrite actions such as sending email, posting Chat messages, modifying Drive files, changing calendar events, contacts, groups, or admin state should only run after explicit user intent. The bundled google-workspace-gogcli skill documents safe usage patterns for agents.
For Swift hosts that want an in-window OpenClicky instance that is separate from the OS-level menu-bar companion, use OpenClickySDKSession from leanring-buddy/OpenClickySDK.swift.
Example:
import SwiftUI
let sdk = OpenClickySDKSession(mode: .embeddedWindow)
// In app startup
sdk.start()
// In SwiftUI
var body: some View {
sdk.makePanelView(actions: .init(
onPanelDismiss: { /* dismiss host panel */ },
onQuit: { /* close host window if needed */ }
))
}
// Send input
sdk.submitTextPrompt("Summarize this page")The host can either use SDK actions for Settings/HUD/Memory, or keep them no-op and route that experience separately.
See OpenClicky SDK Integration Guide for step-by-step host app integration instructions.
OpenClicky uses Sparkle for direct-distribution OTA updates. Installed builds check the signed appcast.xml feed from this repository's main branch, then download and install signed release DMGs from GitHub Releases. See docs/APP_UPDATES.md for the release checklist and appcast item template.
OpenClicky is maintained by Jason Kneen.
This project builds on the original open-source Clicky work:
- Original project: farzaa/clicky
- Original creator: Farza, GitHub @farzaa, X @FarzaTV
OpenClicky has also incorporated ideas and implementation patterns from these forks:
- @danpeg's danpeg/clicky, reviewed locally as
clicky-teach, for tutor-mode direction and idle observation behavior. - @milind-soni's milind-soni/tiptour-macos, for developer-menu/debug tooling patterns and related teaching-assistant UX ideas.
MIT. Copyright 2026 Jason Kneen. Portions are derived from or informed by the upstream MIT-licensed projects credited above.