Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/hop # hop Hop: a small native macOS launcher. Clipboard history, find, on-device dictation and your coding agent behind one key. Brought by drakestapleton Checked: ran again on 2026-11-12 That was an earlier version: later changes are not checked yet. Read the receipt Get this repository Git over HTTPS `git clone --no-checkout https://interplane.io/projects/hop/repo.git hop && git -C hop checkout --detach 0efecb957849ec5decde270141b7030e0edcf80a` Source archive of `0efecb957849ec5decde270141b7030e0edcf80a` Download ZIP · tar.gz Sign in to star 1 stars 1 watching About Files History Releases Proposed changes Issues For developers README.md # Hop Hop is a small native macOS launcher. One shortcut opens one box. A Linux desktop edition for Spark finds and opens applications and indexed files, and supports Ask with a configured model. Flow and the parking lot described here are currently Mac features. The box works before you type. When it opens there is no list: a night sky, two orbiting black holes sending out gravitational waves, and at most three cards with Hop's best guesses for the moment, most likely first. The guesses are what you just copied (Enter pastes it; a copied web address is offered to open), the app you were in a moment ago, the apps you usually open from the app you are in or at this time of day, and the apps that are open. Enter does the highlighted card; Up and Down choose another. Under the cards is a small button for each screen. Typing brings the list. An app's name (or part of it, its initials, or a slip of the finger) opens or switches to the app. A file or folder name finds it. Words from something you copied find it to paste. A web address is offered to open. A question goes to your agent, and so does text that matches nothing else: the agent is then the first line, and Enter sends it (see "What stays on your Mac"). Asking and getting something done are the same thing in Hop: there is one agent and one conversation, and nothing to choose between. A screen's name ("accounts", "voice") shows that screen, and "settings" opens the settings file. There is nothing to pick first: no tabs, no prefixes, no screen shortcut. What the guesses are made from: the name and id of the app in front when Hop opens, the apps that were in front lately (kept in memory only), what you copied, and Hop's own record of what you opened through it (see "What Hop keeps"). Hop does not read window titles or screen contents, and none of this needs a permission. Behind the box are five single screens, for when you want only one thing. Type a screen's name, use the grid button under the box, or press Tab: Screen What it does Clipboard History of what you copied. Enter pastes the selected item. Encrypted on disk. Find Files, folders and apps on this Mac by name. Hop keeps its own index; Spotlight is not needed. Agent Keep ideas coming: Enter parks them locally, even while the agent works. Shift-Enter sends a request when the agent is idle, and Sort ideas assesses the parking lot. When you send a request, Hop picks in the background who takes it: your own model on this Mac or your network, a model you added, or a coding tool installed on this Mac. A small line in the conversation says who was chosen, and the line under each answer says who answered (for an answer from one model server also where it ran: on this Mac, on your network or online). There is no model or tool to pick, and no separate screen for questions. When an answer is not good enough, Stronger, above the conversation, asks the same thing again of a stronger mind. Accounts API keys and logins, kept in the macOS Keychain. Voice Hold Fn and talk; the words are typed where your cursor is. Recognised on this Mac. Off until you turn it on. When you fix a word it got wrong, it writes it your way next time. Conversations read from the top. On Agent and the Factory chat the newest message is on top and each new one pushes the others down, so the latest answer is where you are already looking and scrolling down digs into the past. Older messages dim as they sink; the one under the pointer is at full strength. While you are down among older messages nothing is put in above them: messages that arrive wait behind a button at the top ("2 new") until you press it or scroll back up, and sending a message yourself takes you back to the top. A long answer you are still reading keeps growing below what you have read. The look. Hop's window is dark whatever the Mac's appearance: the desktop shows through, blurred, behind a slowly drifting field of stars. The stars, orbiting black holes and outward-moving waves animate only while the window is on screen. The scene has no brightness pulse or busy-speed change; the progress indicator and menu-bar status show ongoing work. They stand still when macOS is set to Reduce Motion, and with Reduce Transparency the background is solid. It is plain Swift (SwiftUI and AppKit), built with one script. No Electron, no web view, no outside libraries. Free and open source (Apache-2.0). The only official sources are the site, https://hopbot.org , and the project page with the releases, https://interplane.io/drakestapleton/hop . Interplane is the canonical source for the code and release records. A copy from anywhere else is not from the author. ## What it needs - macOS 26 or later on an Apple silicon Mac. Older systems and Intel Macs are not supported. - To build from source: Apple's Command Line Tools (`xcode-select --install`). Xcode is not needed. - For the agent: a model server of your own in the settings, or at least one of the tools named below, installed and signed in by you. Everything else works without them. ## What stays on your Mac Everything, unless you use one of the parts listed here. Hop has no account, no telemetry, no crash reporting and no update check. Part What it contacts The box, Clipboard, Find, Accounts Nothing by themselves. The box and Find also ask other machines and Cortex if you set those up (last row): what you type in the box is searched there the same way a Find search is. Text you send from the box to your agent with Enter (a question, or text that matched nothing else, when the agent is the highlighted line) goes where the agent sends it (the rows below). A saved account is sent to a model's server if you name it as that model's `keychainKey`. Voice Off on a fresh install; nothing is fetched or loaded. When you turn it on, macOS downloads Apple's speech model once, from Apple. After that, your voice is turned into text on this Mac and the audio is not sent anywhere. The text goes where you point it: typed at your cursor, or, when you dictate into the Agent screen, saved in the local parking lot. Sending a request or sorting ideas uses your configured agent. (`--selftest` and `hop hear` also load that model.) To learn from your corrections, Hop reads the text field it typed into twice: right after the paste, and again about 45 seconds later or when you dictate again; the field's text stays in Hop's memory and only the corrected word pair is saved, in `dictation.json`. Password fields are never read. A message the Claude CLI answers Hop runs `claude`; that tool sends your message to Anthropic, an AI provider, with your own login. A message a model you added answers The server address you put in the config. Every model server Hop may pick (all in the list but those marked `"rewrite": false`, your own ones when `preferOwnModel` is false, and one that failed in the last ten minutes) is also asked for its model list (`/models`) before each message, to see whether it is there; the message itself goes only to the mind Hop picks (see "Who answers"). A message a coding tool takes Hop runs a coding tool installed on this Mac (`claude`, `codex`, `grok`, `gemini`, `agy`, `muse`, `opencode`, `cursor-agent`, `hermes`, or one you added); that tool sends your message, and whatever files it reads, to its own AI provider. Hop asks once before the first time a tool that can change files runs. Sorting a message, and fusing Before a message is answered, a mind that only answers sorts it (is it a question or work, how hard, how much is at stake): your own model when it is there (whatever its tier), else the cheapest other one, which is a model server you added (also one reached online) or Claude's small model through the Claude CLI. That mind gets the message text and the last four messages of the conversation, each cut to 600 characters. When your own model is not there, open-ended work such as a design goes to up to three minds at once, from different makers where there are that many, and so does "Stronger" pressed on an answer from the strongest mind; their answers go to the one that fuses them. Fn + Control, Opt-1 (rewrite the selected text) The selected text, and with Fn + Control your spoken instruction, go to an OpenAI-compatible model in your config (the picked one first). With none configured, nothing is sent and nothing changes. With nothing selected, Fn + Control parks the spoken instruction together with any typed draft when Hop is in front on Agent. From another app it sends the instruction when idle, after saving any existing draft; while busy or unable to save, both inputs stay unsent in the box. Optional, off until you configure them Other machines and forwarded ports (`ssh`, `scp` to hosts you name), the Factory screen (the address you set in `factoryURL`; its Swarm section also reads the end of one board file on `factoryHost` over `ssh`, and swarm folders on this Mac), Cortex (the server you set). What Hop keeps, and where. - In Hop's memory, gone when Hop quits: the conversation with your agent, up to 300 cached answers, the Voice screen's list of your last 100 dictations, and the Cortex access token. Copies of some of this are kept elsewhere, as the next lines say: each dictation is also saved as a clipboard item, and the Claude CLI keeps its own record of conversations. Hop's own network calls keep no cache, cookies or credentials on disk. - In `~/Library/Application Support/Hop/`: `config.json`, `dictation.json`, `clipboard.bin` and `clip-images/` (AES-GCM, key in the Keychain; dictations are added to this history too), `file-index.bin` (file paths, not encrypted, readable only by you), `recents.json`, `habits.json` (which app you opened through Hop, from which app, the hour and the date and time: app paths and ids only, the newest 400), `savings.json` (token counts), `hop.log` (events, permission states, word counts and settings problems; not the text you copy, type, dictate or ask), and `cortex-outbox.jsonl` (agent requests and results waiting to be sent to Cortex). That file is written to, and sent from, only while Cortex learning is on. Turning learning off stops the sending and leaves whatever is already queued in the file until you delete it or turn learning back on. - In the Keychain: your saved accounts and the clipboard key. - In `~/Library/Caches/Hop/remote/`: files you opened from another machine, only if you set up `machines`. On that machine, its file list in `~/.cache/hop/`. - In `~/Library/Preferences/com.aienos.hop.plist`: the window position. - Not Hop's, but caused by it: the tools Hop runs keep their own records. The Claude CLI saves each conversation it takes part in in its own session files under `~/.claude/` (Hop relies on that to continue a conversation), and other coding tools and the AI providers behind them keep whatever they keep. Hop cannot see or delete those. Flow and the parking lot. In Agent, keep typing or dictating ideas. Enter parks each one locally while the agent keeps working; Shift Enter explicitly sends a message when the agent is idle. Sort ideas assesses feasibility and importance in one action, leaving any draft intact. The original notes stay saved, and the assessment appears in the conversation. Open Parking lot to read the newest ideas first. A save failure leaves the idea in the box. A spoken command in Agent keeps any typed draft and parks both together. A spoken command from another app saves an existing typed draft locally before sending only the command. While the agent is busy, both inputs stay in the box unsent; if saving fails, both also stay there for retry. Advanced options live in Settings. `reviewParkedIdeasBeforeSorting` defaults to `false`; set it to `true` to inspect the full generated request before sending. Capture calls no model. Sorting uses your configured agent, which may use an online provider; with learning on, requests and results may also be stored in Cortex. Originals are saved in `parking-lot/ideas.json` under Hop's settings folder, in a private directory (not encrypted). A corrupt notebook is left untouched and capture stays blocked until it is restored; no automatic reset is performed. ## Permissions it asks for Permission Why Without it Accessibility To paste into the app you were in, to see the Fn key, to read the selected text for a rewrite, and to read back the field a dictation went into so it can learn your corrections. Enter still copies; you paste yourself. Dictation by Fn does not work. Microphone Dictation. No dictation. Speech Recognition macOS may ask before on-device recognition. No dictation. Files and Folders Find walks your home folder, so macOS may ask about Desktop, Documents and Downloads. Those folders are missing from Find. Keychain The clipboard key and your saved accounts live there. Clipboard history stays paused. Passwords copied from a password manager are left out when the manager marks them as concealed or transient (most do). Other text and images you copy may be saved, so do not rely on Hop to exclude passwords. Text over 512,000 bytes and PNG images over 20,000,000 bytes are skipped. A password copied from a plain text file or a web page can end up in the history; delete it there, or use "Clear clipboard history" in the menu. ## Install from source ``` git clone https://interplane.io/drakestapleton/hop.git hop cd hop ./build.sh # builds build/Hop.app ./build.sh install # copies it to ~/Applications and opens it (quit a running Hop first) ``` `./build.sh install` keeps the previous app under `~/Applications/.Hop-backups/`. The installation step replaces the app. When Hop opens, it can update older settings as described below. A build signed ad-hoc (the default for a stranger's Mac) gets a new identity every time, so macOS asks for the permissions above again after each update. To avoid that, run `tools/signing-setup.sh` once: it makes a signing identity that exists only on your Mac, and `build.sh` uses it from then on. To build and install one exact commit in a single step: ``` ./install.sh --from-source https://interplane.io/drakestapleton/hop.git ``` ## Install a release and verify it Releases are on https://interplane.io/drakestapleton/hop/releases . Each one offers `Hop-.zip`, `SHA256SUMS`, `RELEASE.json` (version, the source commit it was built from, sha256 of the zip and of the program inside it, compiler, SDK and macOS versions) and `install.sh`. ``` V= # the newest one is at the top of the releases page BASE=https://interplane.io/drakestapleton/hop/releases/download/v$V curl -fsSLO $BASE/install.sh && curl -fsSLO $BASE/RELEASE.json HOP_DOWNLOAD_BASE=$BASE sh install.sh --release RELEASE.json # or, with a sha256 you got from somewhere you trust: HOP_DOWNLOAD_BASE=$BASE sh install.sh $V ``` `install.sh` downloads the zip, compares its sha256 with the expected one, refuses to install on any mismatch, checks the app's signature, puts it in `~/Applications/Hop.app` and opens it. A checksum served next to the zip only proves the download was not damaged. To know the zip really is the published source, rebuild it: ``` git clone https://interplane.io/drakestapleton/hop.git hop && cd hop git checkout tools/release.sh shasum -a 256 dist/Hop-.zip # must equal zip_sha256 in RELEASE.json ``` With the compiler and SDK listed in `RELEASE.json` this gives the same zip and the same program, byte for byte. `tools/release.sh --same-as ` does the comparison for you and fails if the build did not reproduce. The release commit itself only adds the built files under `release-assets/` on top of the source commit. Release builds are signed ad-hoc and are not notarised by Apple. If you download the zip with a browser instead of `install.sh`, macOS will block the first launch until you allow it under System Settings, Privacy & Security. ## Keys Keys What happens Cmd-Space Open or close Hop. It opens on the one box, with its guesses for the moment. Up / Down, Enter Move through the list, or through the cards when nothing is typed; Enter does the highlighted one (open, switch to, paste, send to your agent). Cmd-Enter On a file or an app: show it in Finder. On a copied web address: open it instead of pasting it. Tab / Shift-Tab Next / previous single screen. Left / Right do the same while the box is empty. Never needed: the box reaches everything. Cmd-1 to Cmd-5 Still jump to Clipboard, Find, Agent, Accounts, Voice, for anyone used to them (one more, after Agent, when a factory address is set). Never needed. Shift-Enter Send what you typed to the agent, from any screen, whatever else matches. In the box, Enter on the agent line does it too. Cmd-N New conversation. Esc Close Hop. Hold Fn Dictate; let go to type it. Fn then Space, or Fn twice Hands-free dictation. Fn again to finish. Fn + Control A spoken instruction: rewrites the selected text, or with nothing selected parks it on the Agent screen and sends it from other screens. Ctrl-Cmd-V / Ctrl-Cmd-C Paste / copy your last dictation. Opt-1 Polish the selected text. Cmd-Space is Spotlight's shortcut on a new Mac. Either turn that off (System Settings, Keyboard, Keyboard Shortcuts, Spotlight) or set another `hotkey` in the config, for example `"opt+space"`. A shortcut must include Command, Control or Option (Shift alone does not count) or be a function key F1 to F20; any other value is refused with a message in Hop's window and Hop uses Cmd-Space instead, so a typo cannot take over a key you type with. The menu bar icon always opens Hop. In the box there is one agent line for a question and a request alike. It is the first line when the text is a question or matches nothing else, and Enter then sends it; below other lines you reach it with Down, or send with Shift-Enter. As the first line it is sent once this Mac has finished searching its files for the text (a moment), so a file's name typed quickly is not taken for a message; an Enter pressed in that moment is kept and carried out when the search is done, unless a file turned up on top, you typed on, or you left the box. Because the agent can do things as well as answer, Hop asks once before the first time a tool that can change files on this Mac runs. On Clipboard, Find and Accounts plain Enter never sends to the agent by itself: a search for something that is not there is not a request. If you want that, set `enterSendsToAgent` to `true`; then plain Enter on those screens also sends text of three or more words that matches nothing, which includes a multiword search for a file that does not exist. On the Agent screen Enter parks an idea locally; Shift-Enter explicitly sends when the agent is idle. You can close Hop while the agent works; the menu bar icon shows a wand while it runs and a tick when it is done. ## Configure the optional parts Menu bar icon, then "Settings (edit config file)", opens `~/Library/Application Support/Hop/config.json`. Quit and reopen Hop after saving. If the file has a mistake in it (a missing comma or quote is enough), Hop does not touch it: it keeps a copy next to it as `config.json.bad-