Skip to Content
Spiti

Create a plugin with Plugin Studio

Describe a plugin or an integration, let an agent build it as a draft, try every surface, then install it on your Mac.

Plugin Studio builds a plugin or an integration from a description. An agent writes it as a draft in a folder of its own, and you try it before anything is installed. Drafts change only from Spiti.app, on the Mac that runs Spiti.

Describe it

Open Plugins and choose Create plugin, or press Command+K and choose Create plugin.

  • What should it do? Describe it in your own words.
  • Name and Id: the id follows the name and Studio checks it as you type. If another package or draft uses it, choose one of the suggested ids. The id can't change after publishing.
  • Icon: choose one from the picker, or Upload SVG for your own icon drawn in one colour.
  • Kind: a Plugin adds pages, cards and Mac surfaces. An Integration connects an account so plugins and agents can use its tools.
  • Build with: Claude Code and Codex run your own CLI in a terminal in Spiti, with your sign-in and plan. If one isn't installed or signed in, Studio says what to run. The Claude Agent SDK and Codex SDK engines aren't available yet.

Choose Continue.

Shape the plan

Studio proposes where the plugin shows up and what it needs, and you change any of it:

  • Surfaces: a page, cards and their sizes, the command center, the menu bar, the Island, floating windows, notifications, settings and shortcuts. Each says when you'd use it and what it needs.
  • Powers: storing data, reaching websites, using your accounts, running programs and more. Sensitive ones are marked, and people installing the plugin are asked to allow each.
  • Actions: the verbs it offers, such as Log a drink.
  • Destination: for now, Only on this Mac.

For an integration, Shape asks instead how an account signs in: an API token or password, a sign-in with the service, an MCP server, Google, a program you're signed in to, or a database. For a token, choose what it sends, such as a bearer token or an API key header; for a program, its command. Shape says what you'll do to connect, and lists the hosts its tools may reach and the tools it offers.

Choose Build, or Save for later to keep the plan as a draft under Plugins → Drafts.

Watch the build

The draft's page shows the engine's steps on the left: the files it writes, the checks and tests after each turn, and a checkpoint at the end of each turn. With a terminal engine, the agent's terminal is there too.

  • When the agent asks a question, answer it in the card that appears.
  • When checks still fail after three tries, or the engine stops, choose Try again, or Change the brief to adjust the plan first. After Spiti restarts mid-build, choose Resume.
  • Each checkpoint has Restore, which puts the draft back as it was then.

You don't have to watch. While a draft builds, the Island shows it, and clicking it opens the draft. If the build finishes or needs you while you're on another page or in another app, Spiti sends a notification: <name> is ready, with Review, or <name> needs you. Clicking it opens the draft. These come from Spiti itself, so the Inbox lists them under Spiti.

Try it before installing

The preview on the right has a tab for each surface the draft declares.

  • Switch Light and Dark to see both themes.
  • Sample data draws the views with the samples the plugin ships. Live runs the draft's own server with its own data, apart from your installed plugins.
  • In Live, sensitive permissions stay off until you choose Allow for each. The preview's permissions end when you publish or discard the draft.
  • Try on this Mac puts the draft's menu bar item, Island activity, floating window or command center entries on your Mac for real, labelled Preview · <name>. Open that surface's tab once the preview runs and choose Try on this Mac; the tab then shows On this Mac. It runs the draft's own server and data, like Live. It ends when you choose Stop trying, leave the draft, discard it, or Spiti restarts.
  • To change something, type it in Ask for a change and choose Send. Choose Comment on this first to point at the surface, and the card size, you mean. The engine takes it in its next turn.

Test an integration's tools

An integration draft has a Tool tester instead of surface tabs.

  • Choose Connect test account and connect the way the integration does, such as pasting a token. The form says which hosts the draft may reach while you test. The account stays with the draft, apart from your other accounts, and ends when you discard it or Spiti restarts.
  • Each tool has a form made from its input. Fill it in and choose Run. Calls shows what went in and what came back, or the error, newest first.

Review and publish

When the build is ready, choose Review. It shows what the plugin does, where the build differs from your plan, the permissions it asks for, the checks, the files it changed and the version it publishes: 0.1.0 the first time, then a patch or minor update. For an integration, it shows its tools against your plan, how you'll connect, and the hosts and programs it reaches.

Publish and install stays off until every check passes. It opens the same install review as any other plugin or integration. Allow and install installs it as local:<id> and marks the draft Published, with a link to open it. Cancel keeps the draft ready to publish later.

Discard a draft

Open Plugins, choose Drafts, open the draft's menu and choose Discard…. Spiti deletes the draft's folder with its code and checkpoints, the preview's data and the permissions you allowed the preview. A plugin you already published from it stays installed.

From the terminal

spiti studio list lists your drafts with their status and folder, spiti studio open <draft> shows one, and spiti studio discard <draft> --yes deletes one.

On this page