Back to the overview
Agent tooling · Open source

ToolBelt

One menu-bar icon for my small Mac tools, each a separate plugin.

ToolBelt's menu-bar popover listing its plugins, with the Processes quick view showing running dev servers and coding agentsToolBelt's menu-bar popover listing its plugins, with the Processes quick view showing running dev servers and coding agents

It started with a smaller tool. On a normal day I have a lot running at once: dev servers, coding agents in several terminals, a local model. I wrote running, a terminal tool that shows what is running across all my terminals and remembers how to start things again, and then a menu-bar version of it for the desktop. When I asked for that app, I already knew other utilities would follow, starting with one that keeps the software on my Mac up to date.

So I stepped back and asked a broader question: should all of this become one big app, or could each tool live in its own repository, ship on its own schedule, and still feel like part of one product? I wanted a single "holder" app with a single icon in the menu bar. That became ToolBelt.

Each plugin is a small program that runs on its own and only describes its screens. ToolBelt draws them with one shared component library, in a full window and in a compact quick view under the menu-bar icon. Plugins install and update from public GitHub releases, and none of their code runs until I have reviewed the release and said yes.

Platform
macOS on Apple silicon, living in the menu bar
Stack
TypeScript, Bun, Electrobun, React, shadcn/ui
Shape
A host app, a public plugin SDK and independently released plugins
Plugins so far
Processes, Upkeep and an SDK Explorer
Built with
Coding agents, with me setting direction, design and review

One icon, many small tools

Click the icon (or press a global shortcut) and a popover lists the installed tools. Hover or arrow onto one and its quick view slides out beside the list: the servers and agents that are running, say, without opening anything. Press Enter on an item and the main window opens on that tool with the same item selected.

The main window has a sidebar of tools, and each tool gets tabs, search, filters, tables with nested groups, an inspector, dialogs and keyboard shortcuts throughout. Themes, zoom and motion are the host's job, so every plugin gets them for free. Every theme is checked against accessible contrast in the test suite, and motion switches off when macOS is set to reduce it.

  • Processes: the running tool, rebuilt as a plugin. Terminal jobs, dev servers and coding agents grouped by terminal and folder, with their state, ports and output, and commands you can keep and start again later.
  • Upkeep: keeps chosen apps, runtimes, packages and git clones up to date. It watches nothing until you opt in, shows commands and release notes before any update, and never runs anything that needs a password or quits an app without you there.
  • SDK Explorer: a removable plugin that shows every public building block, for anyone writing a plugin.
The ToolBelt window with the Processes plugin open, listing dev servers and coding agents grouped by terminal app and project folder, with an inspector on the rightThe ToolBelt window with the Processes plugin open, listing dev servers and coding agents grouped by terminal app and project folder, with an inspector on the right
The main window. Processes groups what is running by terminal and folder; the inspector shows the selected coding agent's details and actions. (Example data.)

Plugins describe, ToolBelt draws

The central design decision is that plugins never put their own code into the app's window. Each enabled plugin runs as a separate Bun process and sends ToolBelt a description of its screen as structured data over a simple line-by-line protocol. ToolBelt validates every message and renders it with React and shadcn/ui.

This keeps the app consistent and keeps failures contained. A plugin that crashes is restarted with back-off and eventually marked as failed, while settings and the other plugins keep working. Messages, screen trees and archives all have hard size and rate limits. Things that must feel instant, such as typing, selection, scrolling and column widths, stay in the renderer; the plugin only hears about events that mean something.

The tests treat plugins as hostile: fixtures that render before they are ready, crash a React cell, send an unterminated frame or flood the host with messages, and each one must be contained without disturbing the rest of the app.

I was explicit about the limits too. Plugins run with my user rights, so separate processes are a reliability boundary, not a security sandbox, and the documentation and the install dialog both say so. Within that boundary, ToolBelt only ever stops process groups it started, and waits for their children, not just the parent. A dev server you launched from your own terminal keeps running even if the plugin that was watching it is disabled or removed.

Nothing runs until I approve it

Installing a plugin means entering a public GitHub repository. ToolBelt finds the release, checks that its descriptor matches the repository, version, source commit, size and SHA-256 checksum, and confirms it is compatible with this host before showing a review. Archives are unpacked defensively: links, path traversal, duplicate entries and special files are rejected, and the unpacked bytes are re-checked before every start.

Updates follow the same path. ToolBelt checks for new releases on a schedule but only notifies; there are no unattended plugin upgrades. An approved upgrade runs as a transaction:

  • The new version is staged and verified while the old one keeps running.
  • The old plugin is asked whether it is safe to stop. Upkeep can say no while it is in the middle of updating software, and ToolBelt waits.
  • Plugin data is snapshotted, and the plugin's own migration runs on a copy.
  • The new version starts in a probe mode against that copy and must report ready without doing any outside work.
  • Only then is it promoted, with every step journaled so an interrupted upgrade is recovered or rolled back on the next start.
  • The recovery is tested the hard way, by killing the process outright at each step of an upgrade and checking that a fresh start puts everything back.
  • Removing a plugin keeps its data unless I separately choose to delete it, and a helper the plugin installed for the terminal pins its version until it exits.
ToolBelt's review dialog for installing the Upkeep plugin, showing publisher, version, compatibility, SHA-256 checksum, a privilege warning and release notesToolBelt's review dialog for installing the Upkeep plugin, showing publisher, version, compatibility, SHA-256 checksum, a privilege warning and release notes
Installing a plugin. The review shows the publisher, version, compatibility and checksum, says plainly what the plugin will be able to do, and waits for approval.

An SDK, a tester and a release pipeline

Plugins are built against a versioned public SDK with a fake host for tests, so a plugin repository never needs the ToolBelt source. A standalone Plugin Tester runs a built archive with the production renderer and native menu-bar behaviour, and the SDK Explorer doubles as a living conformance check for every public feature.

The app, the SDK and each plugin release independently. A release command opens a version pull request; merging it lets CI build a frozen candidate, run native checks, and publish only after verifying the uploaded bytes. Published assets are immutable, so a fix always means a new version. The app updates itself the same way, after checking that installed plugins will still be compatible. When GitHub rate-limits a check, ToolBelt reads the reset time from the response, pauses every request until then, says when it will try again, and still offers a manual route to the release page.

How I built it

I built ToolBelt with coding agents, working as the product owner, designer and reviewer. Before committing to Electrobun, a young framework with a small team behind it, I had the first change be a spike to prove the risky parts: the menu-bar popover, plugins as child processes, shadcn inside the system web view, and a release build. It also surfaced a trap worth knowing: the framework's global shortcuts silently require Accessibility permission, so ToolBelt registers its hotkey through macOS's Carbon API instead.

After that, the work ran as a normal team would run it: feature branches and pull requests, CI on every change, a changelog, and agent instructions that set the rules, such as never touching my real processes, terminals or dotfiles while testing, and always using isolated profiles. My part was the product judgement: what a tool should feel like, which keys it answers to, how it moves, and what it must never do without asking.