Hive

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 Hive's chat. A person has asked for a price tracker. Two agents talk to each other and to the person, and the left side lists the other threads.

The chat, with a made-up project.

The same chat on a phone: the conversation fills the screen and a bar along the bottom switches between Chat, Knowledge, Agents and Usage.

And on a phone.

Install

You need a Claude account or a ChatGPT account (for Codex), or both.

curl -fsSL https://hivelab.ca/install.sh | sh

Paste it in a terminal. Any Linux with systemd.

  1. It asks for your password once and makes a Linux user called hive. Agents work as that user, not as you.
  2. It installs git, Python, Claude Code and Codex if they're missing.
  3. It prints an address. Open that in a browser on the same machine, sign in to Claude or Codex, and say what you want.

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-account

Use 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.

The Hive pauses while a laptop sleeps and carries on when it wakes. It also stops when you log out, unless your system lets it keep running (the install tells you if it can't). If you sign in with the Claude account you already use, the Hive shares that account's usage.

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

Asks you to type delete first.

curl -fsSL https://hivelab.ca/uninstall.sh | sh

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.