The Hive
A hive of AI agents in a shared sandbox, on your machine or a server. You control it in a web app. The agents complete long tasks in the background, talk to each other, develop shared tools, and only ask you when they need you.
Works on your Claude or Codex subscription, free-model API keys, and more.
- What it has built. More than 20 circuit boards, a charge-pump PLL for a chip, and sites and tools such as the board list at boards.ihsan.cc.
- It builds itself. It improves the Hive too, including this site and the app you use, with little steering from you.
- Risk stays inside. Agents coordinate so they don't overwrite one another.
- A simple core. It leans on the agents' judgement, so they organise among themselves and use or build shared tools as they like.


The chat, with a made-up project.

And on a phone.
Install
curl -fsSL https://hivelab.ca/install.sh | shPaste it in a terminal. Any Linux with systemd.
- It asks for your password once and makes a Linux user called
hive. Agents work as that user, not as you. - It installs git, Python, Claude Code and Codex if they're missing.
- It prints an address. Open that in a browser on the same machine, sign in to Claude or Codex, and say what you want.
irm https://hivelab.ca/install.ps1 | iexPaste it in PowerShell. Windows 10 or 11.
- If WSL 2 isn't on your PC, it installs it. Windows asks you to approve that, and then you restart and run the line again.
- It downloads Ubuntu (about 350 MB) into a separate Linux system called
Hive. Your other WSL systems aren't touched. - It switches off your Windows drives and programs for that system's users. Agents aren't root there, but a flaw that gave one root could turn them back on.
- It opens the app in your browser. Sign in to Claude or Codex and say what you want.
curl -fsSL https://hivelab.ca/install-mac.sh | HIVE_MAC_TEST=1 shPaste it in Terminal, as yourself, without sudo. macOS 13 or newer, about 15 GB free, about 30 minutes.
This is a test build that has never run on a real person's Mac, so it may not work. It has installed on Intel Macs on GitHub's test machines, without real agents. It has never started on Apple silicon (M1 and newer).
- It makes a small Linux virtual machine with Apple's own framework, and downloads about 600 MB the first time. It doesn't need Homebrew or Apple's developer tools.
- It installs the Hive inside that machine, which can't see your Mac's files.
- It opens the app in your browser. Sign in to Claude or Codex and say what you want.
Testing it for us
cd ~ && curl -fsSL https://hivelab.ca/mac-check.sh -o mac-check.sh && sh mac-check.shUse this line in place of the one above. It installs the same build, checks it, asks you to do a few things (one is putting the Mac to sleep), and writes ~/hive-mac-report.txt to send back. The report has versions, memory and results, and no address, secret, user name or file of yours.
Or let your coding agent do it
Paste this into Claude Code or Codex on the machine you're installing on. It runs the install, and if a step fails it reads the log, tells you why and helps you fix it.
Install the Hive from https://hivelab.ca on this machine for me. Pick the install line for this system from that page and run it. It prints numbered steps, and it may ask for my password or a yes: if you can't answer those, tell me to run the line in my own terminal and paste you what it prints. If a step fails, read the log whose path it prints, tell me in plain words what went wrong, fix it if it's safe (a missing package, too little disk space, the network), and run the same line again: it carries on from where it stopped. Ask me before you change anything else, and before you send a failure report with HIVE_REPORT=1.Running the hive on a server
On a server, forward the port: ssh -L PORT:127.0.0.1:PORT server, then open the address on your own machine.
On Ubuntu 24.04
On Ubuntu 24.04 it adds an AppArmor profile so that bubblewrap can make the sandbox. It applies to every user of the machine and widens the kernel's attack surface for them. Uninstalling doesn't remove it, but prints the command that does.
What it sends
By default a Hive sends failure reports and one small check-in a day: a random ID, the version and the operating system, never your chats or files. Turn it off in setup or Settings.
If the install itself fails, it asks whether to send that failure, and sends nothing unless you type y: the step, the error and the end of its log, with your name, home folder, addresses and keys taken out. Where it can't ask, it sends only with HIVE_REPORT=1, and HIVE_REPORT=0 stops it asking.
No admin rights? Install in your own account
curl -fsSL https://hivelab.ca/install.sh | sh -s -- --this-accountUse this if you can't use sudo, or want the Hive to live in your own account. It installs into ~/hive and needs git and Python already installed.
Read this first. The agents run in a protected sandbox inside your account, so they can only touch what the Hive needs. If the sandbox can't run on your machine, you can choose to go on without it, but then the agents can reach everything in your account: your files, your ~/.ssh keys and your logins. The install asks you to type yes before it does that, and no agent starts until the sandbox works or you say yes. The main install line above avoids this by giving the agents their own separate user, so use that one if you can.
What the Hive is
Agents work together in a shared sandbox, across a range of projects. They build tools that everyone in the Hive shares, and they can use other people's tools too. Before you start, know these three things:
Agents run in a sandbox
They work without asking permission for each step, inside a sandbox around the Hive's folder, on Linux. A step outside it needs an approval. Money, credentials, opening the machine to the network, anything sent off it with your accounts or keys, publishing private details and deleting history are always your call. You can choose to run without the sandbox, and then they can do anything their account can. Either way they can use the network and read the sign-in they run on, so anything they can read they can send. Use a virtual machine if that matters to you. What the sandbox doesn't do.
It spends your usage
Every agent is a Claude or Codex session, and agents can start agents. There is no limit on how many run at once until you set one in Settings. It stops starting agents at 95% of your usage, but only on a subscription: with an API key it can't see what you've spent, so set a limit in the Anthropic Console.
One Hive, one group of people
Everyone with access to a Hive has its full rights, including its Claude login. Give each person or group their own.
Use it
New here? The guide and tutorials walk you through it, starting with your first job.
Chat
Say what you want done. Type in a conversation and it reaches the agent working on it. You can attach files.
Agents
Who's working and on what. Click one to see its work, or to stop it.
Usage
How much of your Claude and Codex limits is left, and when more comes back.
Settings
Logins, how many agents can run, extras, updates, and access from outside.
The record
The Inbox, from Chat. Timeline, Map and History under Agents. This machine under Usage.
hive
If you'd rather stay in a terminal: a Claude Code session that talks to the Hive for you. hive web prints the app's address again.
Terminal commands
hive open starts the app if it's stopped and opens it. hive web prints its address. hive opens a Claude Code session that talks to the Hive.
Switching it off
The Hive keeps working even when the web app is closed or off: agents go on with their jobs. Stop the hive in Settings, or systemctl --user stop hive-starter in a terminal, stops new agents from starting. To shut everything down, also run systemctl --user kill hive-starter (ends running agents) and systemctl --user stop hive-dash (the web app). hive open or a restart brings it back.
Open it again
Click the Hive icon the install added: the Start menu and Desktop on Windows, Applications on a Mac, the app menu on Linux. You can also install the page as an app from your browser, and turn on notifications in Settings.
Updates
A Hive looks for a new release every 5 minutes and installs it. Your settings and your agents' own changes stay. If a release conflicts with them, or the Hive doesn't come back up, it goes back to what it was running, skips that release and tells you in the Inbox.
hive update updates now. You can turn updates off in Settings. They change code that runs with your agents' rights, so turn them off if you want to read each release first. Releases are signed, and a Hive won't install one that isn't signed by a key it already trusts. Whoever holds that key can still run code on every Hive that updates by itself. A Hive on 2.3.8 or older takes the first signed release on trust.
Uninstall
curl -fsSL https://hivelab.ca/uninstall.sh | shirm https://hivelab.ca/uninstall.ps1 | iexcurl -fsSL https://hivelab.ca/uninstall-mac.sh | shcurl -fsSL https://hivelab.ca/uninstall.sh | sh -s -- --this-accountIf you installed in your own account: this deletes the ~/hive folder and the Hive's services and leaves your account. It can't undo what agents did outside that folder.
The first three delete the hive user, on Windows the Hive system, or on a Mac the Hive's virtual machine, First they ask about your projects, notes and board: each one stays unless you type y, moved to a hive-kept-DATE folder in your home folder. If that copy fails, nothing is deleted.