Alpha. Very early development.
Hexbot

Install

Hexbot has two parts: the daemon, which runs your bots, rooms, and memory, and the app you talk to them in. Install one of three options on each computer:

  • Full (Hexbot): the app and the daemon. Install this on the computer that will run your bots.
  • Client (Hexbot Client): the app alone. Install it on any other computer and connect it to a daemon over LAN pairing, Tailscale, or Hex Connect. It never installs Python or a daemon.
  • Headless: the daemon alone, as a background service, with the hexbot command. Install it on a server or any computer you reach over SSH, and use it from another computer with Client or Full. See Headless.

Full and Client install side by side and update independently. One daemon is enough for every device that shares the same bots, and a phone or tablet can use the daemon’s browser UI without installing anything.

Options and tracks are separate choices: Full, Client, and Headless describe what is installed; Stable and Nightly describe which builds you receive. Stable and Nightly share the same ~/.hexbot data, so back it up before trying a nightly.

Hexbot runs on macOS 12 or later (Apple Silicon or Intel), on x86-64 Linux with glibc 2.35 or later, such as Ubuntu 22.04 or Debian 12, and on Windows 10 or later, 64-bit only. If the daemon cannot run on your system, the installer or first launch says so.

Two ways to install

Both ways offer the same three options and download only the files for the option you choose.

Hexbot Installer

The download page offers the Hexbot Installer for your computer: a .dmg for macOS, an AppImage for Linux. Open it, choose Full, Client, or Headless, and install. On Linux, make the AppImage executable first (right-click it, or chmod +x it). There is no Hexbot Installer for Windows yet. On Windows, the download page offers the terminal installer below, which covers every option, and the Full and Client packages (.exe) are under “All downloads”.

Terminal

On macOS or Linux:

curl -fsSL https://hexbot.app/install.sh | sh

This works over SSH. The script picks the build for your computer, downloads the terminal installer, checks its SHA-256 checksum, and asks which option to install. To skip the question, name the option:

curl -fsSL https://hexbot.app/install.sh | sh -s -- --headless

On Windows, download hexbot-install-<version>-windows-x86_64.exe from the download page and run it in PowerShell:

.\hexbot-install-<version>-windows-x86_64.exe --headless

The same command installs --full or --client, and --repair fixes an existing install. The installer asks which option to install when you name none.

Flag What it does
--headless, --client, --full Install this option.
--stable, --nightly Choose the track. A new install uses Stable once it is published and Nightly until then; an installed copy keeps its track. HEXBOT_TRACK=nightly works too.
--repair Update or repair what is installed.
--uninstall Remove Hexbot. Your data in ~/.hexbot is kept.
--remove-data With --uninstall, also delete ~/.hexbot.
--yes Confirm a change or an uninstall without asking.
--json Print progress as one JSON object per line.
--license Print Hexbot’s LICENSE and NOTICE and install nothing. Older installers lack it; --help shows whether yours has it.

Without a terminal to answer questions, as in a provisioning script, pass an option, and --yes for a change or an uninstall.

Run it again

When Hexbot is already installed, either way in offers:

  • Update or repair: install the current build of the same option on the same track, and put back anything missing.
  • Change: switch to another option. Your data is kept. Going from Headless to Full keeps the daemon service, and the app uses it; going to Client stops and removes the service.
  • Uninstall: remove the app or the daemon service. ~/.hexbot is kept unless you choose to delete it.

If only daemon files are found, the installer asks you to choose an option. It does not assume Headless or enable LAN access. Services and CLI wrappers belonging to another installation are left alone.

The installer never replaces or removes an app while it runs. If Hexbot is open, it asks you to quit it and run the installer again.

One installer changes Hexbot at a time. A second one, terminal or windowed, waits for the first to finish. Uninstall also removes a copy of the app that a stopped install left behind.

Where it installs

  • macOS: Full and Client go to /Applications, or to ~/Applications when /Applications is not writable.
  • Linux: Full and Client are AppImages in ~/.local/share/hexbot, with a desktop entry, an icon, and a handler for hexbot:// pairing links. The installer never uses sudo. If you installed a deb package yourself, remove it with your package manager before you change or uninstall with the installer.
  • Windows: Full and Client install for your user only, in %LOCALAPPDATA%\Hexbot\apps, without administrator rights.
  • Headless: see What Headless sets up.

The installer records what it installed in ~/.hexbot/install.json.

Direct downloads

The Full and Client packages are still on the download page under “All downloads”, and every nightly is on GitHub. The two tracks are described under Updates.

  • Apple Silicon for Macs with an M-series chip
  • Intel for older Macs
  • AppImage for a portable Linux app
  • deb for Debian, Ubuntu, and related distributions
  • an .exe for Windows 10 or later, 64-bit

Linux ARM and Windows ARM packages are not provided.

First launch

Full asks where Hexbot should run:

  1. Run on this machine. Hexbot installs its daemon under ~/.hexbot. The full package includes the native Rust daemon, Node, the Pi agent runtime, the web UI, bundled skills, and search tools. First launch provisions Python 3.11 for code tools and voice dependencies through pinned, checksum-verified downloads. You do not need to install Rust or Node yourself, and Hexbot does not replace system copies.
  2. Connect to a daemon. Use a pairing link, enter the daemon address and one-time code, or sign in with Hex Connect to choose a registered daemon.

Client opens straight on the connect screen.

Setup then asks about you (your name, your work, and how bots should speak to you), then for a model provider and your default models. Next it suggests accounts for your bots to help with: Microsoft or Google, which you sign in to, then GitHub, X, and web search, followed by the other connectors. Connect any of them or skip; add them later in Settings, Plugins. Then it asks where bots can work: the bots’ computer (suggested, when it can run here), this computer, or both, and whether they get Computer Use, to see and use those computers’ screens. Change them later in Settings, Computers and Settings, Plugins.

Setup finishes by creating HexBot, your primary bot, and opening your chat with it. Quick start walks through each step. Model providers and optional tool services bill your own accounts.

The daemon must keep running and the computer must stay awake for remote devices and scheduled work. Closing the window keeps Full running your bots and Client receiving notifications. On macOS the window hides; on Linux it minimizes, so you can restore it from the dock or task switcher even without a tray icon. Launching the app again can also restore it, depending on your Linux desktop’s activation support. GNOME Wayland has not been verified.

To exit, choose Quit from the app menu on macOS, File > Quit on Linux, or Quit from the tray menu. Quitting stops an app-owned daemon unless “Start the daemon at login” is on in Settings, Network. Logging out or shutting down still exits the app. Closing or quitting Client does not stop the daemon on another computer. For a daemon without the app, install Headless. For a second device, turn on Allow other devices in Settings, Network and follow Pairing and LAN.

Headless

Headless runs the daemon without the app, for a server, a spare computer, or a Mac mini in a closet. You set up model keys and bots from the app on another computer once it is paired.

curl -fsSL https://hexbot.app/install.sh | sh -s -- --headless

Or open the Hexbot Installer and choose Headless. When it finishes, the installer prints the daemon’s port, its addresses, and the commands below.

What Headless sets up

  • The daemon runtime in ~/.hexbot/runtime, checked against its SHA-256 checksum.
  • Python 3.11 for code tools and the voice tools, inside ~/.hexbot, each checked against a pinned checksum, as Full does on first launch.
  • A user service that starts the daemon at login and restarts it if it stops: ~/Library/LaunchAgents/app.hexbot.daemon.plist on macOS, ~/.config/systemd/user/hexbot.service on Linux, and a logon task in Task Scheduler on Windows, which runs while you are signed in. On Linux the installer also enables lingering (loginctl enable-linger), so the daemon keeps running after you log out and starts at boot; if that fails it says so.
  • The hexbot command in ~/.local/bin. If that directory is not on your PATH, setup prints the line to add to your shell profile.

On Linux, install bubblewrap for the sandbox; see Linux. The installer reminds you when it is missing.

Connect from another computer

A first Headless install, or a change to Headless, turns on “Allow other devices” (LAN access), so the daemon listens on your network and on Tailscale. Update or repair keeps your LAN setting. Turn it off with hexbot lan off if you only use Hex Connect, and back on with hexbot lan on.

Run hexbot pair and pair the Client or Full app on your other computer, by link or by address and code. See Pairing and LAN, Tailscale, or, to reach the daemon from anywhere without opening a port, Hex Connect. After pairing, add a model key from the app; setup then creates HexBot. Without an app, run hexbot bots primary on the daemon computer.

Commands

hexbot status            # running or not, version, port, addresses, service, sandbox
hexbot pair              # a one-time pairing code, link, and QR code
hexbot connect           # register the daemon with Hex Connect
hexbot lan on            # allow other devices; hexbot lan off stops it
hexbot service status    # installed and running
hexbot service restart   # also start, stop
hexbot service logs -f   # follow the daemon log

hexbot service uninstall removes the service and hexbot service install puts it back. hexbot setup repairs the code tools and the hexbot command. The CLI page lists everything.

Update

When the app on another computer is newer than the daemon, its “Update” pill says “Update daemon”; the daemon downloads the new version, checks it, and restarts. See Updates. You can also run the installer again on the daemon computer and choose Update or repair:

curl -fsSL https://hexbot.app/install.sh | sh -s -- --repair

Uninstall

curl -fsSL https://hexbot.app/install.sh | sh -s -- --uninstall

This stops and removes the service, the daemon runtime, and the hexbot command. Bots, memory, and settings stay in ~/.hexbot; add --remove-data to delete them too.

macOS

The Hexbot Installer and the direct downloads are .dmg files. Open the installer from the .dmg; for a direct download, drag Hexbot to Applications. Public releases are signed and notarized. If macOS says it cannot check the app, open System Settings, Privacy and Security, and choose Open Anyway. If macOS reports a damaged or unidentified app, verify that you downloaded it from hexbot.app and try the current release again.

Linux

The installer installs the AppImage for you. From 0.1.6-alpha.1, and in Nightly builds from 17 November 2026, the AppImage needs no FUSE 2 library, which Ubuntu 22.04 and later, CachyOS and many other systems leave out. An older AppImage stops at “AppImages require FUSE to run”. Install the deb, install with --nightly, or install the library: libfuse2t64 on Ubuntu 24.04 and later, libfuse2 on Ubuntu 22.04, fuse2 on Arch-based systems.

To run a downloaded AppImage yourself, make it executable first:

chmod +x "./Hexbot-<version>-linux-x86_64.AppImage"
"./Hexbot-<version>-linux-x86_64.AppImage"

Install a deb package with your usual package manager:

sudo apt install "./Hexbot-<version>-linux-amd64.deb"

The deb package depends on bubblewrap; with the AppImage or Headless, install it yourself (sudo apt install bubblewrap). Hexbot uses it to keep shell commands, Python code, and scheduled scripts inside the workspace and away from your credentials. Without it, Manual and Auto ask before every shell command and code run, scheduled scripts refuse to run, and Settings, Approvals shows a notice. Restart the daemon after installing it (hexbot service restart on Headless). See Approvals.

Ubuntu 24.04 and later

Ubuntu 24.04 confines unprivileged user namespaces with AppArmor, and the bubblewrap package ships no profile, so a fresh install still has no sandbox: bwrap --ro-bind / / --unshare-pid --proc /proc -- true prints bwrap: setting up uid map: Permission denied, and Settings, Approvals keeps its notice. Give bubblewrap its own profile; it lets only bwrap create user namespaces and leaves the system-wide restriction in place:

sudo tee /etc/apparmor.d/bwrap >/dev/null <<'EOF'
abi <abi/4.0>,
include <tunables/global>

# bubblewrap builds its sandbox in an unprivileged user namespace.
profile bwrap /usr/bin/bwrap flags=(unconfined) {
  userns,
}
EOF
sudo apparmor_parser -r /etc/apparmor.d/bwrap

Run the bwrap command above again; it should print nothing and exit 0. Then restart the daemon. The profile loads again on every boot. Other distributions that restrict user namespaces need the same kind of exception; one with sysctl kernel.unprivileged_userns_clone=0 needs that setting turned on. On Headless, hexbot status shows whether the sandbox is available.

Data and updates

Hexbot stores configuration, bots, conversations, memory, and its managed runtime in ~/.hexbot. Client keeps only window state and pairing tokens there. Uninstalling keeps it unless you ask the installer to delete it. The default workspace for bot file work is ~/Hexbot, outside the daemon’s private data directory; choose another project folder in Bot settings, Tools.

Stop the daemon before copying its whole data directory for a backup or move. Back up project files separately. Client-only installs keep window state and pairing tokens locally; the connected daemon holds the bots and history.

The app checks updates.hexbot.app for updates and downloads one when you click Update, then asks before installing it. See Updates for tracks and remote daemon updates.

If setup fails

  • Check that the computer meets the requirements above and can download the managed dependencies.
  • On Linux, check the sandbox notice in Settings, Approvals after installing bubblewrap.
  • If a provider cannot connect, check its error and credentials in Settings, Providers. Tool connectors have their own setup and test actions.
  • If another device cannot connect, confirm the daemon is running, “Allow other devices” is on, and the pairing code has not expired.
  • If Hexbot says another daemon owns the home directory, stop that daemon before starting a replacement. Two daemons cannot use one data directory at once.

Development app

From a source checkout, run pnpm dev --desktop to launch Hexbot (dev) with its blue Dev icon. On macOS it has its own app identity in the Dock and app switcher, so you can distinguish it from Stable and Nightly. The source app keeps its data in the checkout’s .hexbot directory. Run from source has the prerequisites and commands.