Philosophy

Back to basics.

A launcher should be the doorway to your desktop, not a replacement for it.

Dupin is what Alfred was meant to be, as its author sees it: a launcher built for searching, simple and extensible, with extensions that agents can write.

It owes its shape to LaunchBar, Quicksilver, Alfred, Spotlight and Raycast, and to everyone who made them (the name tells their story). Its model of sources, filters and kinds, which you compose yourself, comes from Shougo Matsushita's unite.vim, denite.nvim and ddu.vim. Thank you.

  • A doorway, not a replacement The launcher gets you to your desktop; the desktop is where work happens.
  • The panel is transient It appears, you act, it vanishes. Windows keep what you want to keep.
  • Same keys everywhere What you learn once works in every search and every extension.
  • Grows by extensions What falls outside a launcher’s job can be an extension, not part of the core.

Back to basics

温故知新: revisit the old to understand the new. Press the hotkey, type a few letters and press ↩; a short keyword and Space reaches anything else, and ? lists every one. That is the whole interface, and it stays that way.

cal and Space lists upcoming events; ⌫ on the empty query backs out, and ? lists every keyword.
Alfred's muscle memory, and how Dupin learns from your picks

Dupin keeps Alfred's muscle memory as its default: Space on an empty query enters file search, and in and Space searches inside files (Files, Using Dupin). You switch kinds of search with your hands, without learning or assigning extra shortcuts, and it is one of the parts of Alfred the author values most.

It learns from what you pick, as LaunchBar and Alfred do. Dupin remembers which result you opened for which query, so the same query puts it first among matches as good as it, and a shorter query that begins a longer one you used ranks it higher too. A pick counts less as it ages, so an old habit gives way to a new one. Beside that it keeps frecency, how often you opened something weighted towards recently, with the age buckets Firefox's address bar uses. Both live in history.rs, and neither ever lifts a scattered match over a query typed from the start of a word. So the same few letters reach what you want each time, and you get faster the more you use it (Apps documents the ranking).

A doorway, not a replacement

A launcher at its best disappears: you call it, type a few letters, press ↩, and it's gone. Nothing goes into the core that makes you spend time operating the launcher itself.

  1. Hotkey The panel appears
  2. A few letters The same few reach the same place
  3. ↩ It opens
  4. Gone Back to what you were doing
The loop Dupin protects.
Typing ma puts Maps first, ready for ↩.

The panel is transient

The panel starts the work and a window keeps it: a snapshot opens on its own page in Settings to read later, and a script's output in the Script Output window.

The panel Start it: appears, you act, vanishes. One thing at a time.
Snapshots in Settings ⇧⌘S keeps a result to read later.
Script Output window A script's output streams here, apart from the panel.
The launcher gets you started, then hands off. Windows hold your work in place.
Settings → Snapshots, with saved snapshots listed on the left and the selected one's saved dictionary entry on the right.
Two kinds of speed

One is how fast you start something, which is the launcher's job. The other is how efficiently you finish the whole task: interrupting it, coming back to it, working on several things at once. That is what desktop windows are for. They hold your work in place, show several things at once, let you pause and return, and keep contexts apart. A panel that appears and vanishes can't do that, so Dupin doesn't try: it gets you started, then hands off. The panel suits quick, one-shot results: look something up, act, done.

Same keys everywhere

↩ opens, ⌘↩ runs the alternate action, → or ⌘K shows the actions and ⌫ on an empty query backs out, in every search and every extension (Keys).

⌘K shows Maps' actions; after ⎋, 12*3 is worked out by the calculator, and the same ⌘K shows its actions.
Objects, actions and kinds

Dupin draws every extension's views itself, so an extension can't invent its own controls, and what you learned once works in every extension.

Quicksilver's object and action survive as Dupin's kinds: every row is text, a URL, a file or an app, and its kind gives it actions. ⌘K opens a file's actions, such as Open with…, Move to… and Send to…, and [advanced] adds your own actions to every row of a kind, run by a script, a URL or an extension. [aliases] adds your own shorthands for a command, an app, a web search or a file.

What Dupin won't build into the core

These are Dupin's choices about where a launcher's job ends. Each of them could be an extension, which is what the extension platform is for.

  • Note taking.
  • AI chat inside the panel.
  • Team and collaboration features.
  • Dashboards and other app-like views that hold state and need the panel to stay open.

Fast, by rule

Dupin competes on the distance from intent to result rather than on breadth of features, and CI measures it: how many keystrokes until what you want is first (Search quality), and how long each keystroke takes to show its results (Keypress latency).

< 3 ms

From a keystroke to the first frame that shows its results, in the main search, at the 95th percentile.

Measured by CI on every change to the app.
Typing c, a and l one at a time; the results narrow with each keystroke until Calendar is first.
How it is measured

Dupin stays running in the background with no Dock icon, so the panel is there the moment you press the hotkey.

CI measures how long a keystroke takes to reach the first frame that shows its results, on every change to the app. In recent runs the main search is under 3 ms at the 95th percentile, and every search measured is under 3.5 ms. A pull request's figures are compared with main's and any regression is reported on it; a shared runner's noise is larger than many real changes, so that comparison doesn't block a merge. What does is a bundled extension falling behind the native feature it replaced, or, for one with no native counterpart, going over its budget.

Extensions agents can write

An extension is a TypeScript or JavaScript package: text that you, or an agent, can write, test against fixtures and render from the command line. This clip is dupin ext render --record replaying the Notes example's fixture (Testing and rendering).

The Notes example: note and Space lists New note; ⌘K and Return open its form, which is filled in with a title, a note, Pinned and a label, and ⌘Return saves it, leaving Groceries in the list.
Why text first

In the author's experience, Alfred's workflows are hard to write by hand: they are made in the Workflow Editor, where you place objects on a canvas and connect them. They are stored as plist files and can be generated by a program, but that isn't how they are meant to be made, and the result is hard to read or review as text (Workflow Configuration). That is why Dupin's extensions are text first.

An extension's manifest is in its package.json, and dupin ext test and dupin ext render check it against fixtures. The calculator, calendar, clipboard history, dictionary and the other bundled extensions are built the same way, and you can eject any of them to change it.

Sandboxed, and no store

Dupin draws an extension's views; the extension runs in QuickJS-ng in a sandboxed helper process and reaches nothing on its own. Each declares the capabilities it wants, such as one website or a folder you pick, and you allow each one and can revoke it (Asking for more).

There is no store. Packages are installed from Git and pinned by commit (Installing and updating). To find what others have written, dupin ext search lists GitHub repositories with the dupin-extension topic, marked unreviewed, because the capability broker, not a review, protects you (Finding packages).

In the age of AI agents

AI moves from use time to build time. An agent builds the tool once; from then on you use it with one keyword, at the same speed and with the same result every time, with no tokens spent and no model to wait for.

The Coding Agents extension listing the agents at work, each with its project, PID, CPU and memory.

Coding Agents, rendered here from its test fixture, is one such tool: plain TypeScript that lists the agents at work, with no model behind it.

A launcher for the age of AI isn't a launcher with AI built in; it's a launcher for people that AI can extend.

Two paths: one for people, one for agents

An agent writes an extension in plain TypeScript and checks it with dupin ext test and dupin ext render, or through the MCP ext_* tools with dupin mcp --workspace (Testing and rendering, MCP). The result works offline unless the extension itself needs the network. That keeps AI's flexibility for making and a fixed tool's speed and certainty for using. Extensions run sandboxed with only the permissions you grant, so code an agent wrote is safe to run every day (Extension permissions).

When you know what you want, a few letters beat describing it to a model and waiting; agents shine when the goal is vague or the steps are many. So Dupin keeps the direct path as fast as it can be for people and gives agents their own, dupin … --json (CLI) and MCP, instead of squeezing both into one interface. The bridge goes both ways, and the final choice stays yours: picking from ranked candidates in a moment is the fastest way to decide, so with MCP's pick an agent shows its choices in the panel and you answer with a few letters and ↩.

Where your data lives

There is no account. What Dupin keeps stays on your Mac, encrypted, and if you turn on sync it travels between your Macs through a folder you already sync.

Dupin is for macOS on Apple silicon.

View this page on GitHub