Hive
One agent at a time is a conversation. A real goal — rewrite the auth layer, build the landing page and the admin panel, produce a set of product shots — is a dozen pieces of work, some of which can run at once and some of which can’t, and running a dozen agents by hand means being their scheduler, their reviewer and the person who merges what they did.
A Hive hands that job to an agent. You give a goal to the Queen, a Claude Code agent who plans the work in waves, starts workers to do it, answers their questions, has their work reviewed and lands it. Workers run in Claude Code’s sandbox, each on its own branch of your repository. You see all of it on one screen and are asked only what the Queen can’t decide.
Making a Hive
Right-click an empty workspace in the sidebar — one with no tabs, or just one fresh shell — and choose Make this a Hive…. A short wizard asks one question a step:
| Step | Asks |
|---|---|
| Goal | What should this Hive get done? The goal, a name, an optional project brief, files to attach, and rules for every agent |
| Folders | Where does the work happen? The primary folder and any others. A git repo gets its own copies per worker; a plain folder (footage, brand assets, documents) is shared read-only. Each repo can have a Setup command and a Land check — both can wait, and the Queen can set them as the project takes shape |
| Crew | Who does the work, and how does it land? Workers at once, the Queen’s and the workers’ models and effort, How work lands, Push after each land, and Chats on your phone |
| Tools | What can it make things with? What it can make on this Mac, the skills and MCP servers the Hive may use, and a Budget for paid generation |
| Stack | Does the work need anything running? The stack services its workers can run on their own branches |
| Review | Ready to start — everything at once, then Create Hive |
Every step but Goal starts from your defaults. Workers at once is a ceiling, not a target: 24 by default, at most 64, and the Queen starts as many as the plan needs. A folder with nothing in it is a new project: maiTerm makes it a git repo with a first commit and trusts it, and the Queen adds the setup and land check once the code has them.
What done means
Before any worker starts, the Queen writes down what done means for the goal and asks you: Are these the completion criteria for “…”?, with Confirm and Change them. It’s a question on her task, so it reaches you wherever her questions do, and maiTerm refuses to start a worker until you’ve answered it. The same criteria decide when it’s finished: maiTerm won’t let the Queen call the Hive done while anything is still running, waiting or unlanded, or until every criterion has evidence maiTerm checked itself.
One screen for the whole Hive
A Hive replaces the workspace’s terminals with its own view:
- The Queen’s chat on the left. You give her the goal here and talk to her as you would to any agent.
- The board in the middle: a card per worker, grouped in waves by what each waits on, showing its role (Frontend, UI reviewer…), model and effort, what it’s doing right now, its diff and its context.
- Worker columns on the right. Click a card and that worker’s chat opens beside the board; click another to switch to it, or Shift+click to open a second beside the first. A column can also show the worker’s raw terminal under its chat, if you need it.
Across the top: the goal on one line (More shows the rest), Board, Needs you, Gallery and Memory (Cmd+Shift+Y switches), the Hive’s status with Pause and Resume, and a bar of readouts — slots in use, budget, criteria, where work lands, autonomy and the run queue. The ⋯ menu holds New goal…, Earlier goals, Land log and Delete Hive….
How far it has come. Under the goal is the Queen’s own estimate: a bar, a percentage and a one-line note, labelled Queen’s estimate with the time she set it. She’s asked to set it once she has a plan and again as work lands or slips, weighed by what’s landed and proven against the criteria rather than by how many workers are busy. It’s her claim, not a measurement: an estimate she hasn’t updated in an hour is shown dimmed, its time in yellow, and only a finished Hive reads Complete.
What the crew is doing. Beside the status, one bar shows every worker in four groups — landed, in flight, needing a look, waiting — with retired workers and undone lands counted apart, never as landed. Anything that needs a look is named in words and colour (1 needs you, 2 failed, 1 suspect land, 3 blocked, 1 quiet), so one stuck worker among 180 still shows.
The Hive’s agents don’t raise Command completed notifications: the Queen reports for her workers.
| Shortcut | Action |
|---|---|
Cmd+1 | The Queen |
Cmd+2–Cmd+9 | A worker, by the badge on its card |
Cmd+Shift+[ / Cmd+Shift+] | The previous / next column |
Cmd+Shift+Y | The next view |
Cmd+W twice | Close the focused worker column |
Ctrl instead of Cmd on Linux. The Hive’s agents aren’t in the tab strip: they live in this view.
Is it doing anything?
While a Hive is running, its status says what is actually happening: Working while any of its agents is at work or a job of theirs is running, Waiting on you when the only thing left is something in Needs you, Stalled? when a worker has gone quiet, and Idle otherwise.
A worker has gone quiet when its turn ended more than 10 minutes ago, nothing has happened in its tab since, and nothing it could be waiting for is on its way: no job of its own running, no question of its own waiting on you. Its card says Quiet · … · no report, and the Queen is told once, so a worker waiting on something that won’t come doesn’t hold the Hive up unnoticed. A worker whose job is still running says Waiting on its run instead.
On top of that, the Queen gets a regular look at her workers: every 15 minutes by default (Autonomy… → Worker check, in minutes, 0 for never), she’s shown any worker that may be stalled — one that failed or stopped, has a prompt on its screen or a blocker on its task, or has done nothing in that time — with what to do about it. A Hive whose workers are all busy is sent nothing, so a healthy Hive spends no turn on it, and each worker’s concern is told once, then again only if it changes.
A job result that comes in while you have the Hive paused is kept on disk, not in memory, and goes to its worker when you Resume, so restarting maiTerm in between loses nothing.
Needs you
Needs you gathers everything any of the Hive’s agents is waiting on you for — questions, permissions and approvals, from the Queen or any worker — in one list, answerable in place. Below it, With the queen lists what she’s holding for now, each with Take over to answer it yourself.
A decision or approval from the Queen herself opens here, beside her chat, rather than under it, so a long question doesn’t cover the conversation that led to it; her chat shows a line that takes you to it.
The Queen answers her workers
A worker’s permission prompts, questions and blockers go to the Queen first. She answers what she can and brings you only what she can’t decide. Some things always come to you: anything you’ve set to Ask me, a permission row that would save a rule or change a mode, and anything she hasn’t answered in time (five minutes by default, set in Autonomy…).
Autonomy… in the Hive’s settings decides who answers each kind of decision, Queen or Ask me: Plan, Workers’ questions, Workers’ permission prompts, Landing, Picking finals in the gallery, Adding a dependency, changing a public interface, What workers may use, and Changing other Hive settings. Everything starts with the Queen except Changing other Hive settings, which asks you; the last two start from your defaults.
The Queen can change the Hive’s settings
The Queen can change any setting you can: workers at once, models and effort, the workers’ advisor, setup and land checks, network hosts, local database sockets, tools, output folders, push after each land, workers on your phone, the run queue, the prompt timeout, the digest and the worker check. Two checkpoints decide what she applies herself and what comes to you as a card:
- What workers may use — websites, local database sockets, tools (MCP servers, CLIs) and the hosts paid generators reach. Queen by default, so when a worker is stuck on one she grants it at once instead of the Hive waiting hours for you; you’re told each time, and her reason is kept in her decision log.
- Changing other Hive settings — everything else. Ask me by default, so each change is a card.
Raising the budget, switching Push after each land on and changing a checkpoint always come to you as a card, whoever holds either; switching push off follows Changing other Hive settings. One request can mix the two: what the checkpoints hand her applies, the rest goes on one card, and everything is checked before anything is saved, so a change applies whole or not at all. A change reaches each agent at its next launch; a worker already running keeps what it started with until it’s restarted.
When you answer something yourself, the Queen can record it as a precedent and cite it the next time the same question comes up, so you aren’t asked twice. Precedents, and every decision she made, are under Memory → Precedents and Memory → Decisions, where you can edit a precedent, make it apply to every Hive, or override a decision.
Workers
Sandboxed. Workers run in Claude Code’s own sandbox, with extra rules from maiTerm that keep their writes to their own copies, and a gate that checks their shell and git commands before they run and fails closed: if maiTerm isn’t answering, a worker can’t run a command or write a file at all. The Queen is not sandboxed: she’s an ordinary agent tab with your settings, your MCP servers and your permission prompts, but she can’t push, add a remote or merge a pull request.
Side by side. In a git repository each worker gets its own copy (a worktree) on its own branch, started from the tip of where work lands, so a dozen of them never edit the same files.
Their own app. Workers don’t install packages in their own shell; the folder’s Setup installs from the lockfile, and a reinstall, a build or a test run is a job they queue with maiTerm, which runs it in a sandbox of its own and schedules jobs so a dozen builds don’t swamp the machine. A worker can serve the app it’s building on a port booked for it, fetch its pages and take screenshots of them, so it can check what it made before reporting.
The right Node. A job runs on the Node version its folder asks for — .nvmrc, .node-version, .tool-versions, or else engines.node in package.json — using the newest installed version that fits (from Homebrew, nvm, fnm, Volta or asdf), not your shell’s default. A builder’s first setup uses the same one, so native packages are built for the Node its jobs run on.
Whole output kept. When a job ends, everything its terminal kept is saved in the Hive’s folder as runs/<job>/output.log, and a failed check names that file, so the Queen reads what failed instead of running it again.
The network. A worker reaches only the hosts the Queen has granted the Hive, plus the package registries for installs. A refused host goes to her; she grants or removes hosts herself — or asks you, if you’ve set What workers may use to Ask me — with a reason that’s kept in her decision log, and you can edit the list under Workers and access….
A local database. A worker’s sandbox closes off this Mac’s network services, so a builder whose tests need a database can’t reach the one you run. Under Workers and access…, Local databases workers may connect to takes the socket of a Postgres, MySQL or Redis server on this Mac; builders, their jobs and their land checks may then connect to it. Reviewers never get one. A worker reaches every database that server holds, yours included, so give the Hive a database of its own. Only a socket named like a database’s (.s.PGSQL.<port>, mysql.sock, redis.sock) is accepted. The Queen can add one under What workers may use, as she does hosts, and it applies from each worker’s next launch.
An advisor. Workers and reviewers consult an advisor, a stronger model they check with before substantive work. Workers’ advisor, under Workers and access…, is As in my Claude settings by default — the advisor your own Claude tabs get, which you can set in Agent Defaults — or None, or a Claude model. Each consultation costs, and a named advisor less capable than the workers’ model is refused, since Claude would skip it. The Queen can change it under Changing other Hive settings; it reaches each worker at its next launch. The Queen herself uses your Claude settings, like any tab.
Reviewed. A finished builder’s work is checked by a fresh reviewer worker, on a copy pinned at the commits it reported. Three failed reviews go to the Queen to settle.
Landing work
When a reviewed worker’s work is ready, the Queen lands it — the exact commits that were reviewed — into the folder’s Base, after the Land check you or she set for that repository passes. How work lands, chosen when you make the Hive, is one of:
- Straight into Base — the Queen merges each finished worker into its repository’s Base branch.
- Into a branch of its own — the Queen lands each finished worker into the Hive’s own branch, by herself unless you’ve set Landing to Ask me. Base stays untouched until the work is in, and then she asks you once, with a card in the Hive and on your phone, to land that branch into Base. The card says whether the branch’s last land check passed on exactly what would land. Approved, it becomes one merge commit on Base; nothing is pushed. Undoing that merge is done by hand.
While Landing is Ask me, a land that changes agent or execution configuration — CLAUDE.md, .claude/, git hooks, CI, package.json scripts, anything that would run on your machine outside any sandbox — asks you first. Hand Landing to the Queen and she decides those lands too, told to look hard at such a diff.
Landing never touches your uncommitted work. Land log lists every land, undo and post-land check, newest first, and Undo… on a land writes a revert commit and lands it like any other: history is never rewritten. Push after each land pushes when it’s on; the Queen never pushes by herself. Turning it on is always yours: even with Changing other Hive settings handed to her, she can only ask for it with a card. She can switch it off under that checkpoint.
Shared memory
Every agent in a Hive reads and writes one memory, so what one worker learned about the codebase the next one knows. Memory → Files shows it: read and edit any file, add one, delete one, and Pin a file to keep its line in the part of the index maiTerm never rewrites.
Making media
A Hive’s goal doesn’t have to be code. It can make video, images, voice, music and more, with the tools this Mac already has and the providers you set up for it, without leaving maiTerm.
What it can make
What it can make lists, for each kind of media — Video, Images, Voice, Music and Finishing first, then under More: design, sound effects, lipsync, upscaling, 3D, transcription, motion graphics and ComfyUI workflows — which tool on this Mac already covers it, or which provider maiTerm recommends for it and what that spends. Re-detect looks again.
It’s in three places: the wizard’s Tools step, above the tool picker; Tools in the Hive’s settings; and Preferences → Hive, for every Hive on this Mac. In the wizard it opens on its own when the goal names media (a video, a voiceover, a logo…) or when none of the Hive’s folders is a git repository; otherwise it stays folded to one line, so a code Hive isn’t slowed down.
Setting a provider up
Set up on a row opens a sheet with the one step that provider needs, then Verify:
| The provider | What the sheet does |
|---|---|
| A remote MCP server with a sign-in (fal, ElevenLabs, Runway and others) | Adds it to maiTerm’s MCP servers and opens the sign-in in your browser |
| One that takes a key (Replicate) | Opens its key page, and keeps the key you paste in your system’s credential store |
| MiniMax and Meshy | Takes your key and runs the provider’s server itself (below) |
| The Homebrew kit (ffmpeg, ImageMagick, SoX, whisper.cpp) | Installs it in a tab you can see — with Homebrew first if this Mac has none — and then downloads whisper.cpp’s speech model |
| An app (ComfyUI, Blender) | A download link; it’s found again when you come back to the window |
| Remotion, Google genmedia | The steps only: maiTerm can’t set these up for you, and Verify finds them once you have |
Verify checks that the Hive’s agents can really use the provider, without spending anything: that its server is on and offered to the Hive’s workspace, that its entry reaches the agents, that its tools list, and, where the provider has one, that its balance or price check answers. It never calls a tool that generates. The answer is Ready, Needs sign-in, Needs credit, Not reachable or Didn’t work, with what to do about it.
A server set up from a Hive is offered only to that Hive’s workspace, so other tabs don’t load its tools. From Preferences you choose Hive workspaces only or Every workspace. In the wizard, a tool a setup makes ready is ticked for the Hive.
MiniMax and Meshy
MiniMax (video, images, voice) and Meshy (3D) publish their MCP servers to run on your computer, so maiTerm runs them for you: it keeps the key in your keychain, gives it to the server and to nothing else, and stops the server when it has been idle for ten minutes. The key never appears in an agent’s configuration.
Each server writes into an output folder of its own, which joins the Hive’s output folders so the gallery can take what it makes. Both servers run outside every sandbox, so maiTerm checks every call before it reaches them: a path outside that folder is refused, and so are MiniMax’s option to fetch a file from any URL and its tool that plays audio on your Mac.
Changing a Hive’s tools
A Hive’s tools aren’t fixed when you create it. Tools in the Hive’s settings → Change… adds or removes them, and offers the network hosts and output folders the new ones need. Workers launched after the change get it; a worker already running keeps what it started with. The Queen is told. She can add or remove a tool already on this Mac herself, under What workers may use.
When the Queen needs something it can’t make
If a worker reports a tool missing, or her plan needs one, the Queen asks for it. You get a card headed Set up a tool for this Hive? in the Loom’s Decisions and on your phone, in maiTerm’s words: the provider it recommends, what that spends and the network hosts it adds, with her reason quoted. Approve it at the Mac and the setup sheet opens in the Hive. From the phone, a Homebrew install starts at once if Homebrew is already on the Mac; anything else — a sign-in, a key — waits for you at the Mac, and the card says so. Once the provider is ready, maiTerm adds it to the Hive’s tools and tells her.
An agent proposing a Hive can also say what media it will need, and those rows are marked in the wizard.
In a Hive with media tools, the agents’ briefs map what the Hive can make, with which tool, what each spends and how long its results last, so workers use what’s there instead of improvising a substitute.
The gallery
Images, video, audio and documents a Hive’s agents make go into the Gallery, with how each was made: Info shows who made it, the Recipe and its Lineage — what it was made from, and what was made from it.
The gallery opens on For you: what the workers made for you. Their evidence — screenshots of the app they built, test reports, notes — is under Proof, and All shows both. Move to Proof and Move to For you fix anything filed on the wrong side; what you drop in yourself is never guessed to be proof.
Filter by kind (All, Images, Video, Audio, Docs) and more, group it, and select assets to Compare side by side, Star, Pick, Mark final or Reject, tag, add to a collection, Export…, Iterate with the queen or Send to worker. Paid generation counts against the Hive’s Budget for paid generation, $10 unless you set it; raising it is always your call.
When it’s done
A finished Hive is Done, with the Queen’s Report. Give a Done or paused Hive another goal with New goal, in the same Queen tab: the sheet takes the new goal, brief and files, and Start the new goal begins the next round; work from the last goal that hasn’t landed yet stays in view over the board. Earlier goals keeps the ones before it.
The Queen keeps running after Done. Write to her in the Hive’s message box, or from your phone, and the Hive picks up again in the same session. Typing in her own terminal doesn’t wake the Hive — her terminal says so while the Hive is Done — so use the message box.
Delete Hive… lists what stops, which branches haven’t landed, and what’s kept. Clean copies are removed; anything holding work, the gallery and the shared memory included, stays on disk unless you tick Also delete the gallery or Also delete the shared memory, and no branch is ever deleted. Deleting the Hive’s whole workspace from the sidebar deletes its gallery and shared memory too, and says so before you hold the button. The workers’ Claude chats are deleted with the Hive — workers never clean up their own transcripts, and deleting is the point after which none is resumed or read back. The sheet lists them and the toast counts them; the Queen’s chats are kept.
An agent can offer you a Hive
An agent you’ve been planning a project with can propose it as a Hive with proposeHive. You get a request naming the agent — Make this Hive?, or A new goal for this Hive? when a Done or paused Hive already works in that folder — in the Loom’s Decisions and on your phone. On the desktop, Open in the sheet opens the wizard filled in from the plan, and nothing starts until you press Create Hive. On the phone, Approve creates it from exactly the plan the card shows. Either way, it’s your decision, never the agent’s.
A proposal can also say what the Hive needs: tools (MCP servers, CLIs and skills on this Mac, added to your default picks), the Queen’s model and effort, and the network hosts and local database sockets workers may use. The sheet shows those grants on Review as chips you can remove, and the phone card names every one, since Approve grants them all. They’re checked when the agent files the proposal, with the same rules Hive settings apply, so a card never promises access that creating the Hive would refuse.
On your phone
With maiLink, a Hive’s chats come to the phone like any other: each shows its role and status, and the Queen’s shows her Done report. Chats on your phone chooses The queen only (the default), The queen and its workers or Nobody.
Your defaults
Preferences → Hive holds the Defaults for new Hives the wizard starts from: Tools, Models, Workers at once, Budget for paid generation, Chats on your phone, Push after each land and Rules for every agent, plus who approves the Queen’s changes for each new Hive: Workers’ access (Queen unless you change it) and Other settings changes (Ask me unless you change it). The wizard’s Save as my defaults saves its choices back here. No agent can change these.
Requirements
- Claude Code 2.1.295 or newer. Every agent in a Hive is Claude Code.
- macOS. A Hive needs Claude Code’s sandbox, which native Windows doesn’t have, so Windows can’t make one. On Linux a Hive can be made, but the jobs workers queue — installs, builds and tests, served apps and land checks — run only on macOS in this version.
maiSoft and all its products are owned by Flexmark International Inc.
World Trade Center 200-B, Suite 250, Calle 53 Este, 0832-1626 Marbella, Ciudad de Panama, Panama, Panama