A plugin for Hermes Agent. You describe a product, talk it through with a planner, and a crew of agents builds the site, the app, the game or the film on a canvas where you can watch and steer them.
hermes plugins install Pukujan/swarm-studio --force
hermes plugins enable swarm-studio
(Why --force, and what the plugin does on your computer, are further down.)
Who it's for
- A founder who needs a launch this week. One brief gets you a multi-page site with copy and pictures, a promo film and a share picture, online on your own GitHub, Vercel or Cloudflare account.
- A designer who wants a first pass to react to. A brand sheet with palettes and type to choose from, then a full design you can scribble on, comment on or change by hand, with every version kept.
- A developer who needs the front end and an app shell. Clean HTML and Tailwind, a React + Vite export, and a working app with server routes, forms that save and an admin table.
- A game maker. A plan that follows the genre and size you ask for, painted sprites cut out to transparent PNGs, and a browser game the crew play-tests before you see it.
- A marketer who needs the site, film and posts to match. One brand drives the pages, the promo film and the share pictures, and posts go to Swarm Feed.
- Someone new to all of it. You can just talk. The planner asks what it needs, and nothing builds until you say so.
What it does
| Area | What you get | Status |
|---|---|---|
| Talk before building | Talk the idea through with the planner. It asks only what your prompt left out, and Lock turns the talk into the spec the crew builds from. Nothing builds unasked. | works |
| Brand sheet and packs | The story, palettes, type pairings, voice and pictures side by side before anything is designed. Five ready-made packs to use whole or mix by part. Locking it makes it the build's theme. | works |
| The crew | 8 agents by default (2 to 24) build sections on one canvas at the same time. Each has a cursor, a name and a note about what it is doing. | works |
| Chats | Each talk with the planner is its own chat, and moves into the project when it builds. | works |
| References | A project's own store of pictures, clips and links. Use for… sends one to the crew for a part of the site. | works |
| Scribble | Draw on a page. A vision model reads each mark and the area it covers, and the crew answers with a draft beside the original to accept or dismiss. | works |
| Drag a layer into the chat | Drag a section into the chat and a line joins it to the message. The crew changes just that section. | works |
| Manual edit | Pick any part of a section and change its words, link, picture, style or attributes, or move or remove it. Each change is a version you can undo, and the crew keeps it when it reworks that section. | works |
| Media reader | Pictures you give it are looked at, links are read as pages, and clips and sounds are watched and listened to when you pick a media model. The chat says how each one was read. | works |
| Review | Every page is checked at desktop and phone width, by measuring the page and by a vision model, and the crew fixes what it finds. | works |
| Play and Watch a visitor | Every page wired into a clickable prototype on desktop or phone. Watch a visitor plays 3 or 4 people with different goals using the site. | works |
| Stop | One button stops the crew. What is built is kept, and Resume finishes it. | works |
| Search and share | Every page gets its own search title, description and share picture. Every site gets its own favicon and app icon, robots.txt, sitemap.xml and a 404 page. | works |
| Publish | GitHub Pages (each version of a project gets its own link), Vercel, Cloudflare Pages, or this computer. | works |
| Working app | The design becomes a full-stack app (React, server routes, sign-in, forms, an admin page) and deploys to Vercel. | works |
| Film director | A promo film from the site's own copy and pictures. There are six kinds of film, each with its own acts, and the cuts land on the music. | works |
| Games | Plans that follow the genre, the size and the engine. Browser games in three.js, Phaser or PixiJS, play-tested by the crew. Painted art, cut out cleanly. A Godot 4 project when Godot is installed. | works (Unity and Unreal ports are source only) |
| Swarm Feed | Post a build with its pictures and story; others remix it with credit. | works |
| Swarm Jams | Jam events: a theme, a deadline, entries and votes. | first version |
Every feature, with its canvas button and /swarm command: FEATURES.md.
How it works
flowchart LR
A[Your idea] --> B[Talk with the planner]
B --> C[Lock the spec and the brand]
C --> D[The crew builds on the canvas]
D --> E[Review and fix]
E --> F[Publish]
F --> G[Share on Swarm Feed]
D -. scribble, comment, edit by hand .-> D
- Idea. Type what you want to make: a website, an app, a game or a film.
- Talk. The planner asks what it needs to know and suggests a brand sheet.
- Lock. You pick the look and lock the spec. Nothing is built before this.
- Build. The planner splits the pages into sections, and the crew builds them on one canvas at once. You can scribble, comment, drag a section into the chat or edit by hand while it works.
- Review. Each page is checked at desktop and phone width, and problems are fixed.
- Publish. One click puts it online on your own account.
- Share. Post it to Swarm Feed, where others see it and can remix it.
How Swarm Studio and Swarm Feed fit together
Swarm Studio is the Hermes plugin that makes things: a site, a game, an app or a film, built by a swarm of agents on your machine. Swarm Feed (swarm.design-bakery.com) is where people show what they made: one card per project, with its pictures, story and links out to the live build and its source. The Feed shows builds and links to them; it doesn't host or run them. The plugin only talks to the Feed when you ask it to: when you connect, post, remix or sign in.
flowchart LR
H["Hermes + Swarm Studio<br/>on your machine"]
F["Swarm Feed<br/>profiles, posts, boards"]
S["The live build<br/>and its source"]
H -- "connect: approve at /link" --> F
H -- "post: pictures, story, links" --> F
F -- "remix: brief and zip, credited" --> H
H -- "login: sign this browser in" --> F
F -. "links out" .-> S
/swarm connectlinks this computer to your Swarm Feed account (a code you approve at /link).- Post to Feed (
/swarm post) shares a published build: its pictures, story, page shots and links out to the live site and its files. /swarm remix <id>starts your own take on a Feed build from its brief. Posting the remix names the original./swarm loginsigns your browser in to the Feed as you.- Nothing is sent unless you connect, post, remix or log in. The full list of what is sent is under What it does on your machine.
More coming
Not built yet, unless a line says otherwise. No dates.
- Studio mode: a kit for each kind of thing you make (site, app, game, film, deck).
- Brand as the project's foundation: one brand that every build in a project starts from.
- Decks: slides from the same brand and story.
- Video straight from a brand, without a site first.
- Game starters: ready-made beginnings for common genres.
- One navigation state machine for the whole Studio. The first part is in; the rest is coming.
- App stores and Steam: publishing apps and games beyond the web.
- Shared boards and events: boards where a team pins notes for the crew, and online or in-person events.
The pitch, brand, market numbers and stories live in docs/brand: PITCH.md, BRAND.md, MARKET.md and stories-swarm-studio.md.
Ways to use it
| Where | How |
|---|---|
| Hermes Desktop | Swarm Studio in the sidebar opens the canvas as a page, and a swarm pane can sit beside the chat. A status-bar chip shows how many agents are working. |
| Any Hermes chat | Ask for a site. The agent calls the swarm_design tool and gets back the run summary and the canvas URL. |
| Slash command | /swarm <what the site is for> starts a build without going through the model. |
| Terminal | hermes swarm "a climbing gym in Cornwall" --wait |
| Skill | swarm-studio:swarm-design tells the agent when to use the swarm and how to write a good brief. |
See FEATURES.md for everything it does, with the canvas button and /swarm command for each.
Install
hermes plugins install Pukujan/swarm-studio --force
hermes plugins enable swarm-studio
Why --force: Hermes scans every plugin on install. This repo vendors the dyad app engine, whose dev files
(its CI workflows, test fixtures and docs that list blocked commands such as rm -rf /) match the scan's
patterns, so the verdict is CAUTION and a plain install stops with Decision: BLOCKED … Use --force to override. In a terminal it instead lists the findings and asks
Install anyway? Only continue if you trust the source. [y/N]:, where y does the same as --force.
--force accepts a CAUTION verdict only; Hermes still refuses a DANGEROUS one.
That's it: the swarm uses the models you already set up in Hermes. Check with:
hermes swarm --models
In Hermes Desktop, turn on Swarm Studio under Capabilities → Plugins.
After installing again or updating, restart Hermes. A running Hermes keeps the copy of the plugin it
loaded, and the studio's model calls go through that copy. Run hermes gateway restart, or quit Hermes
Desktop and open it again. Until then the studio says "Swarm Studio was updated. Restart Hermes to finish."
and does not start a build. With no Hermes open at all it says "Hermes isn't connected." instead.
Requires Node.js 24 or newer on PATH (or set SWARM_STUDIO_NODE); it is what the checks run on, and what the app engine (Node 24 or 25), promo films (HyperFrames, Node 22+) and reading a dropped PDF need. Installing the plugin installs no npm packages: the libraries it uses are vendored (web/vendor/, engine/vendor/). Some features install pinned packages from npm the first time you use them: the app engine's packages (about 1.5 GB, once, into the plugin's dyad/ folder), hyperframes and ffmpeg for the first promo film, kokoro-js for the first voiceover, and @napi-rs/image and thumbhash for the first picture it resizes. (tools/dev/package.json holds the development checks, the type check and the dependency rules, and the design-token build; it is not at the plugin's root, so installing the plugin never installs it.) Works on macOS, Linux and native Windows.
Models
The plugin adds two slots to Hermes's model picker (hermes model, or Desktop's model settings), stored as auxiliary.<slot> in your Hermes config:
| Slot | Used for | Until you pick one |
|---|---|---|
Swarm Studio planner (swarm_studio_planner) | the sitemap and page planners, a few calls per build | your main model |
Swarm Studio builders (swarm_studio_builder) | the parallel section agents, most of the calls | your compression model, which is usually a fast, cheap one |
When a build starts, Hermes resolves each slot to an endpoint, key and model and hands them to the swarm process. The slot's provider must speak the OpenAI /chat/completions API, since the builders stream. If it doesn't (Anthropic, Bedrock or Codex clients), hermes swarm --models says so; pick an OpenAI-compatible provider for that slot or set SWARM_STUDIO_API_KEY.
Settings
Optional. Setting SWARM_STUDIO_API_KEY bypasses the Hermes slots and uses that key with SWARM_STUDIO_BASE_URL. The model variables override the model in either case.
| Variable | Default | What it does |
|---|---|---|
SWARM_STUDIO_API_KEY | unset | Use this key instead of the Hermes slots. Read through Hermes's secret store. |
SWARM_STUDIO_BASE_URL | https://api.inferhub.dev/v1 | Any OpenAI-compatible /chat/completions endpoint. |
SWARM_STUDIO_PLANNER_MODEL | the slot's model | Model for the sitemap and page planners. |
SWARM_STUDIO_WORKER_MODEL | the slot's model | Model for the section agents. A fast model matters more than a big one. |
SWARM_STUDIO_AGENTS | 8 | Crew size, 2–24. |
SWARM_STUDIO_PORT | 4319 | Port of the local canvas server. |
How a build runs, in detail
- Sitemap. One streamed call writes the theme (colours, fonts, radius), the shared nav and footer, and the pages with their section lists.
- Page planners. One planner per page runs in parallel and breaks its page into layers. Each layer is queued the moment its JSON is complete, so agents start before planning finishes.
- Agents. A fixed pool of agents takes layers off the queue. Each streams HTML and Tailwind using the theme's CSS variables, plus a one-line note about what it is doing. Links between pages use
data-goto, which becomes a wire on the canvas and a working link in the prototype. - Canvas. Each page is a sandboxed frame. The canvas talks to the frames only by
postMessage, so it works inside Hermes Desktop's opaque-originSandboxedFrame. - Visitors. In Play mode, Watch a visitor asks the planner model for 3–4 people with different goals (one wants to buy or book, one is unsure and ends up calling, one reads about the company). Their scripts can only use links, buttons, inputs and headings that exist on each page, and are checked against them. A cursor then acts each one out on Desktop or Mobile, with a thought bubble that cycles through two or three ways of saying the same thought. Scripts are saved with the run.
- Motion. The prototype plays like a finished site: sections reveal as they scroll in (headings, copy, pictures and cards one after another), the first screen plays on load and buttons lift on hover. The theme's art direction picks the feel (a soft rise, or a quicker spring for bold and playful themes), and it respects reduced-motion settings. ✨ Motion (or M) turns it off. The HTML and React exports ship the same script (
engine/motion.mjs).
Runs are saved under $HERMES_HOME/swarm-studio/runs/<run>/ (plan.json plus each layer's HTML).
What it does on your machine
- A background process. The plugin starts a small Node server (
server/server.mjs) the first time you use it. It listens on127.0.0.1only, and runs detached, so it outlives Hermes, until it has had nothing to do for 20 minutes (no Studio open, no build, film or job; Settings › Background: 10, 20 or 60 minutes, or never). It then exits, and starts again the next time you use it. After an update it replaces itself, passing on only the environment the launcher gave it. An app you open runs on its own127.0.0.1port: its dev server only while the crew builds or you edit it, otherwise its built files (or its built server, for an app with server routes). One nobody has looked at for 2 minutes stops (Settings › Background), at most 2 run at once, and each stops with every process it started. One film renders at a time. It refuses requests whoseHostisn't127.0.0.1orlocalhost. Starting a run and reading the event stream both need a random token that is made per install and stored with mode0600. - Network calls.
- Model calls (your brief, the plan, the sections, page screenshots for the review) go to Hermes, which answers them with the models you picked for the Swarm Studio slots in
hermes model, through its own provider and key. With no Hermes open, a build waits and the canvas says so. Only when you setSWARM_STUDIO_API_KEYdoes the server callSWARM_STUDIO_BASE_URL(InferHub by default) itself, with that key. - The Setup sheet (shown once, then in your menu on Projects) sends the words "Say ok" to your planner and builder models to check they answer. "Let Hermes set this up" opens
hermes modelin a terminal. Its Account row's Google, GitHub and Discord buttons open Swarm Feed's sign-in in your browser; once you sign in and press Connect, this computer posts to the Feed as that account. Skip it and nothing is sent. - The canvas and page frames load Tailwind from
cdn.tailwindcss.comand fonts from Google Fonts. - Generated images go through Hermes's own
image_generatetool, with the image backend you set inhermes tools; the visual review sends page screenshots to your reviewer slot's model through Hermes. - While a picture is being painted its slot shows a stock photo: the picture's prompt words are searched on Openverse (and Pexels, with a key), and photos from the studio's own library are fetched from
files.design-bakery.comby the local server and kept in$HERMES_HOME/swarm-studio/standins/. - Publish to GitHub Pages runs your
ghCLI: it creates a public repo under your account, or under an organization you choose in Settings › You › GitHub (or by typing "publish to " in the chat), served at<owner>.github.io/<name>/(its description says it was made with Swarm Studio, and it only ever updates repos marked that way; in an organization, only the one it made for that build) and pushes the static site. A site with a key file in it (.env,*.pemand the like) is not published. To list your organizations and whether you may make repositories in each, it asksgh api user/orgs,user/memberships/orgs/<org>andorgs/<org>; the choice is kept ingithub.jsonin the studio's data folder. Vercel and Cloudflare Pages use an access token you connect once in the Publish menu (orVERCEL_TOKEN/CLOUDFLARE_API_TOKEN); it is checked with the provider and stored in$HERMES_HOME/swarm-studio/connections.jsonwith mode0600, and never sent back to the canvas. You can paste an Octo vault grant (octo_vault_…) instead of a token: Swarm Studio finds the provider's item in your vault, keeps only a 30-day working key for that one item (renewed automatically, the grant itself is not stored), and every call goes through Octo's relay, so the provider token never leaves the vault. Both deploy through the provider's REST API (Cloudflare's direct upload, the same calls wrangler makes), with no extra tools to install. Publishing locally serves the site from the canvas server at127.0.0.1:4319/site/<run>/. - The first promo video installs
hyperframes, and ffmpeg and ffprobe when they are not onPATH, from npm at exact versions into$HERMES_HOME/swarm-studio/video-tools/; the ffmpeg and ffprobe binaries are checked against recorded SHA-256 sums before they run. Rendering runs locally in headless Chrome. ffmpeg also writes one poster frame (a JPEG) beside each film, play-test clip and idle clip, which the boards show until the clip is played. - Pictures go through one image service: each is stored once by its content hash in
$HERMES_HOME/swarm-studio/images/, a side over 4096 px is scaled down there (your own file is never changed), and the canvas asks for the size it shows (/img/<hash>?w=256, steps from 64 to 2048 px, each made once and kept), with a ThumbHash (about 30 bytes) for a blurred preview. The first picture it resizes installs@napi-rs/image1.16.0 (MIT, a prebuilt binary for your platform) andthumbhash0.1.1 (MIT) from npm, pinned byengine/imagetools/package-lock.json, into$HERMES_HOME/swarm-studio/image-tools/withnpm ci --ignore-scripts: nothing is compiled and no install script runs. Until then, or withSWARM_IMAGE_SERVICE=0, pictures are served as they are. - The first app build installs the app engine (dyad's headless engine, vendored in
dyad/, Apache-2.0 withsrc/prounder FSL) from npm into the plugin'sdyad/node_modules(about 1.5 GB, once), and each app installs its own packages withpnpm. Apps run on a local Vite server on127.0.0.1. App deploy uploads the app's source to your Vercel account, which builds it. - Game mode reads its game-dev notes from the plugin (
gameskills/); games make their art and sound in code, so nothing is downloaded for them (Godot itself only when you ask: see Godot ports below). A game spec can also name 3D models ("models": [{ "file": "Knight.glb", "what": "the hero" }]) that you put in$HERMES_HOME/swarm-studio/models/; they are copied into the game and into its engine port. - Bring in a project (Projects › the kind menu) copies a folder from your home folder, or fetches a GitHub repository with your own
gitandghlogin (the newest commit only, into a temp folder that is removed; the whole of a repository whose files all came in also keeps that one commit as the start of the project's own history, so it can be pushed back later), into the studio'sruns/folder: files only, at most 200 MB and 20,000 files, nevernode_modules,.git, build output or.envfiles. Nothing of the project is run while it comes in. A Vite project is installed, built and started only with your yes for that project: Install and run in its App room, or "install and run it" typed in the chat ("not now" leaves it as files). Until then no change the crew is asked for runs either, since a change runs its build and its dev server. It is installed withpnpm install --ignore-scripts --ignore-pnpmfile: neither its packages' install scripts nor its own.pnpmfile.cjsrun, and the app engine's own installs for it run with the same two settings. After the yes the chat asks once whether to run its install scripts; only "run its install scripts", typed for that project, turns them on (the install again andpnpm rebuild), and "no install scripts" turns them off. A pulled version is a new run and is asked again. Its build and servers get none of your keys. Nothing is sent anywhere. - The app engine's own web tools go through Hermes too: a web search runs Hermes's
web_search, reading a page itsweb_extract, and a picture the app asks for is painted like the studio's others. Copying a site into an app also takes one picture of its page with the site walk below. The engine reaches only the studio's own loopback gateway for these, never the web or a key. In an app's chat, Hermia can do the same reading when you ask (search, read a page, look at a site to copy), showing what she found as cards with their address; only pressing Clone it starts the crew on a change. - Copy the look of a site (a link in References or the chat) opens the link in headless Chrome on your machine and walks up to three of its pages, taking shots and measuring colours and type. The link must be a public web address. Every request that browser makes (the page, its redirects, iframes, scripts, fetch and XHR, pictures, fonts, WebSockets) goes through a proxy the studio runs on
127.0.0.1for that walk only: it resolves each name itself, refuses any that resolves to a private, loopback, link-local, shared (100.64/10), multicast or reserved address, IPv4 or IPv6 (IPv4-mapped forms included), cloud metadata (169.254.169.254,fd00:ec2::254) among them, and connects only to the address it checked, so a name that changes its answer cannot reach your network. Chrome resolves no name itself and sends no WebRTC traffic outside the proxy. The crew's own exported pages are walked the same way from their folder, and nothing else on disk is opened. - Research runs only when your words ask to look something up ("look up…", "look at how X does it", "research…") or you press Research on a project; nothing is looked up for any other build. A build that looked something up stops and shows what it found before the crew uses any of it: take out what you don't want, then Build. The planner's model picks at most 3 web searches; Hermes runs them with its own
web_searchtool and reads at most 4 of the result pages with itsweb_extracttool, using the web backend and key you set inhermes tools. The whole step stops after 60 seconds. Hermes refuses pages on private or internal addresses, and the studio also checks that each address is a public one before passing it on. Asked in a talk ("look up how X does its pricing page"), it shows at most three of the pages it read as cards, each with its address, and keeps nothing until you press one. What was taken from each page is kept in the project's References with its link, where you see it and can remove it before a build uses it, and a build shows which ones it was given. - GitHub (a project's ☰ menu, its card's menu, or typed in the chat: "push to github", "pull from github", "link owner/name" or "connect this to my repo owner/name", "save this into ~/code/site", "where is this on github", and after a refusal "push to a new branch", "bring its files in first" or "replace them"; local Studio only) puts an app's or a game's source on GitHub with your own
gitandghlogin. Opening the sheet asks GitHub for the repository's newest commit (git ls-remote). Push sends the project's own git history (runs/<id>/app/, every commit) to a repository under your account (or the organization builds go to): the first push creates it withgh repo create, private unless you pick Public, or links a repository that exists, typed asowner/nameor picked from a list of yours (gh repo listfor your account and your organizations). A repository that already holds other work is never overwritten: the sheet says what it holds and offers a new branch of its own there (swarm/<name>, with GitHub's page to open a pull request from it) or bringing its files in first (as Bring in a project does: files only, no key files, links or nested repositories, within the size caps; nothing is run) and pushing on top as a merge; later pushes go to the same repository and branch. Unlink forgets where a project goes and changes nothing. A folder on this computer is the third way, only a folder inside your home folder (never your home folder itself, Hermes's home, the studio's data or the plugin's own folder): a git checkout gets the project's commits on a new branch of its own, fetched into it (its working tree and its other branches are not touched, and nothing is pushed from it); any other folder gets the files in a subfolder you name, with a.swarm-studio.jsonthere listing what it wrote, and a file there it did not write is replaced only after the sheet shows which and you say yes. Pull reads the folder back as the next version. When the project's name is taken on your account and you gave no other, it makes<name>-source. It never force-pushes, never touches a repository it did not make or you did not name, and refuses, with the file names, when a commit holds a key file (.env,*.pem,*.key,.npmrcand the like). Before it pushes it commits changes not yet committed, as "Swarm Studio". Pull asks GitHub what is new (for a subfolder, alsogh api repos/…/compare) and brings it in as the project's next version the way Bring in a project does; nothing of it is run. Which repository a project goes to is kept ingithub-source.jsonin the studio's data folder; no token is read or stored. When the model asks to push, to push to a new branch or with a repository's files brought in, or to write into a folder (theswarm_studiotool), Hermes asks you first, a separate "always" for each, and a cron job is refused. - Autoplay (the Game room's switch, games only) plays the running game in a headless Chrome on your machine and shows its screen in the room; a game is never started for it, and a play nobody watches stops within about 20 seconds. By default its moves are scripted and nothing is sent. Only when you set
JEV_KEY(an OpenRouter key kept for this) does Jev choose the moves: every decision, about one a second, sends what is on the game's screen (the scene's name, button and card labels, an open dialogue's text, the hero's health, the names, distances and health of enemies and objects, up to 300 characters of the page's text, the last six moves; for a game that publishes its own tactics onwindow.SWARM_PLAY, the whole state it publishes there) toopenrouter.ai/api/alpha/decisionswith that key. Your Hermes model keys are never used for it. - Godot ports are opened and run headless with your Godot 4 (
godotonPATH, orSWARM_GODOTset to its executable) when it is installed, and Godot's errors get a fix turn. Godot is never installed by itself. When a game plan asks for Godot and you have none, the chat asks; only if you press Install Godot 4 (or type "install godot") does the studio install it: on a Mac with Homebrew it runsbrew install --cask godot(Homebrew's current version, into/Applications), with no terminal, so a password is refused and never asked for; otherwise, and on Linux and Windows, it downloads the Godot editor 4.7.2 (MIT) from the Godot project's GitHub releases (github.com/godotengine/godot/releases, served from GitHub's release-asset host; about 171 MB on a Mac, 78 MB on Linux, 86 MB on Windows), checks the file against the SHA-512 that release publishes (recorded inengine/godotinstall.mjs) before opening it, and unpacks it into$HERMES_HOME/swarm-studio/godot/4.7.2/. It then runs it once with--version. That download writes nothing outside that folder, and neither way uses a password or an admin right. Browser is fine skips all of it. - Swarm Feed (only when you run
/swarm connect,post,remixorlogin) talks tohttps://swarm.design-bakery.com(orSWARM_FEED_URL).connectsends a random install id and "Hermes on ";postsends the build's title, brief, public link, page names, crew, a poster (a page shot or picture from the build) and caption, a desktop and a phone shot of each of its first 12 pages (taken on your computer from its export), then its export zip;remixdownloads the original's prompt and zip into$HERMES_HOME/swarm-studio/remix/(kept, never unpacked or run). The feed token is stored in$HERMES_HOME/swarm-studio/feed.jsonwith mode0600and never printed. - The asset library (game art picked instead of painted, and the last resort when a picture fails) reads assetrizz's catalog and pictures from
raw.githubusercontent.com, at one pinned commit, the first time each is used, and keeps them in$HERMES_HOME/swarm-studio/assetrizz/. Packs of your own are copied from a folder or.zipyou name into$HERMES_HOME/swarm-studio/library/; nothing of yours is sent anywhere. Every library picture a build uses keeps its credit and licence in a file beside the build's art. - Nothing else leaves the machine.
- Model calls (your brief, the plan, the sections, page screenshots for the review) go to Hermes, which answers them with the models you picked for the Swarm Studio slots in
- Vendored code. The studio's page includes XState 5.33.3 (MIT), which keeps track of where you are in the studio. It is one file,
web/vendor/xstate/xstate.mjs, built from the npm tarball byscripts/vendor.mjs; its version, source, licence and SHA-256 sit beside it. The plugin's own server puts it into the page. The pages the crew build photograph themselves for the Overview with snapDOM 3.7.0 (MIT), the package's own browser build kept as it is inweb/vendor/snapdom/snapdom.js, with the same record beside it; the plugin's own server hands it to a page only when that page is photographed. The build wall's Map window draws a game's or an app's plan with Mermaid 12.2.0 (MIT), the package's own browser build kept as it is inweb/vendor/mermaid/mermaid.min.js(the same version and npm tarball as the next Studio's copy below), with the same record beside it; the page fetches it from the plugin's own server the first time a Map is shown, and draws with Mermaid's strict security level. Nothing is downloaded or installed for any of them on your machine. The server bundles execa 9.6.1 (MIT) to start its child processes and tree-kill 1.2.2 (MIT) to stop each one with all its children: one file,engine/vendor/procs/procs.mjs, built by the same script from the pinned lockfile inscripts/vendor/procs/(their 22 dependencies are MIT, ISC and Apache-2.0; every licence is inengine/vendor/procs/LICENSE). Nothing is installed for it either. The address checks use ipaddr.js 2.5.0 (MIT, no dependencies), bundled the same way inengine/vendor/net/net.mjsfromscripts/vendor/net/. - The next Studio, prebuilt. The Studio is moving to React one screen at a time. The plugin's server serves it at
/(the classic Studio stays at/classic/, one click away in the account menu) and/next/, a page built ahead of time (when the release is made, so the installed copy carries it inui/dist/) with React 19 (MIT), React Aria (Apache-2.0), XState 5.33.3 (MIT), RBush 4.0.1 (MIT), PixiJS 8.22.0 (MIT), @pixi/react 8.0.5 (MIT), pixi-viewport 7.0.2 (MIT) and Tailwind's styles (MIT) inside it. Nothing is built, downloaded or installed for it on your machine; it talks only to the plugin's own server (for the Studio's fonts, and its API as screens move). The app build wall's Map draws the app's screens and data with Mermaid 12.2.0 (MIT): one prebuilt file beside the page,ui/dist/vendor/mermaid.min.jswith its licence, which the plugin's server serves at/next/vendor/and the page loads only when the Map first shows. After an app is built, the studio takes one photo of it (a JPEG in the run'simg/) with the browser the play test already uses; with none, there is no photo, and nothing is downloaded for it. - Files. It writes under
$HERMES_HOME/swarm-studio/: the token,server.log, the runs (each with its pages' saved pictures insnaps/), your picks (models.json,setup.json),connections.jsonif you connect a host,media-keys.jsonif you paste an ElevenLabs key,godot/if you ask the chat to install Godot, andfeed.jsonandremix/if you use the Swarm Feed. Outside it: films to~/Movies(or~/Videos) and exports to~/Documents, each in a Swarm Studio folder (orSWARM_OUTPUT_DIR); a project's source into a folder of your home folder you name (☰ › GitHub › A folder on this computer); the app engine's packages in the plugin's owndyad/folder; Hermes's config, only the two model slots and an MCP server you confirm; and your GitHub repositories when you push. - Secrets. No model provider key leaves Hermes: the server asks Hermes for each model call over a loopback bridge that needs a per-process token (see
docs/specs/33-hermes-bridge.md). The one model key the server may get is the plugin's ownSWARM_STUDIO_API_KEY, when you set it. Optional keys (ckff, Fish Audio, Meshy, Pexels, Jev for Autoplay, Supabase, a Stripe test key, Vercel, Cloudflare; the names are inplugin.yaml) are read through Hermes's secret store when the studio's server starts and passed to it in its environment, and never written to disk or logs. The Studio never receives a model provider key: Setup showshermes auth add <provider> --type api-keyfor you to run, and Hermes asks for the key itself. Tokens you paste in the Studio (Vercel, Cloudflare, an Octo working key) are kept inconnections.json, and an ElevenLabs key inmedia-keys.json, both mode0600; they never go back to the page, onto a command line or into a log. The studio reads no.envfile, and stops the app engine from reading one. - Child processes. Every program the studio starts (the app engine,
pnpm, Vite,gh, ffmpeg, Chrome, Godot) gets a minimal environment:PATH,HOME, the locale and the few variables that program needs, never the studio's own keys or Hermes's. - Generated code. Pages and apps the models write run in sandboxed frames (
allow-scripts, no same origin with the studio). A finished app's pages, as the studio serves them to its App room, carry one small script of the studio's (engine/apppick.mjs) that lets you point at a part of the app; it is not in the app's files or what you deploy. A built app's frame adds what an app needs and nothing more:allow-formsfor its forms and, only while it is on its own port (another origin than the studio's),allow-same-originfor its own sign-in and storage andallow-popupsfor links that open a new tab; neverallow-modalsor top navigation, and never scripts with the studio's own origin. The studio's own/site/and/video/livepages are served with asandbox allow-scriptsContent-Security-Policy (the hosted Feed's/site/addsallow-popupsfor its new-tab links), so even opened on their own they get no access to the studio. Model text shown in the canvas is cleaned before it reaches the page. - Asking first. When the model, rather than you, asks to publish, deploy, push a project's source to GitHub, write it into a folder on this computer or post to the Swarm Feed, Hermes's approval prompt asks you first; with nobody there to answer, it does not happen. The same holds when it asks to import a pack into the asset library, use a library picture in a build (downloaded the first time), or add a link or a file of yours to a project's References (a link is opened to read its look). Searching the library asks nothing: it reads only what is already on your machine (your own packs, and assetrizz's catalog once a game has needed a library picture), and each result names its credit and licence.
- MCP servers. Supabase and other MCP tools are called through Hermes (
ctx.call_mcp), only for servers you granted inplugins.entries.swarm-studio.mcp_allowlist. The studio never edits that list itself: it shows you thehermes config set …command to run.
Known issues
- Hermes mobile. The canvas runs on the computer's
127.0.0.1, so the phone webapp can't reach it. - Generated sites are prototypes until you open the App tab: Publish puts the static pages online as they are; the App tab makes them a working app with a backend.
- The app engine is heavy: about 1.5 GB on first use, and a build takes several minutes on a fast coding model.
- Promo videos need Node's
npmon the machine the first time (to fetch HyperFrames and ffmpeg), and Chrome for headless rendering.
License
FSL-1.1-ALv2 (Functional Source License, Apache 2.0 future license). It is source-available ("fair source"), not OSI open source.
- You can install, read, change and use Swarm Studio for anything, including your own commercial sites and apps built with it.
- You can't offer Swarm Studio itself, or something substantially like it, as a commercial product or service.
- Each version becomes Apache-2.0 two years after it is released.
Versions up to commit 9283694 were released under Apache-2.0 and stay under it.
README from the reviewed commit 09326a8; it updates when the author re-pins.

Pukujan