Hive

The Hive

A small team of Claude Code agents on your own machine. You say what you want in a web app. They work on it in the background, talk to each other, and tell you when it's done or when they need you.

Not tried yet on real machines: a person signing in to Claude in the app, and updating or rolling back. The guide has the full list. The Mac install is a test build.

Install

You need a Claude account.

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 and Claude Code if they're missing.
  3. It prints an address. Open that in a browser on the same machine, sign in to Claude, and say what you want.
Coming from a v0.x Hive?

Coming from a v0.x Hive? The install finds it and asks, then removes the old program and brings your projects, notes and chats across. Logins and keys stay behind, so you sign in again. The old folder stays whole as your backup. If a run fails halfway, run the line again. HIVE_ACCEPT=1 skips the question.

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.

Or in your own account, without sudo
curl -fsSL https://hivelab.ca/install.sh | sh -s -- --this-account

It runs as you from ~/hive and needs git and Python already there.

Agents run in a sandbox inside your account. If you choose to run without it, or this machine can't run it, they have full rights to your account: all your files, ~/.ssh and your logins. No agent starts until the sandbox works or you choose. You type yes to this first. The line above also gives agents a separate user, so use that one if you can.

The Hive stops 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 says if it can't. If you sign in with the Claude account you already use, it shares that account's usage.

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.

Read this first

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

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, with everything in it: projects, notes and the board. Push anything you want to keep first.