Get Started

Up and running in two commands.

HiveMind installs on your own device. You do not create a cloud account. Run the installer. Then your agents can share one hive.

1. Install

On each device you want in the Hive, run:

# install the hive-mind command $ curl -fsSL https://raw.githubusercontent.com/projectmentor/hive-mind/main/scripts/installer/install.sh | bash # set up this device (daemon, peers, device key) $ hive-mind install

Runs on macOS, on Linux, and on Windows 11 inside WSL. Multi-device sync runs over Tailscale. Android runs via Termux.

Recover a wedged install with hive-mind reset.

2. Use it

Any agent can read and write the Hive with one command:

# remember something $ hv remember "The payments API rate-limits at 100 req/s" --tags api,payments # find it later $ hv search "payments" # share with your other devices $ hv sync now

Most of the time your agents handle hv for you, so you can step back and let them run.

3. Connect your agents

HiveMind already works with Claude Code, Hermes, and the MCP server for Claude Desktop.

4. Add another device

Install HiveMind on the new device the same way. At first it can read the shared notes. It cannot add notes until you say yes. That ask shows up in your next chat on the owner device. On a phone, Tailscale is an app, so there is no command line. On a device that is already in the hive, run hive-mind invite and paste the line it prints. From the owner device, run hive-mind group admit once so the new device can write:

# on the new device: check this device's status $ hv whoami # on the owner device: promote the new device to read-write $ hive-mind group admit

You only admit a device once. Identity survives reinstalls. Uninstall with hive-mind uninstall --keep-identity and a reinstall resumes the same device, so you never have to re-admit it.

Adding a device sets up sync, which runs over the network and needs no SSH. If you also want to run commands on one machine from another, that uses Tailscale SSH and needs an accept rule in your tailnet SSH ACL. The playbook covers the setup and the common snags.

Removing HiveMind

One command takes this device back out. It stops the sync daemon, removes the hive-mind and hv commands, and strips the agent hooks:

# remove HiveMind and delete this device's data $ hive-mind uninstall # or keep your journal and keys so a reinstall resumes the same identity $ hive-mind uninstall --keep-hive

With --keep-hive your journal and keys are saved to a backup folder. Tailscale and your shell PATH are left untouched.

Want the technical details?

Architecture, how it stays in tune, and the full CLI reference live on the developer site.

Go to the developer site